Alembic import: fix scene min/max time computation to take objects with
[blender.git] / source / blender / alembic / intern / abc_curves.cc
index 4e1e4e7e490e4e762b49666fb59d4018830cc7c2..2b54741a5c5c5dd8a07e29c366f88cd80d3b6b7f 100644 (file)
@@ -190,7 +190,7 @@ AbcCurveReader::AbcCurveReader(const Alembic::Abc::IObject &object, ImportSettin
        ICurves abc_curves(object, kWrapExisting);
        m_curves_schema = abc_curves.getSchema();
 
-       get_min_max_time(m_curves_schema, m_min_time, m_max_time);
+       get_min_max_time(m_iobject, m_curves_schema, m_min_time, m_max_time);
 }
 
 bool AbcCurveReader::valid() const