]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Initialization of myOpacity fields was added in constructor
authorsln <sln@opencascade.com>
Tue, 16 Jan 2007 10:53:21 +0000 (10:53 +0000)
committersln <sln@opencascade.com>
Tue, 16 Jan 2007 10:53:21 +0000 (10:53 +0000)
src/VTKViewer/VTKViewer_Actor.cxx

index 5f0e621e7368da910ca2396461ab54422c9b00fc..a78f2277babbaaf58d78050fd0e4ad7f3785bd8c 100755 (executable)
@@ -77,7 +77,8 @@ VTKViewer_Actor
   myIsResolveCoincidentTopology(true),
   myStoreMapping(false),
   myGeomFilter(VTKViewer_GeometryFilter::New()),
-  myTransformFilter(VTKViewer_TransformFilter::New())
+  myTransformFilter(VTKViewer_TransformFilter::New()),
+  myOpacity( 1. )
 {
   vtkMapper::GetResolveCoincidentTopologyPolygonOffsetParameters(myPolygonOffsetFactor,
                                                                 myPolygonOffsetUnits);