Salome HOME
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/geom
[modules/geom.git] / src / OBJECT / GEOM_VTKTrihedron.cxx
index 2cb53b8543f27248996dbc7b5f10278405f1216f..315570a01ed697418ebafead1f2517d45eb88182 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019  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
@@ -51,7 +51,7 @@
 /*
   Class       : GEOM_VTKTrihedron
   Description : Class for displaying axis of trihedron in VTK viewer.
-                Placement of trihedron is chahged with SetPlacement() method
+                Placement of trihedron is changed with SetPlacement() method
 */
 class GEOM_VTKTrihedronAxis : public VTKViewer_Axis
 {
@@ -194,7 +194,7 @@ void GEOM_VTKTrihedronAxis::SetColor( const double theColor[ 3 ] )
 /*
   Class       : GEOM_VTKTrihedron
   Description : Class for displaying trihedron of local CS in VTK viewer.
-                Placement of trihedron is chahged with SetPlacement() method
+                Placement of trihedron is changed with SetPlacement() method
 */
 
 vtkStandardNewMacro( GEOM_VTKTrihedron );
@@ -259,6 +259,7 @@ void GEOM_VTKTrihedron::SetSize( double theSize )
   aRes->AddInputConnection( aSrcZ->GetOutputPort() );
   
   myMapper->SetInputConnection( aRes->GetOutputPort() );
+  aRes->Update();
   SALOME_Actor::SetMapper( myMapper );
 
   aSrcX->Delete();