diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-10 13:23:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-10 13:23:53 +0300 |
commit | b5740b0e779e76d599f819cf106009aea663d0bf (patch) | |
tree | 0ea9c2cb18b586449ff4d14adf925fd0b68394f9 /release/scripts/ui/space_logic.py | |
parent | 9c5019a9a9acd33c4757a0a1d4f0944c92e57ffd (diff) |
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.
Diffstat (limited to 'release/scripts/ui/space_logic.py')
-rw-r--r-- | release/scripts/ui/space_logic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/space_logic.py b/release/scripts/ui/space_logic.py index e547da6bb8f..f2fdbd3a15a 100644 --- a/release/scripts/ui/space_logic.py +++ b/release/scripts/ui/space_logic.py @@ -43,7 +43,7 @@ class LOGIC_PT_properties(bpy.types.Panel): row.prop(prop, "name", text="") row.prop(prop, "type", text="") row.prop(prop, "value", text="", toggle=True) # we dont care about the type. rna will display correctly - row.prop(prop, "debug", text="", toggle=True, icon='ICON_INFO') - row.operator("object.game_property_remove", text="", icon='ICON_X').index = i + row.prop(prop, "debug", text="", toggle=True, icon='INFO') + row.operator("object.game_property_remove", text="", icon='X').index = i bpy.types.register(LOGIC_PT_properties) |