[Bf-blender-cvs] [59955efb078] soc-2019-outliner: Fix: Use correct icon for armature deform constraint
Nathan Craddock
noreply at git.blender.org
Sat Jun 8 16:30:49 CEST 2019
Commit: 59955efb0784ce8b400557b6963ef5af9868d056
Author: Nathan Craddock
Date: Fri Jun 7 22:26:33 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rB59955efb0784ce8b400557b6963ef5af9868d056
Fix: Use correct icon for armature deform constraint
Use constraint icon rather than modifier icon for consistency
===================================================================
M source/blender/makesrna/intern/rna_constraint.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index cf2a9878a37..0c89639c72a 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -1009,7 +1009,7 @@ static void rna_def_constraint_armature_deform(BlenderRNA *brna)
RNA_def_struct_ui_text(
srna, "Armature Constraint", "Applies transformations done by the Armature modifier");
RNA_def_struct_sdna_from(srna, "bArmatureConstraint", "data");
- RNA_def_struct_ui_icon(srna, ICON_MOD_ARMATURE);
+ RNA_def_struct_ui_icon(srna, ICON_CON_ARMATURE);
prop = RNA_def_property(srna, "targets", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "targets", NULL);
More information about the Bf-blender-cvs
mailing list