From: enk Date: Fri, 3 Mar 2006 13:24:14 +0000 (+0000) Subject: Fix for Bug IPAL11001: X-Git-Tag: mergeto_trunk_13Mar06~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f1531bfef865a1b5c2d28dc711f2f3aade02108;p=modules%2Fvisu.git Fix for Bug IPAL11001: "View operations" toolbar are in the pictures during animation saving --- 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;