From 9c457e03463ca7c4787501dcfd1a553ba5a5c0e9 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 27 Jul 2006 13:43:06 +0000 Subject: [PATCH] Fix for bug IPAL12377. --- src/VISU_I/VISU_Vectors_i.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISU_I/VISU_Vectors_i.cc b/src/VISU_I/VISU_Vectors_i.cc index 1ab9c254..c8bd8a59 100644 --- a/src/VISU_I/VISU_Vectors_i.cc +++ b/src/VISU_I/VISU_Vectors_i.cc @@ -198,7 +198,9 @@ VISU_Actor* VISU::Vectors_i::CreateActor(const Handle(SALOME_InteractiveObject)& anActor->GetProperty()->SetLineWidth(GetLineWidth()); SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr(); int aDispMode = aResourceMgr->integerValue("VISU", "vectors_represent", 1); + bool toUseShading = aResourceMgr->booleanValue("VISU", "represent_shading", false); anActor->SetRepresentation(aDispMode); + anActor->SetShading(toUseShading); UpdateActor(anActor); }catch(...){ anActor->Delete(); -- 2.39.2