[Bf-blender-cvs] [2648d920d8a] master: Theme: Node Group color only needs RGB, not RGBA
Dalai Felinto
noreply at git.blender.org
Fri Dec 17 16:47:46 CET 2021
Commit: 2648d920d8ac5c590a6fc28ee1cbb5bc48a9bc07
Author: Dalai Felinto
Date: Fri Dec 17 16:44:23 2021 +0100
Branches: master
https://developer.blender.org/rB2648d920d8ac5c590a6fc28ee1cbb5bc48a9bc07
Theme: Node Group color only needs RGB, not RGBA
The node group alpha theme was used for the overlay drawing in the node
editor. Since this was removed (919e513fa8f) the alpha channel doesn't
need to be exposed anymore.
Reported as part of T93654.
===================================================================
M source/blender/makesrna/intern/rna_userdef.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index dd1252ffebf..929cf94615b 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -2889,7 +2889,7 @@ static void rna_def_userdef_theme_space_node(BlenderRNA *brna)
prop = RNA_def_property(srna, "group_node", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "syntaxc");
- RNA_def_property_array(prop, 4);
+ RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Group Node", "");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
More information about the Bf-blender-cvs
mailing list