]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
*** empty log message ***
authorvsv <vsv@opencascade.com>
Tue, 16 Sep 2008 05:21:28 +0000 (05:21 +0000)
committervsv <vsv@opencascade.com>
Tue, 16 Sep 2008 05:21:28 +0000 (05:21 +0000)
src/VISUGUI/VisuGUI_Module.cxx

index 0e6c8258dcd6ce775441860fc9eda77e748bc22d..72538b7d12b45149b6b241e0924098c0a4728a70 100644 (file)
@@ -1068,7 +1068,10 @@ void VisuGUI_Module::OnEditGaussPoints()
   VISU::TSelectionItem aSelectionItem = aSelectionInfo.front();
   Handle(SALOME_InteractiveObject) anIO = aSelectionItem.myIO;
 
-  if(/*VISU::Prs3d_i* aPrs3d = */VISU::GetPrs3dToModify(this, aSelectionItem.myObjectInfo.myBase)){
+  if(VISU::Prs3d_i* aPrs3d = VISU::GetPrs3dToModify(this, aSelectionItem.myObjectInfo.myBase)){
+    if (SVTK_ViewWindow* aViewWindow = GetViewWindow<SVTK_Viewer>(this)) {
+      EditPrs3d<VISU::GaussPoints_i, VisuGUI_GaussPointsDlg, 1>(this, anIO, aPrs3d, aViewWindow);
+    }
     // Create VVTK_ViewWindow, if it does not exist
 //     if (VVTK_ViewWindow* aViewWindow = GetViewWindow<VVTK_Viewer>(this)) {
 //       EditPrs3d<VISU::GaussPoints_i, VisuGUI_GaussPointsDlg, 1>(this, anIO, aPrs3d, aViewWindow);