From: nds Date: Mon, 31 Aug 2015 09:35:29 +0000 (+0300) Subject: Issue #787 Segmentation fault when setting distance on the two same point X-Git-Tag: V_1.4.0_beta4~189 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=efb98074554bc1f6c5dca3fd0de838b066c8bbef;p=modules%2Fshaper.git Issue #787 Segmentation fault when setting distance on the two same point --- diff --git a/src/PartSet/PartSet_Validators.cpp b/src/PartSet/PartSet_Validators.cpp index 8c5bd25ed..613e41f3b 100755 --- a/src/PartSet/PartSet_Validators.cpp +++ b/src/PartSet/PartSet_Validators.cpp @@ -223,7 +223,7 @@ bool PartSet_DifferentObjectsValidator::isValid(const AttributePtr& theAttribute return false; } else { // the attribute reference - if (aRef->attr() == theAttribute) + if (aRef->attr() == anAttributeAttr) return false; } }