Page 1 of 1

set appState

Posted: Sat May 08, 2010 10:41 pm
by y offs et
If you have a setAppstate as a child of app.onLoaded, and during the process of development you wish to set setAppState.state to (none) to check something, upon compile the program crashes.
This is annoying, as you have to remove the component for a small adjustment in your program, and then add the component again.

Posted: Sun May 09, 2010 9:58 am
by VilleK
I tried reproducing this but I'm not sure I understand what you mean. Can you please explain some more?

Posted: Sun May 09, 2010 10:57 am
by Kjell
Hi guys,

When you build a application that uses a SetAppState which is set to NULL, the executable will crash. Not sure why this is a issue though .. since it works just fine in the Editor ( which is where you do your development ).

@ y_offs_et : Perhaps you can have a empty AppState in your project during development to which you point your SetAppState to instead?

K

Posted: Sun May 09, 2010 2:16 pm
by VilleK
Ah, now I understand. This is a bug. Fixed now and beta updated.