From: enk Date: Tue, 18 Apr 2006 13:20:15 +0000 (+0000) Subject: Fix for Bug IPAL11935: X-Git-Tag: T3_2_0b1_pre1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60710b28355ca6fa077219574be46c3880c1d933;p=modules%2Fvisu.git Fix for Bug IPAL11935: Crash after close "Animation" dialog box with saving pictures --- diff --git a/src/VISU_I/VISU_TimeAnimation.cxx b/src/VISU_I/VISU_TimeAnimation.cxx index 432404e0..bb6f4078 100644 --- a/src/VISU_I/VISU_TimeAnimation.cxx +++ b/src/VISU_I/VISU_TimeAnimation.cxx @@ -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]);