]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL11935:
authorenk <enk@opencascade.com>
Tue, 18 Apr 2006 13:20:15 +0000 (13:20 +0000)
committerenk <enk@opencascade.com>
Tue, 18 Apr 2006 13:20:15 +0000 (13:20 +0000)
Crash after close "Animation" dialog box with saving pictures

src/VISU_I/VISU_TimeAnimation.cxx

index 432404e09e2554e491791786bf67955cae6860f1..bb6f4078af2ae79f53e7bf976d255f9da0cfe08a 100644 (file)
@@ -618,6 +618,8 @@ void VISU_TimeAnimation::run()
       qApp->unlock();
       msleep(100);
       qApp->lock();
+      if(!(myFieldsLst[0].myField)) // break, if field was deleted.
+       break;
       if (myDumpFormat.compare("AVI") != 0) {
        QString aFile(myDumpPath);
        QString aName = QString("%1").arg(myFieldsLst[0].myTiming[myFrame]);