OpenToonz - An open-source full-featured 2D animation creation software
C
Fix plastic tool availability
manongjohna02775df7df0
diff --git a/toonz/sources/toonz/toolbar.cpp b/toonz/sources/toonz/toolbar.cppindex dbd73df1c..02df4e971 100755--- a/toonz/sources/toonz/toolbar.cpp+++ b/toonz/sources/toonz/toolbar.cpp@@ -161,6 +161,11 @@ void Toolbar::updateToolbar() {bool enable =!showLevelBased ? true : (!tool ? actionEnabled : tool->isEnabled());+ // Plastic tool should always be available so you can create a mesh+ if (!enable && !strncmp(buttonLayout[idx].toolName, T_Plastic, 9) &&+ (m_toolbarLevel & LEVELCOLUMN_XSHLEVEL))+ enable = true;+if (!buttonLayout[idx].action) {if (isSeparator)buttonLayout[idx].action = addSeparator();