Well, Klaus, we were both right. Your event behavior has changed with version 1.17. In earlier versions, the onnewpano and onnewscene events were fired when loadpano action was called to load an xml file that only contained <scene> elements. In version 1.17, in my testing, these events get fired only after a loadscene action is called.
I have hundreds of panorama node locations in my application, and I have a separate xml file for each location, and each location xml file has one or more <scene> elements within it. When the user of my application moves to a new location, I call loadpano to load the xml file for that location, and I was waiting for the onnewpano event to be fired after calling loadpano to call loadscene to display the first scene at the location (but since it never came in 1.17 I never made the necessary loadscene call). For 1.17 I am now instead listening for the onxmlcomplete event following the loadpano before making the initial loadscene call.
I had been listening for onnewpano instead of onxmlcomplete as a precaution against race conditions. It does seem to be working in 1.17 to use the onxmlcomplete event, but do I have any risk of race conditions in doing so, and if so which event should I be listening for to mark the completion of the loadpano processing before calling loadscene?
I actually think that the new event structure is better, but some additional detailed documentation of exactly which events get fired in what order following which actions would be helpful.
Cheers,
Larry Wieland