Skip to content

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

C

Optimize Adjust Current Level to This Palette

Abel You54ef45e87897
diff --git a/toonz/sources/toonzqt/studiopaletteviewer.cpp b/toonz/sources/toonzqt/studiopaletteviewer.cpp
index fcf6c9251..a0c599107 100644
--- a/toonz/sources/toonzqt/studiopaletteviewer.cpp
+++ b/toonz/sources/toonzqt/studiopaletteviewer.cpp
@@ -753,6 +753,11 @@ that the last operation is the icon refresh...
m_currentLevelHandle,
apd.getTolerance());
+ m_currentLevelHandle->getSimpleLevel()->setDirtyFlag(true);
+
+ //TApp::instance()->getCurrentLevel()->notifyLevelChange();
+ //No need to notice user
+
TUndoManager::manager()->add(new InvalidateIconsUndo(m_currentLevelHandle));
TUndoManager::manager()->endBlock();