Alembic import: fix scene min/max time computation to take objects with
[blender.git] / source / blender / alembic / intern / abc_points.cc
index fa5b71ac09483937e13f770b31dedb6548a0bcc8..758d4827b8aad4a6fc0f5cd751d13f42e37d5250 100644 (file)
@@ -141,7 +141,7 @@ AbcPointsReader::AbcPointsReader(const Alembic::Abc::IObject &object, ImportSett
 {
        IPoints ipoints(m_iobject, kWrapExisting);
        m_schema = ipoints.getSchema();
-       get_min_max_time(m_schema, m_min_time, m_max_time);
+       get_min_max_time(m_iobject, m_schema, m_min_time, m_max_time);
 }
 
 bool AbcPointsReader::valid() const