diff --git a/src/ShapeProcessAPI/ShapeProcessAPI_ApplySequence.cxx b/src/ShapeProcessAPI/ShapeProcessAPI_ApplySequence.cxx index 4a726bba16..b992c80aa7 100644 --- a/src/ShapeProcessAPI/ShapeProcessAPI_ApplySequence.cxx +++ b/src/ShapeProcessAPI/ShapeProcessAPI_ApplySequence.cxx @@ -64,6 +64,8 @@ TopoDS_Shape ShapeProcessAPI_ApplySequence::PrepareShape(const TopoDS_Shape& sha const Standard_Boolean /*fillmap*/, const TopAbs_ShapeEnum /*until*/) { + if (shape.IsNull()) + return shape; Handle(Resource_Manager) rsc = myContext->ResourceManager(); myContext->Init(shape);