diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-05-03 17:57:34 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-05-03 17:57:34 +0300 |
commit | 73a76608c8bc20e9eb84a21227324e7502567de1 (patch) | |
tree | a1b3f45a7ca10e54f3a2aaea9d9e1675495d4514 /release/scripts | |
parent | 888a697e247f60a7eac33385c91c490c5b05bee0 (diff) | |
parent | 29e55043312d29bdf6736396e5ee1d0a13b91812 (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 08f4ed9dd6c..d86e65d9f0d 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -938,7 +938,8 @@ class VIEW3D_MT_transform_base: layout.operator("transform.bend", text="Bend") layout.operator("transform.push_pull", text="Push/Pull") - if context.mode != 'OBJECT': + if context.mode in {'EDIT_MESH', 'EDIT_ARMATURE', 'EDIT_SURFACE', 'EDIT_CURVE', + 'EDIT_LATTICE', 'EDIT_METABALL'}: layout.operator("transform.vertex_warp", text="Warp") layout.operator_context = 'EXEC_REGION_WIN' layout.operator("transform.vertex_random", text="Randomize").offset = 0.1 |