From: vsv Date: Tue, 16 Sep 2008 05:21:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TG_VISU_2008_Development_Finished~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ec52929ea7a5996efae326639f4682094e869d2;p=modules%2Fvisu.git *** empty log message *** --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 0e6c8258..72538b7d 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -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(this)) { + EditPrs3d(this, anIO, aPrs3d, aViewWindow); + } // Create VVTK_ViewWindow, if it does not exist // if (VVTK_ViewWindow* aViewWindow = GetViewWindow(this)) { // EditPrs3d(this, anIO, aPrs3d, aViewWindow);