From 8ec52929ea7a5996efae326639f4682094e869d2 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 16 Sep 2008 05:21:28 +0000 Subject: [PATCH] *** empty log message *** --- src/VISUGUI/VisuGUI_Module.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2