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:
authorPablo Dobarro <pablodp606>2020-10-01 19:50:52 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-10-01 20:11:45 +0300
commit8ef353fa5061f6c393ef3bc96e3e11ae74d8435f (patch)
tree0581615e528b7482cb859260a58ef87745a6328e /source/blender/makesrna/intern/rna_brush.c
parentcd81c38688b6d58b6e59f31a5f35f99899251104 (diff)
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
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 7586bdf2d3f..82db67e0612 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -2099,6 +2099,11 @@ static void rna_def_brush(BlenderRNA *brna)
"Local",
"Simulates only a specific area around the brush limited by a fixed radius"},
{BRUSH_CLOTH_SIMULATION_AREA_GLOBAL, "GLOBAL", 0, "Global", "Simulates the entire mesh"},
+ {BRUSH_CLOTH_SIMULATION_AREA_DYNAMIC,
+ "DYNAMIC",
+ 0,
+ "Dynamic",
+ "The active simulation area moves with the brush"},
{0, NULL, 0, NULL, NULL},
};