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:
Campbell Barton
2009-12-10 10:23:53 +00:00
parent 9c5019a9a9
commit b5740b0e77
33 changed files with 201 additions and 200 deletions

View File

@@ -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")