From efb98074554bc1f6c5dca3fd0de838b066c8bbef Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 31 Aug 2015 12:35:29 +0300 Subject: [PATCH] Issue #787 Segmentation fault when setting distance on the two same point --- src/PartSet/PartSet_Validators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2