From 195c035f3c98d149eddcc7b77db462dd42947e49 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 16 Jan 2007 10:53:21 +0000 Subject: [PATCH] Initialization of myOpacity fields was added in constructor --- src/VTKViewer/VTKViewer_Actor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2