Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Merge remote-tracking branch 'origin/master' into fix_save_mesh

shun_iwasawa2b222ee2c364
diff --cc toonz/sources/toonz/iocommand.cpp
index d058c2775,eade44ab4..708a856db
--- a/toonz/sources/toonz/iocommand.cpp
+++ b/toonz/sources/toonz/iocommand.cpp
@@@ -2604,12 -2601,16 +2604,12 @@@ public
#else
TXshSimpleLevel *sl = TApp::instance()->getCurrentLevel()->getSimpleLevel();
if (!sl) {
- MsgBox(WARNING, QObject::tr("No Current Level"));
+ DVGui::warning(QObject::tr("No Current Level"));
return;
}
- if (!sl->getPalette()) {
- DVGui::warning(QObject::tr("Toonz cannot Save this Level"));
- return;
- }
ToonzScene *scene = TApp::instance()->getCurrentScene()->getScene();
if (!scene) {
- MsgBox(WARNING, QObject::tr("No Current Scene"));
+ DVGui::warning(QObject::tr("No Current Scene"));
return; // non dovrebbe succedere mai
}
TFilePath levelPath = sl->getPath();