specify icons

This commit is contained in:
Nathan
2026-02-19 10:39:49 -07:00
parent 7642ff5d56
commit 4d5706ddf0
3 changed files with 837 additions and 6 deletions
+6 -6
View File
@@ -86,13 +86,13 @@ class DLM_PT_main_panel(Panel):
row = box.row()
row.operator("dlm.run_character_migration", text="Run migration", icon="ARMATURE_DATA")
row = box.row(align=True)
row.operator("dlm.migrator_copy_attributes", text="Copy attributes")
row.operator("dlm.migrator_migrate_nla", text="Migrate NLA")
row.operator("dlm.migrator_custom_properties", text="Custom properties")
row.operator("dlm.migrator_copy_attributes", text="Copy attributes", icon="COPY_ID")
row.operator("dlm.migrator_migrate_nla", text="Migrate NLA", icon="NLA")
row.operator("dlm.migrator_custom_properties", text="Custom properties", icon="PROPERTIES")
row = box.row(align=True)
row.operator("dlm.migrator_bone_constraints", text="Bone constraints")
row.operator("dlm.migrator_retarget_relations", text="Retarget relations")
row.operator("dlm.migrator_basebody_shapekeys", text="Migrate BaseBody shapekeys")
row.operator("dlm.migrator_bone_constraints", text="Bone constraints", icon="CONSTRAINT_BONE")
row.operator("dlm.migrator_retarget_relations", text="Retarget relations", icon="ORIENTATION_PARENT")
row.operator("dlm.migrator_basebody_shapekeys", text="Migrate BaseBody shapekeys", icon="SHAPEKEY_DATA")
# Linked Libraries: header row (always), main box only when expanded
missing_count = sum(1 for lib in props.linked_libraries if lib.is_missing)