[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17767] branches/etch-a-ton/source/blender /src/editarmature_sketch.c: When not using quick mode, automatically select the last drawn stroke.

Martin Poirier theeth at yahoo.com
Tue Dec 9 22:25:34 CET 2008


Revision: 17767
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17767
Author:   theeth
Date:     2008-12-09 22:25:30 +0100 (Tue, 09 Dec 2008)

Log Message:
-----------
When not using quick mode, automatically select the last drawn stroke.

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-12-09 20:46:25 UTC (rev 17766)
+++ branches/etch-a-ton/source/blender/src/editarmature_sketch.c	2008-12-09 21:25:30 UTC (rev 17767)
@@ -2562,6 +2562,11 @@
 				sk_removeStroke(sketch, stk);
 				allqueue(REDRAWBUTSEDIT, 0);
 			}
+			else
+			{
+				sk_selectAllSketch(sketch, -1);
+				stk->selected = 1;
+			}
 			
 			allqueue(REDRAWVIEW3D, 0);
 		}





More information about the Bf-blender-cvs mailing list