Salome HOME
PROJECT: POST-PROCESSOR 2005 TASK: T 1.5
[modules/kernel.git] / src / VTKViewer / VTKViewer_RenderWindowInteractor.cxx
index d8d86e86c3e7c7906d0d2cd7d38fa9a31aa2fdee..28514145311c95351b743fc6782b248cc1eaec0f 100644 (file)
@@ -879,6 +879,9 @@ void VTKViewer_RenderWindowInteractor::setActorData(const TColStd_IndexedMapOfIn
                                                    TUpdateActor theFun)
 {
   (*theFun)(theMapIndex,theMapActor,theActor);
+  float aPos[3];
+  theMapActor->GetPosition(aPos);
+  theActor->SetPosition(aPos);
 }