Hello! In Max 9 using the "new object with connection" command creates and connects the object correctly, however this also keeps the previous object selected. This hinders the shortcut flow a little bit, since it requires an extra navigation step in order to focus the newly created one via cmd+↓.
Managed to fix it by adding the following loop in connect_new_object() in maxtoolbox.js, but I'm writing this here instead of opening a pull request since I don't know about compatibility with previous Max versions (seems to work fine in Max 8 within Max For Live).
function connect_new_object(){
(...)
for (objs in objarray){
(...)
// Deselect previously selected object(s)
for (var i = 0; i < objarray.length; i++) {
objarray[i].obj.selected = false;
}
// Select only the newly created object
n.selected = true;
}
(...)
}
Hello! In Max 9 using the "new object with connection" command creates and connects the object correctly, however this also keeps the previous object selected. This hinders the shortcut flow a little bit, since it requires an extra navigation step in order to focus the newly created one via
cmd+↓.Managed to fix it by adding the following loop in
connect_new_object()inmaxtoolbox.js, but I'm writing this here instead of opening a pull request since I don't know about compatibility with previous Max versions (seems to work fine in Max 8 within Max For Live).