Alembic import: fix scene min/max time computation to take objects with
[blender.git] / source / blender / alembic / intern / abc_nurbs.cc
index a3c18ad6301d1f55d1ebe6c3b47ec0f7b0702ec4..4f57dfdae9ed0db25b6adee9fd2c10c9e693d96a 100644 (file)
@@ -201,7 +201,7 @@ AbcNurbsReader::AbcNurbsReader(const IObject &object, ImportSettings &settings)
     : AbcObjectReader(object, settings)
 {
        getNurbsPatches(m_iobject);
-       get_min_max_time(m_schemas[0].first, m_min_time, m_max_time);
+       get_min_max_time(m_iobject, m_schemas[0].first, m_min_time, m_max_time);
 }
 
 bool AbcNurbsReader::valid() const