OpenToonz - An open-source full-featured 2D animation creation software
C
Fix initial Style Editor palette
manongjohnf4b9da2f0755
diff --git a/toonz/sources/toonz/iocommand.cpp b/toonz/sources/toonz/iocommand.cppindex 9f78aa796..0508cace2 100644--- a/toonz/sources/toonz/iocommand.cpp+++ b/toonz/sources/toonz/iocommand.cpp@@ -1884,6 +1884,10 @@ bool IoCmd::loadScene(const TFilePath &path, bool updateRecentFile,app->getCurrentScene()->notifyNameSceneChange();app->getCurrentFrame()->setFrame(0);app->getCurrentColumn()->setColumnIndex(0);+ TPalette *palette = 0;+ if (app->getCurrentLevel() && app->getCurrentLevel()->getSimpleLevel())+ palette = app->getCurrentLevel()->getSimpleLevel()->getPalette();+ app->getCurrentPalette()->setPalette(palette);app->getCurrentXsheet()->notifyXsheetSoundChanged();app->getCurrentObject()->setIsSpline(false);@@ -2673,9 +2677,9 @@ bool IoCmd::takeCareSceneFolderItemsOnSaveSceneAs(str = QObject::tr("The following level(s) use path with $scenefolder alias.\n\n") +str +- QObject::tr(- "\nThey will not be opened properly when you load the "- "scene next time.\nWhat do you want to do?");+ QObject::tr(+ "\nThey will not be opened properly when you load the "+ "scene next time.\nWhat do you want to do?");int ret = DVGui::MsgBox(str, QObject::tr("Copy the levels to correspondent paths"),