add missing cast
authorCampbell Barton <ideasman42@gmail.com>
Wed, 1 Jun 2011 23:46:48 +0000 (23:46 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 1 Jun 2011 23:46:48 +0000 (23:46 +0000)
source/blender/blenkernel/intern/cdderivedmesh.c

index 20f1353556cd767eeef5e955f8ee657d81e24f6c..9316867071b188374fbeb00d2fa28d0c127d5055 100644 (file)
@@ -2192,7 +2192,7 @@ DerivedMesh *CDDM_copy(DerivedMesh *source, int faces_from_tessfaces)
        cddm->mloop = CustomData_get_layer(&dm->loopData, CD_MLOOP);
        cddm->mpoly = CustomData_get_layer(&dm->polyData, CD_MPOLY);
        
-       cdDM_recalcTesselation(cddm);
+       cdDM_recalcTesselation((DerivedMesh *)cddm);
        
        return dm;
 }