From: enk Date: Wed, 10 Jan 2007 09:09:40 +0000 (+0000) Subject: Fix for Bug IPAL14386: X-Git-Tag: V3_2_5~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=81e4f5d2b4c5cec60ead922926926d5f93172939;p=modules%2Fvisu.git Fix for Bug IPAL14386: Debian porting: CRASH after trying to create StreamLines presentation. --- diff --git a/src/VISU_I/VISU_DeformedShape_i.cc b/src/VISU_I/VISU_DeformedShape_i.cc index eea75028..dacdb69d 100644 --- a/src/VISU_I/VISU_DeformedShape_i.cc +++ b/src/VISU_I/VISU_DeformedShape_i.cc @@ -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) diff --git a/src/VISU_I/VISU_DeformedShape_i.hh b/src/VISU_I/VISU_DeformedShape_i.hh index 0e8586e6..93874fbb 100644 --- a/src/VISU_I/VISU_DeformedShape_i.hh +++ b/src/VISU_I/VISU_DeformedShape_i.hh @@ -65,6 +65,8 @@ namespace VISU{ typedef VISU::DeformedShape TInterface; VISU_DeformedShapePL* GetDeformedShapePL(){ return myDeformedShapePL;} + virtual void Update(); + protected: virtual void DoHook(); diff --git a/src/VISU_I/VISU_PrsMerger_i.cc b/src/VISU_I/VISU_PrsMerger_i.cc index 7602c103..165afce1 100644 --- a/src/VISU_I/VISU_PrsMerger_i.cc +++ b/src/VISU_I/VISU_PrsMerger_i.cc @@ -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) diff --git a/src/VISU_I/VISU_PrsMerger_i.hh b/src/VISU_I/VISU_PrsMerger_i.hh index 88625841..bd715b8b 100644 --- a/src/VISU_I/VISU_PrsMerger_i.hh +++ b/src/VISU_I/VISU_PrsMerger_i.hh @@ -75,6 +75,8 @@ namespace VISU{ VISU_PrsMergerPL* GetPrsMergerPL(){ return myPrsMergerPL;} + virtual void Update(); + protected: virtual void DoHook(); virtual const char* GetIconName();