[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36270] trunk/blender/source/blender/ editors/transform/transform.c: Bugfix [#27095] B-Bone doesn?\194? \180t resize correctly with numeric input
Joshua Leung
aligorith at gmail.com
Thu Apr 21 14:48:08 CEST 2011
Revision: 36270
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36270
Author: aligorith
Date: 2011-04-21 12:48:07 +0000 (Thu, 21 Apr 2011)
Log Message:
-----------
Bugfix [#27095] B-Bone doesn?\194?\180t resize correctly with numeric input
B-Bone resizing was acting more like translation than resizing when using numeric input. Added the flag to set all xyz values to same value when using numeric input
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 2011-04-21 12:38:38 UTC (rev 36269)
+++ trunk/blender/source/blender/editors/transform/transform.c 2011-04-21 12:48:07 UTC (rev 36270)
@@ -4101,6 +4101,7 @@
t->idx_max = 2;
t->num.idx_max = 2;
t->num.flag |= NUM_NULL_ONE;
+ t->num.flag |= NUM_AFFECT_ALL;
t->snap[0] = 0.0f;
t->snap[1] = 0.1f;
t->snap[2] = t->snap[1] * 0.1f;
@@ -5452,7 +5453,7 @@
/* snap key to nearest frame? */
if (autosnap == SACTSNAP_FRAME) {
const Scene *scene= t->scene;
- const short doTime= 0; //XXX doesn't work - getAnimEdit_DrawTime(t);
+ const short doTime= 0; //getAnimEdit_DrawTime(t); // NOTE: this works, but may be confusing behaviour given the option's label, hence disabled
const double secf= FPS;
double val;
More information about the Bf-blender-cvs
mailing list