Salome HOME
Merge remote-tracking branch 'remotes/origin/hydro/imps_2017_salome_83' into HEAD
[modules/geom.git] / src / EntityGUI / EntityGUI_PolylineDlg.cxx
index ed2f4ee3696445808775e8f2e869d02106f4827c..e79e0aa6d29e361bae442ab9afab9fd74cc3854e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -252,7 +252,7 @@ void EntityGUI_PolylineDlg::GetCurveParams(GEOM::ListOfListOfDouble &theCoords,
 
   for (i = 0; i < aNbSec; ++i) {
     // Set coordinates
-    CurveCreator::Coordinates aCoords   = myCurve->getPoints(i);
+    CurveCreator::Coordinates aCoords   = myCurve->getCoords(i);
     const int                 aNbPoints = aCoords.size();
 
     theCoords[i].length(aNbPoints);
@@ -780,7 +780,7 @@ void EntityGUI_PolylineDlg::displayPreview()
 
         // Set color for temporary AIS_InteractiveObject
         anAISObj->Attributes()->WireAspect()->SetColor( Quantity_NOC_VIOLET );
-        aCtx->Redisplay( anAISObj );
+        aCtx->Redisplay( anAISObj, Standard_True );
       }
     }
   }