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-06 22:04:57 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-06 22:15:44 +0400
commit03afa6f9e7546d26766f0ac7bdb23da56a708306 (patch)
treec34f9f249c00c73caa76b18f80c6cc70a5416ce7 /source/blender/makesdna
parent2a167dafc2bf1582d6f56e0feab9f57ef9d48d5e (diff)
Experimental dyntopo feature:
Dyntopo detail in object space. This allows to set the detail in percentage of blender units and sculpt in this detail constantly, regardless of the distance to the mesh. This commit just enables the functionality, which is really trivial. There will be some more commits like detail flood fill and detail sampling in the future.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 8c4026e8b67..d66a1f3ab0b 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1626,7 +1626,10 @@ typedef enum SculptFlags {
/* If set, dynamic-topology brushes will subdivide short edges */
SCULPT_DYNTOPO_SUBDIVIDE = (1 << 12),
/* If set, dynamic-topology brushes will collapse short edges */
- SCULPT_DYNTOPO_COLLAPSE = (1 << 11)
+ SCULPT_DYNTOPO_COLLAPSE = (1 << 11),
+
+ /* If set, dynamic-topology detail size will be constant in object space */
+ SCULPT_DYNTOPO_DETAIL_CONSTANT = (1 << 13)
} SculptFlags;
#if (DNA_DEPRECATED_GCC_POISON == 1)