ogl_editor: select first track initially
When getting the tracks from the demo, select the first one when it comes, otherwise we end up focused in the editor but nothing selected.
This commit is contained in:
parent
5248597c58
commit
69b4f1a6ad
@ -772,6 +772,9 @@ static int processCommands()
|
||||
// find track
|
||||
|
||||
serverIndex = TrackData_createGetTrack(&s_editorData.trackData, trackName);
|
||||
// if it's the first one we get, select it too
|
||||
if (serverIndex == 0)
|
||||
setActiveTrack(0);
|
||||
|
||||
// setup remap and send the keyframes to the demo
|
||||
RemoteConnection_mapTrackName(trackName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user