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:
authorCampbell Barton <ideasman42@gmail.com>2012-10-23 09:20:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-23 09:20:02 +0400
commitbbe0deb8afb0094b169a9abb04df7458cd49786b (patch)
treefc32d80adbdef16059de1a3dac27fa5494d93efe /source/blender/makesdna/DNA_modifier_types.h
parent0636886715b4c5ac56ed7f903bf37a00cfbdc841 (diff)
add limited dissolve as a decimation type to the decimate modifier.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index f53287beb9d..6853eefd2ec 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -362,7 +362,9 @@ typedef struct DecimateModifierData {
ModifierData modifier;
float percent; /* (mode == MOD_DECIM_MODE_COLLAPSE) */
- int iter; /* (mode == MOD_DECIM_MODE_UNSUBDIV) */
+ short iter; /* (mode == MOD_DECIM_MODE_UNSUBDIV) */
+ short pad;
+ float angle; /* (mode == MOD_DECIM_MODE_DISSOLVE) */
char defgrp_name[64]; /* MAX_VGROUP_NAME */
short flag, mode;
@@ -377,7 +379,8 @@ enum {
enum {
MOD_DECIM_MODE_COLLAPSE,
- MOD_DECIM_MODE_UNSUBDIV
+ MOD_DECIM_MODE_UNSUBDIV,
+ MOD_DECIM_MODE_DISSOLVE /* called planar in the UI */
};
/* Smooth modifier flags */