]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL11001:
authorenk <enk@opencascade.com>
Fri, 3 Mar 2006 13:24:14 +0000 (13:24 +0000)
committerenk <enk@opencascade.com>
Fri, 3 Mar 2006 13:24:14 +0000 (13:24 +0000)
"View operations" toolbar are in the pictures during animation saving

src/VISU_I/VISU_TimeAnimation.cxx

index e2bc1deeda5da808416639f28af70fa06a5b89c3..718fd97fde01aa3923d9d5b08faca60811f49235 100644 (file)
@@ -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;