Commit: 70932b1935c26f6f8a7a484ac7267be22cc0f801
Author: Dilith Jayakody
Date:   Sat Jan 29 17:09:35 2022 +0530
Branches: soc-2021-curves
https://developer.blender.org/rB70932b1935c26f6f8a7a484ac7267be22cc0f801

Added several settings to toolbar

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

A       release/scripts/addons
M       release/scripts/startup/bl_ui/space_toolsystem_toolbar.py

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

diff --git a/release/scripts/addons b/release/scripts/addons
new file mode 160000
index 00000000000..9207696bbfa
--- /dev/null
+++ b/release/scripts/addons
@@ -0,0 +1 @@
+Subproject commit 9207696bbfac648c299f29f031ab5f18d8fa0077
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py 
b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index be14020232b..124cdb43a15 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1222,6 +1222,11 @@ class _defs_edit_curve:
 
     @ToolDef.from_fn
     def pen():
+        def draw_settings(_context, layout, tool):
+            props = tool.operator_properties("curve.pen")
+            layout.prop(props, "sel_dist_mul")
+            layout.prop(props, "extrude_handle")
+            layout.prop(props, "extrude_center")
         return dict(
             idname="builtin.pen",
             label="Curve Pen",
@@ -1229,6 +1234,7 @@ class _defs_edit_curve:
             icon="ops.curve.draw",
             widget=None,
             keymap=(),
+            draw_settings=draw_settings,
         )
 
     @ToolDef.from_fn

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to