mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Place clone at same depth of origin
TODO: shift other sources to make room?
This commit is contained in:
@@ -414,6 +414,7 @@ Source * Mixer::createSourceClone(const std::string &namesource)
|
|||||||
s = (*origin)->clone();
|
s = (*origin)->clone();
|
||||||
// place clone next to origin
|
// place clone next to origin
|
||||||
s->group(View::MIXING)->translation_ = (*origin)->group(View::MIXING)->translation_;
|
s->group(View::MIXING)->translation_ = (*origin)->group(View::MIXING)->translation_;
|
||||||
|
s->group(View::LAYER)->translation_ = (*origin)->group(View::LAYER)->translation_ + LAYER_STEP;
|
||||||
}
|
}
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
|||||||
Reference in New Issue
Block a user