[Bf-blender-cvs] [cae25ff] master: Fix T45647: Incorrect results w/ color spill node

Campbell Barton noreply at git.blender.org
Wed Aug 5 13:31:19 CEST 2015


Commit: cae25ff2404cf197b3bf0ca2271880d18dfa4660
Author: Campbell Barton
Date:   Wed Aug 5 21:02:29 2015 +1000
Branches: master
https://developer.blender.org/rBcae25ff2404cf197b3bf0ca2271880d18dfa4660

Fix T45647: Incorrect results w/ color spill node

===================================================================

M	source/blender/makesrna/intern/rna_nodetree.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 105829e..eca9cb4 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -4957,9 +4957,9 @@ static void def_cmp_color_spill(StructRNA *srna)
 	};
 
 	static EnumPropertyItem limit_channel_items[] = {
-		{1, "R", 0, "R", "Limit by Red"},
-		{2, "G", 0, "G", "Limit by Green"},
-		{3, "B", 0, "B", "Limit by Blue"},
+		{0, "R", 0, "R", "Limit by Red"},
+		{1, "G", 0, "G", "Limit by Green"},
+		{2, "B", 0, "B", "Limit by Blue"},
 		{0, NULL, 0, NULL, NULL}
 	};




More information about the Bf-blender-cvs mailing list