[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60466] trunk/blender/source/blender/ editors/transform/transform_manipulator.c: addition to r60465, check for individual centers when positioning the manipulator
Campbell Barton
ideasman42 at gmail.com
Tue Oct 1 07:39:41 CEST 2013
Revision: 60466
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60466
Author: campbellbarton
Date: 2013-10-01 05:39:41 +0000 (Tue, 01 Oct 2013)
Log Message:
-----------
addition to r60465, check for individual centers when positioning the manipulator
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60465
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_manipulator.c
Modified: trunk/blender/source/blender/editors/transform/transform_manipulator.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_manipulator.c 2013-10-01 05:17:57 UTC (rev 60465)
+++ trunk/blender/source/blender/editors/transform/transform_manipulator.c 2013-10-01 05:39:41 UTC (rev 60466)
@@ -429,11 +429,11 @@
}
else {
if (bezt->f1) {
- calc_tw_center(scene, bezt->vec[0]);
+ calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 0]);
totsel++;
}
if (bezt->f3) {
- calc_tw_center(scene, bezt->vec[2]);
+ calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 2]);
totsel++;
}
}
More information about the Bf-blender-cvs
mailing list