diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-09-14 21:33:36 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-09-14 21:55:40 +0300 |
commit | f7829787da5c64b3fa715a042c2a45ecd4314676 (patch) | |
tree | e4d1a59bb2a1840de464a4ec84dfde3ddb271882 /source/blender/editors/include/ED_transform.h | |
parent | 273bf53e8013085eb61738fae73d026e3fb67be9 (diff) |
Fix T80704: bpy.ops.transform.rotate() ignores orient_type
Remove the condition preventing orientation from being obtained out of
the 3d View context.
Also pass the `ob` and `obedit` arguments obtained from the caller.
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index d6af119dae0..0ea86e006e0 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -130,6 +130,8 @@ bool BIF_createTransformOrientation(struct bContext *C, void BIF_selectTransformOrientation(struct bContext *C, struct TransformOrientation *target); void ED_getTransformOrientationMatrix(const struct bContext *C, + struct Object *ob, + struct Object *obedit, const short around, float r_orientation_mat[3][3]); |