From: azv Date: Mon, 21 May 2018 08:46:05 +0000 (+0300) Subject: Issue #2481: Application error when create fillet X-Git-Tag: V8_5_0rc2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9394c2ba649b293ed3223f0bfd24ceb69156d8a4;p=modules%2Fshaper.git Issue #2481: Application error when create fillet Avoid crash when showing deleted constraint --- diff --git a/src/PartSet/PartSet_ExternalPointsMgr.cpp b/src/PartSet/PartSet_ExternalPointsMgr.cpp index e6969c809..52e0a9d3f 100644 --- a/src/PartSet/PartSet_ExternalPointsMgr.cpp +++ b/src/PartSet/PartSet_ExternalPointsMgr.cpp @@ -101,7 +101,8 @@ QList> PartSet_ExternalPointsMgr::findCirc ResultPtr aResObj = std::dynamic_pointer_cast(aObj); // Do not use Fields and groups in selection in sketcher - if ((aResObj->groupName() == ModelAPI_ResultField::group()) || + if (!aResObj.get() || + (aResObj->groupName() == ModelAPI_ResultField::group()) || (aResObj->groupName() == ModelAPI_ResultGroup::group())) continue;