From: azv Date: Wed, 1 Apr 2015 13:53:09 +0000 (+0300) Subject: Adjust validator of tangent constraint attributes for arc-arc tangency X-Git-Tag: V_1.1.0~66^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=da22c8897bd069ac6e7b6f6d35d10c41b1f7c038;p=modules%2Fshaper.git Adjust validator of tangent constraint attributes for arc-arc tangency --- diff --git a/src/SketchPlugin/SketchPlugin_Validators.cpp b/src/SketchPlugin/SketchPlugin_Validators.cpp index fe88ebf59..95da79b95 100644 --- a/src/SketchPlugin/SketchPlugin_Validators.cpp +++ b/src/SketchPlugin/SketchPlugin_Validators.cpp @@ -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;