fix crash on datum point preselect
It is unclear why the coordinates are NULL. This fix prevents the crash but does not fix the reason why this unnormality occurs.
This commit is contained in:
parent
7deb6393cc
commit
de0768af80
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user