Salome HOME
SALOME 9.1.0 Windows version
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_FindElemByPointDlg.cxx
index f3c23cfb59b16c551d25e0500e6930c7f1f22297..701fef8e4480b2b30c853d40b5dc5efe61e509e1 100644 (file)
@@ -536,7 +536,7 @@ void SMESHGUI_FindElemByPointOp::redisplayPreview()
   myPreview->nodesXYZ[0].z = myDlg->myZ->GetValue();
   if (!mySimulation)
     mySimulation = new SMESHGUI_MeshEditPreview(SMESH::GetViewWindow( mySMESHGUI ));
-  mySimulation->SetData(&myPreview.in());
+  mySimulation->SetData( myPreview._retn());
 }
 
 //================================================================================