0000672: Loading Example Drawing extraction crashes at Baseclass.cpp line 115
This commit is contained in:
@@ -100,6 +100,9 @@ int TopoShapeShellPy::PyInit(PyObject* args, PyObject* /*kwd*/)
|
||||
shape = sewShell.ApplySewing(shell);
|
||||
}
|
||||
|
||||
if (shape.IsNull())
|
||||
Standard_Failure::Raise("Shape is null");
|
||||
|
||||
if (shape.ShapeType() != TopAbs_SHELL)
|
||||
Standard_Failure::Raise("Shape is not a shell");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user