From fd2d404efea4580bb7344a08c5c9311b705b121b Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 8 Dec 2006 09:27:35 +0000 Subject: [PATCH] Fix for bug IPAL13602 : wrong save of animation pictures. --- src/VISU_I/VISU_TimeAnimation.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VISU_I/VISU_TimeAnimation.cxx b/src/VISU_I/VISU_TimeAnimation.cxx index 205e9fea..7e2027e8 100644 --- a/src/VISU_I/VISU_TimeAnimation.cxx +++ b/src/VISU_I/VISU_TimeAnimation.cxx @@ -1230,6 +1230,8 @@ void VISU_TimeAnimation::saveImages( int theFieldId, aFile += aName; aFile += "."; aFile += myDumpFormat.lower(); + ProcessVoidEvent(new TVoidMemFunEvent + (myView,&SVTK_ViewWindow::RefreshDumpImage)); // IPAL13602 ProcessEvent(new TMemFun2ArgEvent (myView,&SVTK_ViewWindow::dumpViewToFormat,aFile,myDumpFormat)); } else { @@ -1262,6 +1264,7 @@ void VISU_TimeAnimation::saveImages( int theFieldId, myView->dumpViewToFormat(aFile,"JPEG"); */ SUIT_ViewWindow* aView = myView; + ProcessVoidEvent(new TVoidMemFunEvent(myView,&SVTK_ViewWindow::RefreshDumpImage)); // IPAL13602 QImage img = ProcessEvent(new TMemFunEvent(aView,&SUIT_ViewWindow::dumpView)); if (!img.isNull()) { int width = img.width(); width = (width/16)*16; -- 2.39.2