remove ICON prefix from the enum, for python this is redundant eg.
layout.prop("setting", icon='ICON_BLAH_BLAH') Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
This commit is contained in:
@@ -73,7 +73,7 @@ class NODE_MT_view(bpy.types.Menu):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("node.properties", icon='ICON_MENU_PANEL')
|
||||
layout.operator("node.properties", icon='MENU_PANEL')
|
||||
layout.separator()
|
||||
|
||||
layout.operator("view2d.zoom_in")
|
||||
|
Reference in New Issue
Block a user