From 8ef353fa5061f6c393ef3bc96e3e11ae74d8435f Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Thu, 1 Oct 2020 18:50:52 +0200 Subject: Sculpt: Cloth Simulation Dynamic area mode This simulation area mode moves the active area with the brush. When enabled, the cloth brush has no restrictions on stroke length, area or mesh vertex count. In order to work, this enables PBVH nodes dynamically for simulation as the stroke location moves and builds the constraints for new nodes during the stroke. When a node is not inside the simulated area, all the constraints that were created for it and vertex collisions are not computed. The simulation limits falloff areas and constraints tweaking control how the simulated and no simulated nodes blend. Reviewed By: sergey, zeddb Differential Revision: https://developer.blender.org/D8726 --- release/scripts/startup/bl_ui/properties_paint_common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 135ba802655..c601dec87a9 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -660,9 +660,11 @@ def brush_settings(layout, context, brush, popover=False): elif sculpt_tool == 'CLOTH': layout.separator() layout.prop(brush, "cloth_simulation_area_type") - if brush.cloth_simulation_area_type == 'LOCAL': + if brush.cloth_simulation_area_type != 'GLOBAL': layout.prop(brush, "cloth_sim_limit") layout.prop(brush, "cloth_sim_falloff") + + if brush.cloth_simulation_area_type == 'LOCAL': layout.prop(brush, "use_cloth_pin_simulation_boundary") layout.separator() -- cgit v1.2.3