OpenToonz - An open-source full-featured 2D animation creation software
C
fix scene initialization on loading xdts
shun-iwasawa232cdf7d8078
diff --git a/toonz/sources/toonz/xdtsio.cpp b/toonz/sources/toonz/xdtsio.cppindex 433424efc..b2c06f724 100644--- a/toonz/sources/toonz/xdtsio.cpp+++ b/toonz/sources/toonz/xdtsio.cpp@@ -645,6 +645,8 @@ bool XdtsIo::loadXdtsScene(ToonzScene* scene, const TFilePath& scenePath) {auto sceneProject = TProjectManager::instance()->loadSceneProject(scenePath);if (!sceneProject) return false;+ TProjectManager::instance()->initializeScene(scene);+scene->setProject(sceneProject);const std::string sceneFileName = scenePath.getName() + ".tnz";scene->setScenePath(scenePath.getParentDir() + sceneFileName);