Alembic import: fix scene min/max time computation to take objects with
[blender.git] / source / blender / alembic / intern / abc_transform.cc
index 3326ae0ed848cc3a898c2cdcc8bee357577e2820..7f8984f9970d303178685d2e4a22c257e1187927 100644 (file)
@@ -137,7 +137,7 @@ AbcEmptyReader::AbcEmptyReader(const Alembic::Abc::IObject &object, ImportSettin
        Alembic::AbcGeom::IXform xform(object, Alembic::AbcGeom::kWrapExisting);
        m_schema = xform.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 AbcEmptyReader::valid() const