diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-30 01:59:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-30 01:59:47 +0400 |
commit | 2ea8a3b8cafb5ff7e88b08927fd8f5670ce5017e (patch) | |
tree | efb6dc93c633ac5ba55ce846ffd426104293c476 /source/blender/modifiers/intern/MOD_subsurf.c | |
parent | 870aa901120fc8db499f9bea3a9a86006ef4cc3a (diff) |
remove CDDM_copy second argument, added CDDM_copy_from_tessface instead.
this function caused too many conflicts and in most cases was zero anyway.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index 7fd2d4c31ca..5d6d6c2e82c 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -101,7 +101,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, useRenderParams, NULL, isFinalCalc, 0, (ob->flag & OB_MODE_EDIT)); if(useRenderParams || !isFinalCalc) { - DerivedMesh *cddm= CDDM_copy(result, 0); + DerivedMesh *cddm= CDDM_copy(result); result->release(result); result= cddm; } |