[Solved]SceneManager's clearScene destroys Listener

wynnj

08-09-2010 23:36:27

Since Listener is a MoveableObject, clearScene destroys it. I do not see a straight forward way to recreate the Listener without altering OgreOggSoundManager. Is there a proper way to handle this case?

stickymango

09-09-2010 10:03:41

Hmmm, this is true and I couldn't see an elegant way of handling this automatically.

Maybe a public createListener() function is required to overcome this for now until I can find a better way... :?

stickymango

09-09-2010 10:38:23

Added.

wynnj

09-09-2010 13:19:44

Awesome! Much appreciated!