Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py27
1 files changed, 18 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 7c4ba575f00..45b0033e133 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -492,16 +492,25 @@ class _draw_tool_settings_context_mode:
header=True
)
- UnifiedPaintPanel.prop_unified(
- layout,
- context,
- brush,
- "strength",
- unified_name="use_unified_strength",
- header=True
- )
+ if brush.curves_sculpt_tool not in ("ADD", "DELETE"):
+ UnifiedPaintPanel.prop_unified(
+ layout,
+ context,
+ brush,
+ "strength",
+ unified_name="use_unified_strength",
+ header=True
+ )
+
+ if brush.curves_sculpt_tool == "ADD":
+ layout.prop(brush, "use_frontface")
+ layout.prop(brush, "falloff_shape", expand=True)
+ layout.prop(brush.curves_sculpt_settings, "add_amount")
+ layout.prop(tool_settings.curves_sculpt, "curve_length")
+ layout.prop(tool_settings.curves_sculpt, "interpolate_length")
+ layout.prop(tool_settings.curves_sculpt, "interpolate_shape")
- if brush.curves_sculpt_tool == "TEST3":
+ if brush.curves_sculpt_tool == "TEST1":
layout.prop(tool_settings.curves_sculpt, "distance")