From 0ef416722ebce6b87158429580a55cf729ebb020 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 22 Mar 2014 17:47:18 +0200 Subject: Flood fill for dyntopo constant detail mode. Nothing spectacular here, fill tools are easy. Just take the dyntopo code and repeat until nothing more to do. The tool can be located in the dyntopo panel when the dyntopo constant detail is on. Also added scale factor for constant detail. This may change when detail sampling gets in, I am not very happy with having two numbers here, still it will give some more control for now. --- source/blender/makesdna/DNA_scene_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index d66a1f3ab0b..02b213a1b68 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -855,7 +855,9 @@ typedef struct Sculpt { /* gravity factor for sculpting */ float gravity_factor; - int pad; + + /* scale for constant detail size */ + float constant_detail_scale; struct Object *gravity_object; void *pad2; -- cgit v1.2.3