Merge pull request #1226 from manongjohn/fix_plastic_tooloption_shortcuts
Fix Plastic Tooloption shortcuts
This commit is contained in:
commit
fd59a55074
1 changed files with 1 additions and 0 deletions
|
@ -625,6 +625,7 @@ void ToolOptionsShortcutInvoker::onToolSwitched() {
|
||||||
(tool->getName() == T_Brush &&
|
(tool->getName() == T_Brush &&
|
||||||
(tool->getTargetType() & TTool::Vectors)))
|
(tool->getTargetType() & TTool::Vectors)))
|
||||||
pgCount = 2;
|
pgCount = 2;
|
||||||
|
if (tool->getName() == T_Plastic) pgCount = 5;
|
||||||
for (int pgId = 0; pgId < pgCount; pgId++) {
|
for (int pgId = 0; pgId < pgCount; pgId++) {
|
||||||
TPropertyGroup* pg = tool->getProperties(pgId);
|
TPropertyGroup* pg = tool->getProperties(pgId);
|
||||||
if (!pg) continue;
|
if (!pg) continue;
|
||||||
|
|
Loading…
Reference in a new issue