curvepanel: reconfigured to be a spawnable child of NodeParamView

This commit is contained in:
itsmattkc
2020-04-27 00:04:07 +10:00
parent 53ae25a7cb
commit 9c4999cfae
16 changed files with 208 additions and 65 deletions
-3
View File
@@ -98,9 +98,6 @@ void ViewerPanelBase::CreateScopePanel(ScopePanel::Type type)
p->SetType(type);
// We treat our scope panels as kind of children, and destroy them if we're ever destroyed
connect(this, &ViewerPanelBase::destroyed, p, &ScopePanel::deleteLater);
// If the scope closes, reduce the count (we do this because if no scopes are open, we can optimize the viewer slightly)
connect(p, &ScopePanel::CloseRequested, this, &ViewerPanelBase::ScopePanelClosed);