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:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-06-23 01:06:04 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-06-23 01:06:24 +0300
commit51bf04383aa0300b60bca71c5ce388e338751932 (patch)
treed90a6fa87833aef2f3f8af8147520a7fdc035e98 /source/blender/editors/transform/transform_convert.c
parent2fdca5bd1981cddad16715598b4892a2c6099e2f (diff)
Fix T78045: CTL-ALT-S does nothing in pose mode and crashes when called from the menu
Diffstat (limited to 'source/blender/editors/transform/transform_convert.c')
-rw-r--r--source/blender/editors/transform/transform_convert.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c
index 064057990e0..e1e3c3d81b5 100644
--- a/source/blender/editors/transform/transform_convert.c
+++ b/source/blender/editors/transform/transform_convert.c
@@ -1294,19 +1294,6 @@ void createTransData(bContext *C, TransInfo *t)
}
}
- /* exception... hackish, we want bonesize to use bone orientation matrix (ton) */
- if (t->mode == TFM_BONESIZE) {
- t->flag &= ~(T_EDIT | T_POINTS);
- t->flag |= T_POSE;
- t->obedit_type = -1;
- t->data_type = TC_NONE;
-
- FOREACH_TRANS_DATA_CONTAINER (t, tc) {
- tc->poseobj = tc->obedit;
- tc->obedit = NULL;
- }
- }
-
BLI_assert((!(t->flag & T_EDIT)) == (!(t->obedit_type != -1)));
}