From 675700d94892832b264f8b37d3d907c527a83cf5 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 29 Jul 2020 17:39:08 +0200 Subject: Sculpt: Cloth Brush/Filter Collisions This implements collisions in the solver of the cloth brush/filter. It uses the scene colliders as a regular physics simulation. There are still some parameters (friction, distance to the surface...) that can be exposed as properties in later patches. Thanks to Sebastian Parborg for helping me with the implementation. Reviewed By: sergey, zeddb Differential Revision: https://developer.blender.org/D8019 --- source/blender/makesdna/DNA_brush_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_brush_types.h') diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 5cd7443900f..72f205685b9 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -740,6 +740,7 @@ typedef enum eBrushFlags2 { BRUSH_USE_CONNECTED_ONLY = (1 << 3), BRUSH_CLOTH_PIN_SIMULATION_BOUNDARY = (1 << 4), BRUSH_POSE_USE_LOCK_ROTATION = (1 << 5), + BRUSH_CLOTH_USE_COLLISIONS = (1 << 6), } eBrushFlags2; typedef enum { -- cgit v1.2.3