Manipulator: Ignore zoom-level for on-screen widgets

This commit is contained in:
2017-06-17 11:24:26 +10:00
parent 41e22cccee
commit 608cabe2a1
2 changed files with 4 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;