mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 11:19:58 +01:00
Select group sources with ctrl+clic
This commit is contained in:
@@ -310,7 +310,13 @@ std::pair<Node *, glm::vec2> MixingView::pick(glm::vec2 P)
|
|||||||
}
|
}
|
||||||
// pick source of a mixing group
|
// pick source of a mixing group
|
||||||
else if ( s->mixinggroup_ != nullptr ) {
|
else if ( s->mixinggroup_ != nullptr ) {
|
||||||
if (UserInterface::manager().shiftModifier())
|
if (UserInterface::manager().ctrlModifier()) {
|
||||||
|
SourceList linked = s->mixinggroup_->getCopy();
|
||||||
|
linked.remove(s);
|
||||||
|
if (Mixer::selection().empty())
|
||||||
|
Mixer::selection().add(linked);
|
||||||
|
}
|
||||||
|
else if (UserInterface::manager().shiftModifier())
|
||||||
s->mixinggroup_->setAction( MixingGroup::ACTION_GRAB_ONE );
|
s->mixinggroup_->setAction( MixingGroup::ACTION_GRAB_ONE );
|
||||||
else
|
else
|
||||||
s->mixinggroup_->setAction( MixingGroup::ACTION_GRAB_ALL );
|
s->mixinggroup_->setAction( MixingGroup::ACTION_GRAB_ALL );
|
||||||
|
|||||||
Reference in New Issue
Block a user