From 08f678d1d55b8a2c7edaabf4b18b9323a6790d24 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 21 Dec 2005 14:48:06 +0000 Subject: [PATCH] Fix for the Bug GVIEW10975 opacity forgotten --- src/OBJECT/VISU_Actor.cxx | 1 - src/VISUGUI/VisuGUI_Tools.cxx | 4 ---- src/VISU_I/VISU_Prs3d_i.cc | 1 + 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index f7dada76..2004b9c2 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -98,7 +98,6 @@ VISU_Actor myStoreMapping = true; myShrinkFilter->SetStoreMapping(true); - SetShrinkFactor(); myAnnotationMapper->Delete(); myAnnotationActor->SetMapper(myAnnotationMapper.GetPointer()); diff --git a/src/VISUGUI/VisuGUI_Tools.cxx b/src/VISUGUI/VisuGUI_Tools.cxx index 280c8ca0..075eadd9 100644 --- a/src/VISUGUI/VisuGUI_Tools.cxx +++ b/src/VISUGUI/VisuGUI_Tools.cxx @@ -881,7 +881,6 @@ namespace VISU VISU::Prs3d_i* thePrs) { QApplication::setOverrideCursor(Qt::waitCursor); - bool isPublished = false; SALOMEDS::SObject_var aSObject = thePrs->GetSObject(); CORBA::String_var anEntry = aSObject->GetID(); @@ -900,9 +899,6 @@ namespace VISU return; } QApplication::restoreOverrideCursor(); - - if (!isPublished) - PublishInView(theModule, thePrs); } static bool ComputeVisiblePropBounds(SVTK_ViewWindow* theViewWindow, diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 17c7d61a..f0d97655 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -208,6 +208,7 @@ VISU::Prs3d_i Update(); theActor->SetPrs3d(this); + theActor->SetShrinkFactor(); theActor->SetPosition(myOffset); theActor->SetPipeLine(GetPipeLine()); -- 2.39.2