OpenToonz - An open-source full-featured 2D animation creation software
C
update tool state on level switch (#2428)
shun-iwasawad65f8694d046
diff --git a/toonz/sources/toonz/sceneviewer.cpp b/toonz/sources/toonz/sceneviewer.cppindex 734a30faf..4ff0e2781 100644--- a/toonz/sources/toonz/sceneviewer.cpp+++ b/toonz/sources/toonz/sceneviewer.cpp@@ -2188,6 +2188,7 @@ void SceneViewer::onLevelChanged() {* for Ink&Paint work properly*/void SceneViewer::onLevelSwitched() {+ invalidateToolStatus();TApp *app = TApp::instance();TTool *tool = app->getCurrentTool()->getTool();TXshLevel *level = app->getCurrentLevel()->getLevel();