[Bf-blender-cvs] [ea3f5af9621] master: UI: Add Dynamic Topology toggle entry to Sculpt menu

Pablo Vazquez noreply at git.blender.org
Tue Jan 29 18:58:44 CET 2019


Commit: ea3f5af962140588f7c464464220b45b638ef46b
Author: Pablo Vazquez
Date:   Tue Jan 29 18:58:34 2019 +0100
Branches: master
https://developer.blender.org/rBea3f5af962140588f7c464464220b45b638ef46b

UI: Add Dynamic Topology toggle entry to Sculpt menu

Helps to find the shortcut (Ctrl+D) which wasn't exposed anywhere else than in search.

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

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 cca13d6d766..ccc7d5bdfd2 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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")



More information about the Bf-blender-cvs mailing list