Fix Plastic Tooloption shortcuts

This commit is contained in:
manongjohn 2023-09-30 23:50:30 -04:00
parent 7647887602
commit 75a66f8270

View file

@ -625,6 +625,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;