mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-06 07:50:00 +01:00
Fixed source picking problems
Allow unlock of source in geometry, do not allow selection of locked source with CTRL
This commit is contained in:
@@ -345,8 +345,8 @@ std::pair<Node *, glm::vec2> MixingView::pick(glm::vec2 P)
|
||||
s->setLocked(true);
|
||||
pick = { nullptr, glm::vec2(0.f) };
|
||||
}
|
||||
// pick a locked source without CTRL key; cancel pick
|
||||
else if ( s->locked() && !UserInterface::manager().ctrlModifier() ) {
|
||||
// pick a locked source ; cancel pick
|
||||
else if ( s->locked() ) {
|
||||
pick = { nullptr, glm::vec2(0.f) };
|
||||
}
|
||||
// pick on the mixing group rotation icon
|
||||
|
||||
Reference in New Issue
Block a user