[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57074] trunk/blender/source/blender/ editors/gpencil/gpencil_paint.c: Fix #35473: Using Redo panel in View3D after Grease Pencil action moves GP layer to that area
Sergey Sharybin
sergey.vfx at gmail.com
Tue May 28 13:44:36 CEST 2013
Revision: 57074
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57074
Author: nazgul
Date: 2013-05-28 11:44:35 +0000 (Tue, 28 May 2013)
Log Message:
-----------
Fix #35473: Using Redo panel in View3D after Grease Pencil action moves GP layer to that area
Remove REGISTER flag from GP draw operator, so redo wouldn't screw up regions.
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 2013-05-28 09:45:34 UTC (rev 57073)
+++ trunk/blender/source/blender/editors/gpencil/gpencil_paint.c 2013-05-28 11:44:35 UTC (rev 57074)
@@ -2051,7 +2051,7 @@
ot->poll = gpencil_draw_poll;
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING;
+ ot->flag = OPTYPE_UNDO | OPTYPE_BLOCKING;
/* settings for drawing */
ot->prop = RNA_def_enum(ot->srna, "mode", prop_gpencil_drawmodes, 0, "Mode", "Way to interpret mouse movements");
More information about the Bf-blender-cvs
mailing list