From d628a513d9da4d8705f39b6fe658217e59375a5a Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Wed, 11 May 2022 21:27:10 +0200 Subject: [PATCH] Place clone at same depth of origin TODO: shift other sources to make room? --- Mixer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Mixer.cpp b/Mixer.cpp index 948f20d..d34c036 100644 --- a/Mixer.cpp +++ b/Mixer.cpp @@ -414,6 +414,7 @@ Source * Mixer::createSourceClone(const std::string &namesource) s = (*origin)->clone(); // place clone next to origin s->group(View::MIXING)->translation_ = (*origin)->group(View::MIXING)->translation_; + s->group(View::LAYER)->translation_ = (*origin)->group(View::LAYER)->translation_ + LAYER_STEP; } return s;