From f977da407b9229099da73ae71d51d0f3355132b1 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 3 Jul 2012 01:15:03 +0000 Subject: 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. --- source/blender/blenkernel/BKE_action.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_action.h') diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 527d85c7cf3..7df491c0fef 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -113,7 +113,7 @@ struct bActionGroup *get_active_actiongroup(struct bAction *act); void set_active_action_group(struct bAction *act, struct bActionGroup *agrp, short select); /* Sync colors used for action/bone group with theme settings */ -void action_group_colors_sync(struct bActionGroup *grp); +void action_group_colors_sync(struct bActionGroup *grp, const struct bActionGroup *ref_grp); /* Add a new action group with the given name to the action */ struct bActionGroup *action_groups_add_new(struct bAction *act, const char name[]); -- cgit v1.2.3