Fixed Session Render Source (self-referenced session, not global).

This commit is contained in:
brunoherbelin
2020-06-10 19:41:13 +02:00
parent e848723cbc
commit 69b249e7e0
4 changed files with 21 additions and 12 deletions

View File

@@ -256,7 +256,7 @@ Source * Mixer::createSourceFile(std::string path)
Source * Mixer::createSourceRender()
{
// ready to create a source
RenderSource *s = new RenderSource;
RenderSource *s = new RenderSource(session_);
// propose a new name based on session name
renameSource(s, SystemToolkit::base_filename(session_->filename()));