From 65b511870adccd85f3cf65e1b80466045abc1608 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 27 Feb 2017 13:58:50 +0300 Subject: [PATCH] Fix compilation errors (part 2) --- src/SketchSolver/SketchSolver_ConstraintTangent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp index 2a7b52a87..0df752a29 100644 --- a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp @@ -112,9 +112,9 @@ void SketchSolver_ConstraintTangent::adjustConstraint() { if (myType == CONSTRAINT_TANGENT_ARC_ARC) { EntityWrapperPtr anEntity1 = - myStorage->entity(myBaseConstraint->refattr(SketchPlugin_Constraint::ENTITY_A())); + myStorage->entity(myBaseConstraint->attribute(SketchPlugin_Constraint::ENTITY_A())); EntityWrapperPtr anEntity2 = - myStorage->entity(myBaseConstraint->refattr(SketchPlugin_Constraint::ENTITY_B())); + myStorage->entity(myBaseConstraint->attribute(SketchPlugin_Constraint::ENTITY_B())); if (isArcArcInternal != isInternalTangency(anEntity1, anEntity2)) { // fully rebuld constraint, because it is unable to access attributes of PlaneGCS constraint -- 2.39.2