From: azv Date: Mon, 27 Feb 2017 10:58:50 +0000 (+0300) Subject: Fix compilation errors (part 2) X-Git-Tag: V_2.7.0~263 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65b511870adccd85f3cf65e1b80466045abc1608;p=modules%2Fshaper.git Fix compilation errors (part 2) --- 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