From 2f1531bfef865a1b5c2d28dc711f2f3aade02108 Mon Sep 17 00:00:00 2001 From: enk Date: Fri, 3 Mar 2006 13:24:14 +0000 Subject: [PATCH] Fix for Bug IPAL11001: "View operations" toolbar are in the pictures during animation saving --- src/VISU_I/VISU_TimeAnimation.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/VISU_I/VISU_TimeAnimation.cxx b/src/VISU_I/VISU_TimeAnimation.cxx index e2bc1dee..718fd97f 100644 --- a/src/VISU_I/VISU_TimeAnimation.cxx +++ b/src/VISU_I/VISU_TimeAnimation.cxx @@ -618,8 +618,6 @@ void VISU_TimeAnimation::run() qApp->unlock(); msleep(100); qApp->lock(); - - QPixmap px = QPixmap::grabWindow(myView->winId()); QString aFile(myDumpPath); QString aName = QString("%1").arg(myFieldsLst[0].myTiming[myFrame]); int aPos = -1; @@ -628,7 +626,7 @@ void VISU_TimeAnimation::run() aFile += aName; aFile += "."; aFile += myDumpFormat.lower(); - px.save(aFile, myDumpFormat); + myView->dumpViewToFormat(aFile,myDumpFormat); } if (!myIsActive) break; -- 2.39.2