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

@@ -59,7 +59,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
if wide_ui:
if target and owner:
row.label(icon='ICON_ARROW_LEFTRIGHT')
row.label(icon='ARROW_LEFTRIGHT')
else:
row = layout.row()
if owner: