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:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-22 19:47:18 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-22 19:47:18 +0400
commit0ef416722ebce6b87158429580a55cf729ebb020 (patch)
tree0d8fc1fd22e499aa6c67decd5850db39c46e481e /source/blender/makesdna/DNA_scene_types.h
parent1206faeb99ab6c09baeb39ce0ed89539621ccebe (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
1 files changed, 3 insertions, 1 deletions
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;