[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61177] trunk/blender/source/blender/ makesdna/DNA_userdef_types.h: Fix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to be a 4 float RGBA color , but has only 3 floats.

Lukas Toenne lukas.toenne at googlemail.com
Wed Nov 6 22:08:17 CET 2013


Revision: 61177
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61177
Author:   lukastoenne
Date:     2013-11-06 21:08:16 +0000 (Wed, 06 Nov 2013)
Log Message:
-----------
Fix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to be a 4 float RGBA color, but has only 3 floats. This was overwriting tweak_threshold in UserDef and breaking transform
operators ...

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61159

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_userdef_types.h

Modified: trunk/blender/source/blender/makesdna/DNA_userdef_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_userdef_types.h	2013-11-06 20:59:04 UTC (rev 61176)
+++ trunk/blender/source/blender/makesdna/DNA_userdef_types.h	2013-11-06 21:08:16 UTC (rev 61177)
@@ -474,7 +474,7 @@
 	struct ColorBand coba_weight;	/* from texture.h */
 
 	float sculpt_paint_overlay_col[3];
-	float gpencil_new_layer_col[3]; /* default color for newly created Grease Pencil layers */
+	float gpencil_new_layer_col[4]; /* default color for newly created Grease Pencil layers */
 
 	short tweak_threshold;
 	short pad3;




More information about the Bf-blender-cvs mailing list