mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-08 16:59:59 +01:00
Large commit for implementation of load&save of MixingGroups
This commit is contained in:
13
View.cpp
13
View.cpp
@@ -275,16 +275,3 @@ void View::updateSelectionOverlay()
|
||||
overlay_selection_->scale_ = glm::vec3(0.f, 0.f, 1.f);
|
||||
}
|
||||
|
||||
|
||||
bool compare_depth (Source * first, Source * second)
|
||||
{
|
||||
return ( first->depth() < second->depth() );
|
||||
}
|
||||
|
||||
SourceList depthSorted(SourceList list)
|
||||
{
|
||||
SourceList dsl = list;
|
||||
dsl.sort(compare_depth);
|
||||
|
||||
return dsl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user