From d65f8694d046e9ace1249c03fd89bc6fe9bb1e27 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Dec 26 2018 06:59:18 +0000 Subject: update tool state on level switch (#2428) --- diff --git a/toonz/sources/toonz/sceneviewer.cpp b/toonz/sources/toonz/sceneviewer.cpp index 734a30f..4ff0e27 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();