[Bf-blender-cvs] [e8021f5e3bd] master: UI: expose mesh conversion in apply menu

Campbell Barton noreply at git.blender.org
Sun Mar 12 21:29:38 CET 2017


Commit: e8021f5e3bd41d2447c35d999aef1a7588bc039a
Author: Campbell Barton
Date:   Mon Mar 13 07:28:37 2017 +1100
Branches: master
https://developer.blender.org/rBe8021f5e3bd41d2447c35d999aef1a7588bc039a

UI: expose mesh conversion in apply menu

The mesh convert operator can 'freeze' a mesh
(WYSIWYG, modifiers, shape keys etc).
However its not very obvious that the way to perform this
operation is to convert a mesh to a mesh.

Expose this as 'Visual Geometry to Mesh' in the 'Apply' menu,
since this is where users might expect to see it.

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

M	release/scripts/startup/bl_ui/space_view3d.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b6479df3047..a4238c53308 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1533,6 +1533,7 @@ class VIEW3D_MT_object_apply(Menu):
         layout.separator()
 
         layout.operator("object.visual_transform_apply", text="Visual Transform", text_ctxt=i18n_contexts.default)
+        layout.operator("object.convert", text="Visual Geometry to Mesh", text_ctxt=i18n_contexts.default).target = 'MESH'
         layout.operator("object.duplicates_make_real")




More information about the Bf-blender-cvs mailing list