renderer: allow parameters to be changed mid-session

This commit is contained in:
itsmattkc
2020-01-22 14:05:37 +11:00
parent 8932a5abeb
commit fdbaa75dff
15 changed files with 118 additions and 32 deletions
+6
View File
@@ -48,6 +48,7 @@
#include "project/item/sequence/sequence.h"
#include "render/colormanager.h"
#include "render/diskmanager.h"
#include "render/pixelservice.h"
#include "task/taskmanager.h"
#include "ui/style/style.h"
#include "undo/undostack.h"
@@ -141,6 +142,8 @@ void Core::Stop()
DiskManager::DestroyInstance();
PixelService::DestroyInstance();
NodeFactory::Destroy();
delete main_window_;
@@ -388,6 +391,9 @@ void Core::StartGUI(bool full_screen)
// Initialize task manager
TaskManager::CreateInstance();
// Initialize pixel service
PixelService::CreateInstance();
// Connect the PanelFocusManager to the application's focus change signal
connect(qApp,
&QApplication::focusChanged,