From: Matt K. <ra...@ch...> - 2004-03-26 18:00:17
|
> > All, > > Working on that middle layer. :) I reduced some of trackwin's dependence on > global variables tonight, but it ain't pretty. Tomorrow I'll tackle handling > selection, which should make it possible to clean up everything I did > tonight. :) Mostly I changed a lot of calls to separate global variables to > calls within gProject. It's not quite the nice API I'm trying to build yet, > though. I might have to implement a track interface at that time, which will > be good to get rid of the tSong class. > > I hope I didn't break anything with this commit, but I probably did. :( It > still builds, though. :) Yup, it's broke. :) When starting JAZZ, it dumps core at Project.cpp:32. It's trying to access mRecInfo->Track, but mRecInfo points to nothing. This is in the contructor, so, not sure where mRecInfo should be created. I just put a quick "mRecInfo = new tRecordInfo;" at the start of the constructor func and it now runs. Matt |