From: azv Date: Fri, 10 Jun 2016 04:52:47 +0000 (+0300) Subject: Fix blinking of the tangency arc X-Git-Tag: V_2.4.0~119 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=80429c27dc32991ddac430f18d7a1bbe947061d1;p=modules%2Fshaper.git Fix blinking of the tangency arc --- diff --git a/src/SketchPlugin/SketchPlugin_Arc.cpp b/src/SketchPlugin/SketchPlugin_Arc.cpp index 90cb7e541..f0aaaef9f 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.cpp +++ b/src/SketchPlugin/SketchPlugin_Arc.cpp @@ -717,7 +717,8 @@ void SketchPlugin_Arc::tangencyArcConstraints() (*aTIt)->attribute(SketchPlugin_Constraint::ENTITY_B())); ObjectPtr anOtherObject = aRefAttrA->object() == aThisArc ? aRefAttrB->object() : aRefAttrA->object(); - if (anOtherPoint->owner() == anOtherObject) { + FeaturePtr anOtherFeature = ModelAPI_Feature::feature(anOtherObject); + if (anOtherPoint->owner() == anOtherFeature) { isFound = true; aPrevCoincidence = *aCIt; aPrevTangency = *aTIt;