From 80429c27dc32991ddac430f18d7a1bbe947061d1 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 10 Jun 2016 07:52:47 +0300 Subject: [PATCH] Fix blinking of the tangency arc --- src/SketchPlugin/SketchPlugin_Arc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2