]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL14386:
authorenk <enk@opencascade.com>
Wed, 10 Jan 2007 09:09:40 +0000 (09:09 +0000)
committerenk <enk@opencascade.com>
Wed, 10 Jan 2007 09:09:40 +0000 (09:09 +0000)
Debian porting: CRASH after trying to create StreamLines presentation.

src/VISU_I/VISU_DeformedShape_i.cc
src/VISU_I/VISU_DeformedShape_i.hh
src/VISU_I/VISU_PrsMerger_i.cc
src/VISU_I/VISU_PrsMerger_i.hh

index eea7502853829d3e4c6c65aa5c0b671b2220112a..dacdb69dfb1e2907de1c2283d4cf31ebc749e2be 100644 (file)
@@ -106,6 +106,10 @@ void VISU::DeformedShape_i::SameAs(const Prs3d_i* theOrigin)
   }
 }
 
+void VISU::DeformedShape_i::Update()
+{
+  TSuperClass::Update();
+}
 
 VISU::Storable* VISU::DeformedShape_i::Create(const char* theMeshName, VISU::Entity theEntity, 
                                              const char* theFieldName, int theIteration)
index 0e8586e67d567c8e87dcddfb3a99ece706d4496a..93874fbb09763dd1080984ccebd56bc71a371cb0 100644 (file)
@@ -65,6 +65,8 @@ namespace VISU{
     typedef VISU::DeformedShape TInterface;
     VISU_DeformedShapePL* GetDeformedShapePL(){ return myDeformedShapePL;}
 
+    virtual void Update();
+
   protected:
     virtual void DoHook();
     
index 7602c1035a42ad656b7b34e9e82185e96c9da6d4..165afce1854eef4603bf16039527b81d304fd3c2 100644 (file)
@@ -238,6 +238,11 @@ VISU::PrsMerger_i
   }
 }
 
+void VISU::PrsMerger_i::Update()
+{
+  TSuperClass::Update();
+}
+
 VISU_Actor* 
 VISU::PrsMerger_i
 ::CreateActor(const Handle(SALOME_InteractiveObject)& theIO, bool toSupressShrinking) 
index 88625841a9ec9bb0393a322b3ecd5eddc9bd6796..bd715b8bc389f17250c03207216ff8c175e8d87c 100644 (file)
@@ -75,6 +75,8 @@ namespace VISU{
 
     VISU_PrsMergerPL* GetPrsMergerPL(){ return myPrsMergerPL;}
 
+    virtual void Update();
+    
   protected:
     virtual void DoHook();
     virtual const char* GetIconName();