| 565 | } |
| 566 | |
| 567 | void |
| 568 | DockablePanel::onKnobsRecreated() |
| 569 | { |
| 570 | NodeSettingsPanel* isNodePanel = dynamic_cast<NodeSettingsPanel*>(this); |
| 571 | |
| 572 | // Refresh the curve editor with potential new animated knobs |
| 573 | if (isNodePanel) { |
| 574 | Gui* gui = getGui(); |
| 575 | if (gui) { |
| 576 | NodeGuiPtr node = isNodePanel->getNode(); |
| 577 | gui->getCurveEditor()->removeNode( node.get() ); |
| 578 | gui->getCurveEditor()->addNode(node); |
| 579 | |
| 580 | gui->removeNodeGuiFromDopeSheetEditor(node); |
| 581 | gui->addNodeGuiToDopeSheetEditor(node); |
| 582 | } |
| 583 | } |
| 584 | } |
| 585 | |
| 586 | void |
| 587 | DockablePanel::onPageIndexChanged(int index) |
nothing calls this directly
no test coverage detected