]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To remove duplicated code
authorapo <apo@opencascade.com>
Tue, 5 Jun 2007 05:17:36 +0000 (05:17 +0000)
committerapo <apo@opencascade.com>
Tue, 5 Jun 2007 05:17:36 +0000 (05:17 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index 4f90b86ee0869a69012098de3a73b4fcfa46a65c..1c18ca340fbdd9f0fa64c91bc26653fa888d885f 100644 (file)
@@ -838,15 +838,6 @@ void SetupDlg::onPreferencesDlg()
     return;
   }
 
-  if(!aData.myNbFrames || !aData.myPrs[0]){
-    QApplication::restoreOverrideCursor();
-    SUIT_MessageBox::warn1(this,
-                           tr("ERROR"),
-                           VisuGUI_TimeAnimationDlg::tr("MSG_NO_ANIMATIONDATA"),
-                           tr("&OK"));
-    return;
-  }
-
   int aType = myComboId2TypeId[myTypeCombo->currentItem()];
   switch (aType) {
   case TSCALARMAP_ITEM: //Scalar Map