diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-17 04:24:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-17 04:24:26 +0300 |
commit | 608cabe2a1c0e81aaf33fa193bfb638e766498df (patch) | |
tree | f237cd73499ff47ff7d21e313ab2c744757bb5a5 /source/blender | |
parent | 41e22cccee2ceacabd40143e7e865fb0af252e9d (diff) |
Manipulator: Ignore zoom-level for on-screen widgets
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bisect.c | 3 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c index a041348b670..9bb847c2be1 100644 --- a/source/blender/editors/mesh/editmesh_bisect.c +++ b/source/blender/editors/mesh/editmesh_bisect.c @@ -657,7 +657,8 @@ static void MESH_WGT_bisect(struct wmManipulatorGroupType *wgt) wgt->name = "Mesh Bisect"; wgt->idname = "MESH_WGT_bisect"; - wgt->flag = WM_MANIPULATORGROUPTYPE_3D; + wgt->flag = (WM_MANIPULATORGROUPTYPE_3D | + WM_MANIPULATORGROUPTYPE_SCALE_3D); wgt->mmap_params.spaceid = SPACE_VIEW3D; wgt->mmap_params.regionid = RGN_TYPE_WINDOW; diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index 2f4a15284fc..e3c99fb4883 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -1131,7 +1131,8 @@ static void MESH_WGT_spin(struct wmManipulatorGroupType *wgt) wgt->name = "Mesh Spin"; wgt->idname = "MESH_WGT_spin"; - wgt->flag = WM_MANIPULATORGROUPTYPE_3D; + wgt->flag = (WM_MANIPULATORGROUPTYPE_3D | + WM_MANIPULATORGROUPTYPE_SCALE_3D); wgt->mmap_params.spaceid = SPACE_VIEW3D; wgt->mmap_params.regionid = RGN_TYPE_WINDOW; |