]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
SWP12779
authorouv <ouv@opencascade.com>
Tue, 1 Aug 2006 12:56:59 +0000 (12:56 +0000)
committerouv <ouv@opencascade.com>
Tue, 1 Aug 2006 12:56:59 +0000 (12:56 +0000)
src/VVTK/VVTK_Renderer.cxx
src/VVTK/VVTK_Renderer.h

index 8517d78d31d21350fdc732436cf96a2d0d782eb2..8b56aede642ec584fe51d9d2a33c85076d9ad651 100644 (file)
@@ -249,7 +249,7 @@ VVTK_Renderer1::VVTK_Renderer1():
   vtkProperty* aPlaneProperty = aPlanesWidget->GetPlaneProperty();
   aPlaneProperty->SetOpacity(aSelectedPlaneProperty->GetOpacity()*1.5);
   //
-  myWidgetCtrl->Delete();
+  //myWidgetCtrl->Delete();
 }
 
 VVTK_Renderer1
@@ -334,7 +334,7 @@ VISU_WidgetCtrl*
 VVTK_Renderer1
 ::GetWidgetCtrl()
 {
-  return myWidgetCtrl.GetPointer();
+  return myWidgetCtrl;//.GetPointer();
 }
 
 //----------------------------------------------------------------------------
index 6cf53326aec5d84f98cf561791ae86d1044ff193..45c7e949e02e890557fea927ff286d82ffcaafe0 100644 (file)
@@ -125,7 +125,8 @@ class VVTK_EXPORT VVTK_Renderer1 : public VVTK_Renderer
 
   void AdjustWidgetCtrl();
 
-  vtkSmartPointer<VISU_WidgetCtrl> myWidgetCtrl;
+  VISU_WidgetCtrl* myWidgetCtrl;
+  //vtkSmartPointer<VISU_WidgetCtrl> myWidgetCtrl;
   VISU_OutsideCursorSettings* myOutsideCursorSettings;
   vtkSmartPointer<VISU_FPSActor> myTextActor;
 };