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:
authorCampbell Barton <campbell@blender.org>2022-05-12 07:07:15 +0300
committerCampbell Barton <campbell@blender.org>2022-05-12 07:07:15 +0300
commit3b0a08b79306a25dd0f5ec7f92942d5c2bcc017c (patch)
treec5da3c25e63cd448b4c736ff934cf5d819070b2d /release/scripts/startup/bl_ui/space_view3d.py
parent51fdf4bdfc13e5cec2b34030508b3caaa4a7fef8 (diff)
Cleanup: format
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py33
1 files changed, 16 insertions, 17 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 4ff62b2ca00..995b2afebf0 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -246,7 +246,7 @@ class _draw_tool_settings_context_mode:
unified_name="use_unified_size",
text="Radius",
slider=True,
- header=True
+ header=True,
)
# strength, use_strength_pressure
@@ -259,7 +259,7 @@ class _draw_tool_settings_context_mode:
pressure_name=pressure_name,
unified_name="use_unified_strength",
text="Strength",
- header=True
+ header=True,
)
# direction
@@ -320,7 +320,7 @@ class _draw_tool_settings_context_mode:
"weight",
unified_name="use_unified_weight",
slider=True,
- header=True
+ header=True,
)
UnifiedPaintPanel.prop_unified(
@@ -332,7 +332,7 @@ class _draw_tool_settings_context_mode:
unified_name="use_unified_size",
slider=True,
text="Radius",
- header=True
+ header=True,
)
UnifiedPaintPanel.prop_unified(
layout,
@@ -341,7 +341,7 @@ class _draw_tool_settings_context_mode:
"strength",
pressure_name="use_pressure_strength",
unified_name="use_unified_strength",
- header=True
+ header=True,
)
return True
@@ -490,16 +490,16 @@ class _draw_tool_settings_context_mode:
return False
UnifiedPaintPanel.prop_unified(
- layout,
- context,
- brush,
- "size",
- unified_name="use_unified_size",
- pressure_name="use_pressure_size",
- text="Radius",
- slider=True,
- header=True
- )
+ layout,
+ context,
+ brush,
+ "size",
+ unified_name="use_unified_size",
+ pressure_name="use_pressure_size",
+ text="Radius",
+ slider=True,
+ header=True,
+ )
if brush.curves_sculpt_tool not in {'ADD', 'DELETE'}:
UnifiedPaintPanel.prop_unified(
@@ -509,7 +509,7 @@ class _draw_tool_settings_context_mode:
"strength",
unified_name="use_unified_strength",
pressure_name="use_pressure_strength",
- header=True
+ header=True,
)
if brush.curves_sculpt_tool == 'COMB':
@@ -522,7 +522,6 @@ class _draw_tool_settings_context_mode:
layout.popover("VIEW3D_PT_curves_sculpt_add_shape", text="Curve Shape")
layout.prop(brush, "use_frontface", text="Front Faces Only")
-
if brush.curves_sculpt_tool == 'GROW_SHRINK':
layout.prop(brush, "direction", expand=True, text="")
layout.prop(brush, "falloff_shape", expand=True)