You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
properties_material/__init__.pyi's MaterialButtonsPanel.poll is missing @classmethod and using self as a first argument instead of cls.
So inheriting from it leads to issues:
frombl_ui.properties_materialimportMaterialButtonsPanelimportbpyclassPT_style(MaterialButtonsPanel, bpy.types.Panel):
# Method "poll" overrides class "MaterialButtonsPanel" in an incompatible manner# Base method is declared as an instance method but override is not@classmethoddefpoll(cls, context):
# Argument missing for parameter "context"returnsuper().poll(context)
The text was updated successfully, but these errors were encountered:
properties_material/__init__.pyi
's MaterialButtonsPanel.poll is missing@classmethod
and usingself
as a first argument instead ofcls
.So inheriting from it leads to issues:
The text was updated successfully, but these errors were encountered: