Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2012-07-03 05:15:03 +0400
committerJoshua Leung <aligorith@gmail.com>2012-07-03 05:15:03 +0400
commitf977da407b9229099da73ae71d51d0f3355132b1 (patch)
tree0fa2a6e6732d6d094e2fa76887333fed87026e28 /source/blender/makesrna/intern/rna_pose.c
parent4aa43a0bfdc9c5172ae7cceb68f81627fac4558e (diff)
Bugfix [#31976] Bone Group Custom color set is not respected when creating an
Action Custom color set colors were not getting copied over when creating new action groups. Instead, a "default set" was initialised for use instead.
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose.c')
-rw-r--r--source/blender/makesrna/intern/rna_pose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c
index bb8a29f8fe4..35c85f0f40e 100644
--- a/source/blender/makesrna/intern/rna_pose.c
+++ b/source/blender/makesrna/intern/rna_pose.c
@@ -142,9 +142,9 @@ void rna_ActionGroup_colorset_set(PointerRNA *ptr, int value)
/* ensure only valid values get set */
if ((value >= -1) && (value < 21)) {
grp->customCol = value;
-
+
/* sync colors stored with theme colors based on the index specified */
- action_group_colors_sync(grp);
+ action_group_colors_sync(grp, NULL);
}
}