OpenToonz - An open-source full-featured 2D animation creation software
C
Fix Shortcuts for changing Plastic tool modes
JPUser1af2f335d1e50
diff --git a/toonz/sources/toonz/tooloptionsshortcutinvoker.cpp b/toonz/sources/toonz/tooloptionsshortcutinvoker.cppindex 083128a2e..edff4dec8 100644--- a/toonz/sources/toonz/tooloptionsshortcutinvoker.cpp+++ b/toonz/sources/toonz/tooloptionsshortcutinvoker.cpp@@ -631,6 +631,7 @@ void ToolOptionsShortcutInvoker::onToolSwitched() {(tool->getName() == T_Brush &&(tool->getTargetType() & TTool::Vectors)))pgCount = 2;+ if (tool->getName() == T_Plastic) pgCount = 5;for (int pgId = 0; pgId < pgCount; pgId++) {TPropertyGroup* pg = tool->getProperties(pgId);if (!pg) continue;