From 455ca1b28f140482f2834c9bba0adc730aff6637 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 Jun 2015 19:49:59 +1000 Subject: BMesh decimate, improve behavior with weights Add slider to adjust the influence of weights relative to geometry distortion. This allows subtle influences to be applied - without drastic changes in behavior. --- source/blender/makesdna/DNA_modifier_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_modifier_types.h') diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index f3c61f0ab6c..1fc66b9b016 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -431,10 +431,11 @@ typedef struct DecimateModifierData { float angle; /* (mode == MOD_DECIM_MODE_DISSOLVE) */ char defgrp_name[64]; /* MAX_VGROUP_NAME */ + float defgrp_factor; short flag, mode; /* runtime only */ - int face_count, pad2; + int face_count; } DecimateModifierData; enum { -- cgit v1.2.3