Alembic import: port DerivedMesh → Mesh
[blender.git] / source / blender / alembic / intern / abc_object.h
index d41088bdcad87239f24a05dfa603b4a6d4dabfd8..809efd63d242a99f92aae172ccdb45d6ead69ae4 100644 (file)
@@ -124,7 +124,7 @@ static bool has_animations(Schema &schema, ImportSettings *settings)
 
 /* ************************************************************************** */
 
-struct DerivedMesh;
+struct Mesh;
 
 using Alembic::AbcCoreAbstract::chrono_t;
 
@@ -180,10 +180,10 @@ public:
 
        virtual void readObjectData(Main *bmain, const Alembic::Abc::ISampleSelector &sample_sel) = 0;
 
-       virtual DerivedMesh *read_derivedmesh(DerivedMesh *dm,
-                                             const Alembic::Abc::ISampleSelector &sample_sel,
-                                             int read_flag,
-                                             const char **err_str);
+       virtual struct Mesh *read_mesh(struct Mesh *mesh,
+                                      const Alembic::Abc::ISampleSelector &sample_sel,
+                                      int read_flag,
+                                      const char **err_str);
 
        /** Reads the object matrix and sets up an object transform if animated. */
        void setupObjectTransform(const float time);