[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27316] trunk/blender/source/blender/ editors/transform/transform.c: [#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1
Martin Poirier
theeth at yahoo.com
Sun Mar 7 16:36:53 CET 2010
Revision: 27316
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27316
Author: theeth
Date: 2010-03-07 16:36:52 +0100 (Sun, 07 Mar 2010)
Log Message:
-----------
[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1
Needed to reassign calculated rotation into the values vector.
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform.c
Modified: trunk/blender/source/blender/editors/transform/transform.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform.c 2010-03-07 13:18:13 UTC (rev 27315)
+++ trunk/blender/source/blender/editors/transform/transform.c 2010-03-07 15:36:52 UTC (rev 27316)
@@ -3004,6 +3004,8 @@
sprintf(str, "Rot: %.2f%s %s", 180.0*final/M_PI, t->con.text, t->proptext);
}
+ t->values[0] = final;
+
vec_rot_to_mat3( mat, t->axis, final);
// TRANSFORM_FIX_ME
More information about the Bf-blender-cvs
mailing list