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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user