mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Bugfix and cleanup Group source insert
NB: default setAlpha now re-uses the source previous mixing coordinates (does not force default location)
This commit is contained in:
@@ -688,9 +688,9 @@ void MixingView::setAlpha(Source *s)
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
// move the layer node of the source
|
||||
// move the mixing node of the source
|
||||
Group *sourceNode = s->group(mode_);
|
||||
glm::vec2 mix_pos = glm::vec2(DEFAULT_MIXING_TRANSLATION);
|
||||
glm::vec2 mix_pos(sourceNode->translation_);
|
||||
|
||||
for(NodeSet::iterator it = scene.ws()->begin(); it != scene.ws()->end(); ++it) {
|
||||
// avoid superposing icons: distribute equally
|
||||
|
||||
Reference in New Issue
Block a user