[Bf-blender-cvs] [3f07909df6e] temp-vse-preview-transform: Fix pivot point not working in 3D editor
Richard Antalik
noreply at git.blender.org
Fri Sep 10 11:40:18 CEST 2021
Commit: 3f07909df6ed7a7d983a51d3c9762cfc02973f5f
Author: Richard Antalik
Date: Tue Sep 7 00:54:45 2021 +0200
Branches: temp-vse-preview-transform
https://developer.blender.org/rB3f07909df6ed7a7d983a51d3c9762cfc02973f5f
Fix pivot point not working in 3D editor
===================================================================
M source/blender/editors/transform/transform_generics.c
===================================================================
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index 066aa81a0cb..f5b8b1c60a7 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -260,6 +260,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
if (t->scene->toolsettings->transform_flag & SCE_XFORM_AXIS_ALIGN) {
t->flag |= T_V3D_ALIGN;
}
+ t->around = t->scene->toolsettings->transform_pivot_point;
/* bend always uses the cursor */
if (t->mode == TFM_BEND) {
More information about the Bf-blender-cvs
mailing list