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.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.c')
-rw-r--r--source/blender/editors/transform/transform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index b02b1814c67..00f1d78881f 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -1819,6 +1819,8 @@ bool initTransform(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
int options = 0;
PropertyRNA *prop;
+ mode = transform_mode_really_used(C, mode);
+
t->context = C;
/* added initialize, for external calls to set stuff in TransInfo, like undo string */