diff options
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_decimate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index fff94e0d836..c7adedeae25 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -89,8 +89,10 @@ static DecimateModifierData *getOriginalModifierData( } static void updateFaceCount( - const ModifierEvalContext *ctx, const DecimateModifierData *dmd, int face_count) + const ModifierEvalContext *ctx, DecimateModifierData *dmd, int face_count) { + dmd->face_count = face_count; + if (DEG_is_active(ctx->depsgraph)) { /* update for display only */ DecimateModifierData *dmd_orig = getOriginalModifierData(dmd, ctx); |