Revision: 41786
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41786
Author:   campbellbarton
Date:     2011-11-13 13:52:15 +0000 (Sun, 13 Nov 2011)
Log Message:
-----------
fix for buffer overrun when grease pencil drawing in the clip editor.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/gpencil/gpencil_paint.c

Modified: trunk/blender/source/blender/editors/gpencil/gpencil_paint.c
===================================================================
--- trunk/blender/source/blender/editors/gpencil/gpencil_paint.c        
2011-11-13 13:25:22 UTC (rev 41785)
+++ trunk/blender/source/blender/editors/gpencil/gpencil_paint.c        
2011-11-13 13:52:15 UTC (rev 41786)
@@ -105,9 +105,9 @@
        short flags;            /* flags that can get set during runtime */
 
        float imat[4][4];       /* inverted transformation matrix applying when 
converting coords from screen-space
-                                                  to region space */
+                                                * to region space */
 
-       float custom_color[3];  /* custom color for  */
+       float custom_color[4]; /* custom color for (?) */
 } tGPsdata;
 
 /* values for tGPsdata->status */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to