diff --git a/source/blender/alembic/intern/abc_curves.cc b/source/blender/alembic/intern/abc_curves.cc index f54abd6563e..f73fe957fea 100644 --- a/source/blender/alembic/intern/abc_curves.cc +++ b/source/blender/alembic/intern/abc_curves.cc @@ -220,7 +220,7 @@ bool AbcCurveReader::accepts_object_type(const Alembic::AbcCoreAbstract::ObjectH return false; } - if (ob->type != OB_EMPTY) { + if (ob->type != OB_CURVE) { *err_str = "Object type mismatch, Alembic object path points to Curves."; return false; } diff --git a/source/blender/alembic/intern/abc_points.cc b/source/blender/alembic/intern/abc_points.cc index 3a2ca8a1b47..80567cd6bf0 100644 --- a/source/blender/alembic/intern/abc_points.cc +++ b/source/blender/alembic/intern/abc_points.cc @@ -160,7 +160,7 @@ bool AbcPointsReader::accepts_object_type(const Alembic::AbcCoreAbstract::Object return false; } - if (ob->type != OB_EMPTY) { + if (ob->type != OB_MESH) { *err_str = "Object type mismatch, Alembic object path points to Points."; return false; }