Config nodes do what they should do now. UX is still off, modifier keys do different things on MidiNodes and ConfigNodes.
This commit is contained in:
+2
-5
@@ -70,14 +70,11 @@ namespace VISEQ::APP {
|
||||
}
|
||||
|
||||
int highest_id = 0;
|
||||
Node hid;
|
||||
for(auto n : graph.at("gm").at("nodes")){
|
||||
std::cout << n << std::endl;
|
||||
if(n.is_object()){
|
||||
Node mn = n.template get<Node>();
|
||||
if(mn.id > highest_id) {
|
||||
highest_id = mn.id;
|
||||
hid = mn;
|
||||
if(n.at("id").get<int>() > highest_id) {
|
||||
highest_id = n.at("id").get<int>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user