From: sln Date: Tue, 16 Jan 2007 10:53:21 +0000 (+0000) Subject: Initialization of myOpacity fields was added in constructor X-Git-Tag: CTH_V12~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=195c035f3c98d149eddcc7b77db462dd42947e49;p=modules%2Fgui.git Initialization of myOpacity fields was added in constructor --- diff --git a/src/VTKViewer/VTKViewer_Actor.cxx b/src/VTKViewer/VTKViewer_Actor.cxx index 5f0e621e7..a78f2277b 100755 --- a/src/VTKViewer/VTKViewer_Actor.cxx +++ b/src/VTKViewer/VTKViewer_Actor.cxx @@ -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);