]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for the Bug GVIEW10975
authorapo <apo@opencascade.com>
Wed, 21 Dec 2005 14:48:06 +0000 (14:48 +0000)
committerapo <apo@opencascade.com>
Wed, 21 Dec 2005 14:48:06 +0000 (14:48 +0000)
   opacity forgotten

src/OBJECT/VISU_Actor.cxx
src/VISUGUI/VisuGUI_Tools.cxx
src/VISU_I/VISU_Prs3d_i.cc

index f7dada76f087df1102a04f6aaf8a74cd3914313e..2004b9c280e78743f41e50b73da8cd968d9468af 100644 (file)
@@ -98,7 +98,6 @@ VISU_Actor
   myStoreMapping = true;
 
   myShrinkFilter->SetStoreMapping(true);
-  SetShrinkFactor();  
 
   myAnnotationMapper->Delete();
   myAnnotationActor->SetMapper(myAnnotationMapper.GetPointer());
index 280c8ca0057f0492181b43d0d3a9bed632d5e4b1..075eadd9ee535cdcc0c5de2db1c19694ca611a10 100644 (file)
@@ -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,
index 17c7d61a56949fa4a444216949bc02010bedb57e..f0d97655960e0de11a0900cb48b84c28fe860612 100644 (file)
@@ -208,6 +208,7 @@ VISU::Prs3d_i
 
     Update();
     theActor->SetPrs3d(this);
+    theActor->SetShrinkFactor();
     theActor->SetPosition(myOffset);
     theActor->SetPipeLine(GetPipeLine());