UI: Add Dynamic Topology toggle entry to Sculpt menu
authorPablo Vazquez <contact@pablovazquez.art>
Tue, 29 Jan 2019 17:58:34 +0000 (18:58 +0100)
committerPablo Vazquez <contact@pablovazquez.art>
Tue, 29 Jan 2019 17:58:34 +0000 (18:58 +0100)
Helps to find the shortcut (Ctrl+D) which wasn't exposed anywhere else than in search.

release/scripts/startup/bl_ui/space_view3d.py

index cca13d6d766c0818cc26049f5394850e91de3f6d..ccc7d5bdfd2032a1bda444a7fc901d11b5276678 100644 (file)
@@ -2336,6 +2336,10 @@ class VIEW3D_MT_sculpt(Menu):
         tool_settings = context.tool_settings
         sculpt = tool_settings.sculpt
 
+        layout.operator("sculpt.dynamic_topology_toggle", text="Toggle Dynamic Topology")
+
+        layout.separator()
+
         layout.prop(sculpt, "use_symmetry_x")
         layout.prop(sculpt, "use_symmetry_y")
         layout.prop(sculpt, "use_symmetry_z")