diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-02 08:09:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-02 08:09:29 +0400 |
commit | ec30e3f00ecd3e366e13c233e34793f0ba3179aa (patch) | |
tree | 813d854e995bf313029194e72b16f66b5f40e9b6 /source/blender/modifiers/intern/MOD_decimate.c | |
parent | e648ca8862a2cee3723450b67f556e222b8b0d6b (diff) |
corrections to modifiers from recent normal handling changes
- solidify didn't define a dependsOnNormals callback (which it should have)
- build wasn't passing on dirty normals.
- decimate wasnt setting dirty normals.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_decimate.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_decimate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index 2d3d5c97af7..b8dccd9ffbe 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -197,6 +197,8 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, TIMEIT_END(decim); #endif + result->dirty = DM_DIRTY_NORMALS; + return result; } |