diff --git a/src/Mod/Part/Gui/SoBrepPointSet.cpp b/src/Mod/Part/Gui/SoBrepPointSet.cpp index 921f6aa86..102b1e1bb 100644 --- a/src/Mod/Part/Gui/SoBrepPointSet.cpp +++ b/src/Mod/Part/Gui/SoBrepPointSet.cpp @@ -112,6 +112,8 @@ void SoBrepPointSet::renderShape(const SoGLCoordinateElement * const coords, int numindices) { const SbVec3f * coords3d = coords->getArrayPtr3(); + if(coords3d == nullptr) + return; int previ; const int32_t *end = cindices + numindices;