From: Artem Zhidkov Date: Wed, 20 May 2020 12:49:22 +0000 (+0300) Subject: Issue #3242: Access violation on collinearity X-Git-Tag: V9_5_0rc1~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=23827c2faf37353b8fb34afafd7271f6fedc7fc0;p=modules%2Fshaper.git Issue #3242: Access violation on collinearity Fix shape type validator. --- diff --git a/src/GeomValidators/GeomValidators_ShapeType.cpp b/src/GeomValidators/GeomValidators_ShapeType.cpp index 1db9dd752..4b81b7eec 100644 --- a/src/GeomValidators/GeomValidators_ShapeType.cpp +++ b/src/GeomValidators/GeomValidators_ShapeType.cpp @@ -179,6 +179,8 @@ bool GeomValidators_ShapeType::isValidAttribute(const AttributePtr& theAttribute } } } + else + aValid = false; } else if (anAttributeType == ModelAPI_AttributeReference::typeId()) { AttributeReferencePtr anAttr =