Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-04-21 16:48:07 +0400
committerJoshua Leung <aligorith@gmail.com>2011-04-21 16:48:07 +0400
commit2e9982f420cab3b2ecf4648c0a91403f757ef9fe (patch)
tree2834c1e44a3fcc27a1235884652dedd217dbe974
parentc7536d558b397e1b3d5f514f1e241b8344894900 (diff)
Bugfix [#27095] B-Bone doesn´t 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
-rw-r--r--source/blender/editors/transform/transform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 13564ffce26..d0c93116cb2 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -4101,6 +4101,7 @@ void initBoneSize(TransInfo *t)
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 @@ static void doAnimEdit_SnapFrame(TransInfo *t, TransData *td, TransData2D *td2d,
/* 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;