I’m trying to insert a new audio track with a SelectionManger:
auto tip = te::TrackInsertPoint(nullptr, te::getAllTracks(edit).getLast());
edit.insertNewAudioTrack(tip, &selectionManager);
However, I’m getting an assertion at:
SelectableClass* SelectableClass::findClassFor (const Selectable& s)
It seems to not be able to find a SelectableClass that applies to the object?