Alembic import: port DerivedMesh → Mesh
[blender.git] / source / blender / alembic / intern / abc_object.cc
index 85bda9aa8eb15fe155ae14e2924c55c9ca7c23d4..0f02300eae395a426403ba876320881edd52f180 100644 (file)
@@ -248,12 +248,12 @@ Imath::M44d get_matrix(const IXformSchema &schema, const float time)
        return s0.getMatrix();
 }
 
-DerivedMesh *AbcObjectReader::read_derivedmesh(DerivedMesh *dm,
-                                               const Alembic::Abc::ISampleSelector &UNUSED(sample_sel),
-                                               int UNUSED(read_flag),
-                                               const char **UNUSED(err_str))
+struct Mesh *AbcObjectReader::read_mesh(struct Mesh *existing_mesh,
+                                        const Alembic::Abc::ISampleSelector &UNUSED(sample_sel),
+                                        int UNUSED(read_flag),
+                                        const char **UNUSED(err_str))
 {
-       return dm;
+       return existing_mesh;
 }
 
 void AbcObjectReader::setupObjectTransform(const float time)