Fix a bug in CustomData_duplicate_referenced_layer(_named) functions: MEM_dupallocN...
[blender.git] / source / blender / modifiers / intern / MOD_solidify.c
index 347af0066c6fdfdcda1fc90ebc0aea16a084325f..067d66fc82c1abb96a9c49c030b80d87f6e89eac 100644 (file)
@@ -75,8 +75,8 @@ static void dm_calc_normal(DerivedMesh *dm, float (*temp_nors)[3])
        /* we don't want to overwrite any referenced layers */
 
        /*
-       Dosnt work here!
-       mv = CustomData_duplicate_referenced_layer(&dm->vertData, CD_MVERT);
+       Doesn't work here!
+       mv = CustomData_duplicate_referenced_layer(&dm->vertData, CD_MVERT, numVerts);
        cddm->mvert = mv;
        */