Automatic depth increment when placing a source.

This commit is contained in:
brunoherbelin
2020-05-19 18:38:16 +02:00
parent 1ea1937fd7
commit 6ac25c01c8
5 changed files with 32 additions and 2 deletions

View File

@@ -201,6 +201,7 @@ void Mixer::insertSource(Source *s)
geometry_.scene.fg()->attach(s->group(View::GEOMETRY));
layer_.scene.fg()->attach(s->group(View::LAYER));
layer_.setDepth(s);
}
void Mixer::deleteCurrentSource()