From: apo Date: Wed, 21 Dec 2005 14:48:06 +0000 (+0000) Subject: Fix for the Bug GVIEW10975 X-Git-Tag: TG-D5-38-2003_D2005-29-12~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08f678d1d55b8a2c7edaabf4b18b9323a6790d24;p=modules%2Fvisu.git Fix for the Bug GVIEW10975 opacity forgotten --- 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());