From b6f0ad5d9744d963d005a9d723033dd29616a056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Wed, 15 Oct 2014 13:52:43 +0200 Subject: Disable color editing for bone group color sets unless custom colors is selected. The bone group colors are not actually used _unless_ when the set is "custom colors". But they were still editable, which is very confusing. --- source/blender/makesrna/intern/rna_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_internal.h') diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h index 83b7a81c649..051e7277425 100644 --- a/source/blender/makesrna/intern/rna_internal.h +++ b/source/blender/makesrna/intern/rna_internal.h @@ -207,6 +207,7 @@ void rna_def_render_layer_common(struct StructRNA *srna, int scene); void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb); void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value); +int rna_ActionGroup_is_custom_colorset_get(struct PointerRNA *ptr); void rna_ID_name_get(struct PointerRNA *ptr, char *value); int rna_ID_name_length(struct PointerRNA *ptr); -- cgit v1.2.3