[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32975] trunk/blender/source/blender/ editors/transform/transform_constraints.c: bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z

Campbell Barton ideasman42 at gmail.com
Wed Nov 10 08:10:24 CET 2010


Revision: 32975
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32975
Author:   campbellbarton
Date:     2010-11-10 08:10:23 +0100 (Wed, 10 Nov 2010)

Log Message:
-----------
bugfix [#23710] 'repeat last' button doesnt' work with extrude along axes other than Z

Modified Paths:
--------------
    trunk/blender/source/blender/editors/transform/transform_constraints.c

Modified: trunk/blender/source/blender/editors/transform/transform_constraints.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_constraints.c	2010-11-10 05:46:17 UTC (rev 32974)
+++ trunk/blender/source/blender/editors/transform/transform_constraints.c	2010-11-10 07:10:23 UTC (rev 32975)
@@ -160,8 +160,9 @@
 	/* autovalues is operator param, use that directly but not if snapping is forced */
 	if (t->flag & T_AUTOVALUES && (t->tsnap.status & SNAP_FORCED) == 0)
 	{
-		VECCOPY(vec, t->auto_values);
+		mul_v3_m3v3(vec, t->con.imtx, t->auto_values);
 		constraintAutoValues(t, vec);
+		/* inverse transformation at the end */
 	}
 
 	if (t->con.mode & CON_AXIS0) {





More information about the Bf-blender-cvs mailing list