DerivedMesh deprecation: marked no-longer-in-use function
authorSybren A. Stüvel <sybren@stuvel.eu>
Tue, 5 Jun 2018 16:18:45 +0000 (18:18 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 6 Jun 2018 08:11:31 +0000 (10:11 +0200)
Functions that are no longer in use can be marked as such, so that later
we can easily remove them.

source/blender/blenkernel/intern/DerivedMesh.c

index b0d03fcf8da6472192ec09a7a0d92e3534b7bc35..ab5b4100ab65b952331aa0a7cb157bb31565b806 100644 (file)
@@ -1158,6 +1158,8 @@ DerivedMesh *mesh_create_derived(Mesh *me, float (*vertCos)[3])
        return dm;
 }
 
+/* XXX2.8(Sybren): can be removed once DerivedMesh port is done */
+#ifdef WITH_DERIVEDMESH_DEPRECATED_FUNCS
 DerivedMesh *mesh_create_derived_for_modifier(
         struct Depsgraph *depsgraph, Scene *scene, Object *ob,
         ModifierData *md, int build_shapekey_layers)
@@ -1208,6 +1210,7 @@ DerivedMesh *mesh_create_derived_for_modifier(
 
        return dm;
 }
+#endif
 
 static float (*get_editbmesh_orco_verts(BMEditMesh *em))[3]
 {