Cleanup: unused function
authorCampbell Barton <ideasman42@gmail.com>
Wed, 5 Dec 2018 20:44:25 +0000 (07:44 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 5 Dec 2018 20:44:25 +0000 (07:44 +1100)
source/blender/blenkernel/intern/DerivedMesh.c

index aa1966b00537e6a1b7a2b0a38311e906d507b257..9880904daf7ad1de2f000be41ea176addfe25383 100644 (file)
@@ -1618,6 +1618,8 @@ static void mesh_calc_modifiers(
        BLI_linklist_free((LinkNode *)datamasks, NULL);
 }
 
+
+#ifdef USE_DERIVEDMESH
 static void mesh_calc_modifiers_dm(
         struct Depsgraph *depsgraph, Scene *scene, Object *ob, float (*inputVertexCos)[3],
         int useDeform,
@@ -1641,6 +1643,7 @@ static void mesh_calc_modifiers_dm(
        *r_finaldm = CDDM_from_mesh_ex(final_mesh, CD_DUPLICATE, CD_MASK_MESH);
        BKE_id_free(NULL, final_mesh);
 }
+#endif
 
 float (*editbmesh_get_vertex_cos(BMEditMesh *em, int *r_numVerts))[3]
 {