myAnimator->generatePresentations(myFieldLst->currentItem());
QApplication::restoreOverrideCursor();
-#define EDITPRS(TYPE, DLG) \
- { \
- DLG* aDlg = new DLG(); \
- aDlg->initFromPrsObject(dynamic_cast<TYPE*>(aData.myPrs.at(0))); \
- if (aDlg->exec()) { \
- for (int i = 0; i < aData.myNbFrames; i++) \
- aDlg->storeToPrsObject(dynamic_cast<TYPE*>(aData.myPrs.at(i))); \
- } \
- delete aDlg; \
- }
-
+// BUG VISU5725 : Compatibility gcc 2.95
+// #define EDITPRS(TYPE, DLG) \
+// { \
+// DLG* aDlg = new DLG(); \
+// aDlg->initFromPrsObject(dynamic_cast<TYPE*>(aData.myPrs.at(0))); \
+// if (aDlg->exec()) { \
+// for (int i = 0; i < aData.myNbFrames; i++) \
+// aDlg->storeToPrsObject(dynamic_cast<TYPE*>(aData.myPrs.at(i))); \
+// } \
+// delete aDlg; \
+// }
+
+
+#define EDITPRS(TYPE, DLG) {DLG* aDlg = new DLG(); aDlg->initFromPrsObject(dynamic_cast<TYPE*>(aData.myPrs[0])); if (aDlg->exec()) { for (int i = 0; i < aData.myNbFrames; i++) aDlg->storeToPrsObject(dynamic_cast<TYPE*>(aData.myPrs[i])); } delete aDlg;}
switch (myTypeCombo->currentItem()) {
case 0: //Scalar Map