]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation errors (part 2)
authorazv <azv@opencascade.com>
Mon, 27 Feb 2017 10:58:50 +0000 (13:58 +0300)
committerazv <azv@opencascade.com>
Mon, 27 Feb 2017 10:58:50 +0000 (13:58 +0300)
src/SketchSolver/SketchSolver_ConstraintTangent.cpp

index 2a7b52a873bff314c77001c40ad7187507290bf8..0df752a29c4d614fc1e437f69630ef1f5c99058d 100644 (file)
@@ -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