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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-05 12:00:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-05 12:04:12 +0300
commit5d628c519b4e9eff640b9a315b9d162e6ea9ba14 (patch)
tree8400feec14a38fab39c5dc5152816779d0764a48 /source/blender/editors/transform/transform.h
parent0941b8b672a89ac20df49840f8b7dfa9806ee396 (diff)
Transform: improve pose trans/rot/scale guessing
Switching the mode was being done per object, where it should first check all pose bones from all objects. This also removes code that changes the transform mode from within the counting function. This was only needed on transform initialization.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r--source/blender/editors/transform/transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index b9f42a0d9fc..419f400df53 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -722,7 +722,7 @@ int special_transform_moving(TransInfo *t);
void transform_autoik_update(TransInfo *t, short mode);
bool transdata_check_local_islands(TransInfo *t, short around);
-int count_set_pose_transflags(int *out_mode, short around, struct Object *ob);
+int count_set_pose_transflags(struct Object *ob, const int mode, const short around, bool has_translate_rotate[2]);
/* auto-keying stuff used by special_aftertrans_update */
void autokeyframe_ob_cb_func(