filled out alpha over and opacity nodes

This commit is contained in:
itsmattkc
2019-08-31 14:45:13 +10:00
parent f6db7b6893
commit a4369c4d79
13 changed files with 355 additions and 4 deletions
+3
View File
@@ -220,6 +220,7 @@ void Core::CreateNewFolder()
// FIXME: Test code
#include "node/blend/alphaover/alphaover.h"
#include "node/color/opacity/opacity.h"
#include "node/output/timeline/timeline.h"
#include "node/output/track/track.h"
#include "node/output/viewer/viewer.h"
@@ -309,6 +310,8 @@ void Core::CreateNewSequence()
// FIXME: Test code
AlphaOverBlend* blend = new AlphaOverBlend();
new_sequence->AddNode(blend);
OpacityNode* opac = new OpacityNode();
new_sequence->AddNode(opac);
// End test code
vo->AttachViewer(olive::panel_focus_manager->MostRecentlyFocused<ViewerPanel>());