Scene Updating Issue

How come a scene stops updating when the jme frame is no longer in focus? Is there a way to disable this so that the scene always updates?

Ohh… good Question!



I do also want to know why this is happening :wink:

(it also stops updating while running in windowed mode)

there is a flag in the application class called pauseOnFocus or something…

set this to false at application startup and it should be ok…

This option is useful for fullscreen applications where you want them to pause after doing Alt-Tab for example. It's possible to disable it by calling app.setPauseOnLostFocus(false)

Momoko_Fan said:

This option is useful for fullscreen applications where you want them to pause after doing Alt-Tab for example. It's possible to disable it by calling app.setPauseOnLostFocus(false)

Ooh, awesome. I find it really difficult to debug an app if it pauses whenever I switch to Eclipse to try and debug it :P

very awesome :slight_smile: