Salome HOME
Issue #2811: Update content of Object node on creation moment
[modules/shaper.git] / src / GeomValidators / GeomValidators_NotSelfIntersected.cpp
index 7ab81f26c0cfa6f5526a731d4f683a48390e505f..aa017935d63ced7532dd32c0521f85cc9e0dde35 100644 (file)
@@ -74,10 +74,10 @@ bool GeomValidators_NotSelfIntersected::isValid(const std::shared_ptr<ModelAPI_F
           return false;
         }
 
-        if (aShape->isSelfIntersected(4)) {
+        /* optimization if (aShape->isSelfIntersected(4)) {
           theError = "Error: One of selected shapes are self-intersected.";
           return false;
-        }
+        }*/
       }
     } else {
       theError = std::string("Error: validator does not support attribute with type: ")