]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #787 Segmentation fault when setting distance on the two same point
authornds <nds@opencascade.com>
Mon, 31 Aug 2015 09:35:29 +0000 (12:35 +0300)
committernds <nds@opencascade.com>
Mon, 31 Aug 2015 09:35:58 +0000 (12:35 +0300)
src/PartSet/PartSet_Validators.cpp

index 8c5bd25ed41fb12eb6624a0f0f88d937431ea46a..613e41f3bf855d887194767f89e6ed4ed20e363f 100755 (executable)
@@ -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;
           }
         }