From 81e4f5d2b4c5cec60ead922926926d5f93172939 Mon Sep 17 00:00:00 2001 From: enk Date: Wed, 10 Jan 2007 09:09:40 +0000 Subject: [PATCH] Fix for Bug IPAL14386: Debian porting: CRASH after trying to create StreamLines presentation. --- src/VISU_I/VISU_DeformedShape_i.cc | 4 ++++ src/VISU_I/VISU_DeformedShape_i.hh | 2 ++ src/VISU_I/VISU_PrsMerger_i.cc | 5 +++++ src/VISU_I/VISU_PrsMerger_i.hh | 2 ++ 4 files changed, 13 insertions(+) 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(); -- 2.39.2