[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13397] trunk/blender/source/blender/src/ transform.c: === Mirror Tool ===
Martin Poirier
theeth at yahoo.com
Fri Jan 25 05:38:08 CET 2008
Revision: 13397
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13397
Author: theeth
Date: 2008-01-25 05:38:08 +0100 (Fri, 25 Jan 2008)
Log Message:
-----------
=== Mirror Tool ===
Fix call order mix up.
That's what I get for doing "cleanup" before a commit.
Tested as working ok with this.
Modified Paths:
--------------
trunk/blender/source/blender/src/transform.c
Modified: trunk/blender/source/blender/src/transform.c
===================================================================
--- trunk/blender/source/blender/src/transform.c 2008-01-25 04:17:38 UTC (rev 13396)
+++ trunk/blender/source/blender/src/transform.c 2008-01-25 04:38:08 UTC (rev 13397)
@@ -4055,7 +4055,6 @@
}
t->transform = Mirror;
- t->fac = 0.1f;
}
int Mirror(TransInfo *t, short mval[2])
@@ -4073,16 +4072,16 @@
/* if an axis has been selected */
if (t->con.mode & CON_APPLY) {
+ size[0] = size[1] = size[2] = -1;
+
+ SizeToMat3(size, mat);
+
if (t->con.applySize) {
t->con.applySize(t, NULL, mat);
}
sprintf(str, "Mirror%s", t->con.text);
- size[0] = size[1] = size[2] = -1;
-
- SizeToMat3(size, mat);
-
for(i = 0, td=t->data; i < t->total; i++, td++) {
if (td->flag & TD_NOACTION)
break;
More information about the Bf-blender-cvs
mailing list