Commit: 608cabe2a1c0e81aaf33fa193bfb638e766498df
Author: Campbell Barton
Date:   Sat Jun 17 11:24:26 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB608cabe2a1c0e81aaf33fa193bfb638e766498df

Manipulator: Ignore zoom-level for on-screen widgets

===================================================================

M       source/blender/editors/mesh/editmesh_bisect.c
M       source/blender/editors/mesh/editmesh_extrude.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to