Alembic import: fix scene min/max time computation to take objects with
[blender.git] / source / blender / alembic / intern / abc_camera.cc
index 38a6d3d33cfdd9e5bc70f6377af6e1a79eb9f031..5c34ec1391f42b9e7341a26f2ac790a2e658462d 100644 (file)
@@ -109,7 +109,7 @@ AbcCameraReader::AbcCameraReader(const Alembic::Abc::IObject &object, ImportSett
        ICamera abc_cam(m_iobject, kWrapExisting);
        m_schema = abc_cam.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 AbcCameraReader::valid() const