From a1df69cb6b083dd4707d261e81bb0b42ea85a16c Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 19 May 2011 13:15:13 +0000 Subject: [PATCH] Fix for the bug "IPAL22514 TC6.3.0: Post-Pro Preferences - Representation: Use Shading preference is ignored for Iso Surfaces". --- src/VISU_I/VISU_IsoSurfaces_i.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISU_I/VISU_IsoSurfaces_i.cc b/src/VISU_I/VISU_IsoSurfaces_i.cc index 64510747..7d0f3084 100644 --- a/src/VISU_I/VISU_IsoSurfaces_i.cc +++ b/src/VISU_I/VISU_IsoSurfaces_i.cc @@ -293,7 +293,9 @@ VISU_Actor* VISU::IsoSurfaces_i::CreateActor() anActor->SetVTKMapping(true); SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr(); int aDispMode = aResourceMgr->integerValue("VISU" , "iso_surfaces_represent", 2); + bool toUseShading = aResourceMgr->booleanValue("VISU", "represent_shading", false); anActor->SetRepresentation(aDispMode); + anActor->SetShading(toUseShading); UpdateActor(anActor); }catch(...){ anActor->Delete(); -- 2.39.2