[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17122] branches/etch-a-ton/source/blender /src/editarmature_sketch.c: Adding undo push and redraw for convert calls.

Martin Poirier theeth at yahoo.com
Mon Oct 20 02:04:40 CEST 2008


Revision: 17122
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17122
Author:   theeth
Date:     2008-10-20 02:04:40 +0200 (Mon, 20 Oct 2008)

Log Message:
-----------
Adding undo push and redraw for convert calls.

Modified Paths:
--------------
    branches/etch-a-ton/source/blender/src/editarmature_sketch.c

Modified: branches/etch-a-ton/source/blender/src/editarmature_sketch.c
===================================================================
--- branches/etch-a-ton/source/blender/src/editarmature_sketch.c	2008-10-19 23:52:28 UTC (rev 17121)
+++ branches/etch-a-ton/source/blender/src/editarmature_sketch.c	2008-10-20 00:04:40 UTC (rev 17122)
@@ -1735,6 +1735,8 @@
 	else if (nb_segments > 2 && nb_self_intersections == 1)
 	{
 		sk_convert(sketch);
+		BIF_undo_push("Convert Sketch");
+		allqueue(REDRAWBUTSEDIT, 0);
 	}
 	
 	sk_freeStroke(segments);
@@ -2112,6 +2114,7 @@
 		if (GLOBAL_sketch != NULL)
 		{
 			sk_convert(GLOBAL_sketch);
+			BIF_undo_push("Convert Sketch");
 			allqueue(REDRAWVIEW3D, 0);
 			allqueue(REDRAWBUTSEDIT, 0);
 		}





More information about the Bf-blender-cvs mailing list