]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Adjust validator of tangent constraint attributes for arc-arc tangency
authorazv <azv@opencascade.com>
Wed, 1 Apr 2015 13:53:09 +0000 (16:53 +0300)
committerazv <azv@opencascade.com>
Wed, 1 Apr 2015 13:53:09 +0000 (16:53 +0300)
src/SketchPlugin/SketchPlugin_Validators.cpp

index fe88ebf595e516bc949a0b732905bf6c59cd8031..95da79b9513deced964b1fd618ad7cab8ef9f6d2 100644 (file)
@@ -95,7 +95,8 @@ bool SketchPlugin_TangentAttrValidator::isValid(
       if (aOtherFea->getKind() != SketchPlugin_Arc::ID())
         return false;
     } else if (aRefFea->getKind() == SketchPlugin_Arc::ID()) {
-      if (aOtherFea->getKind() != SketchPlugin_Line::ID())
+      if (aOtherFea->getKind() != SketchPlugin_Line::ID() &&
+          aOtherFea->getKind() != SketchPlugin_Arc::ID())
         return false;
     } else
       return false;