Bug?

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Bug?

Post by y offs et »

The quit function doesn't set a preview run to stop. I was trying to use quit() as a break point in debugging. Either a bug or a possible feature request.
User avatar
VilleK
Site Admin
Posts: 2382
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Good point. I should be able to fix that.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

Bug? #2

I have found that if you change the appState from a modelState \ onStart-list,

onLeave components in that modelState that had been activated during previous modelState changes,

are ignored on that leave.

To be more precise, I had a bool that was checked by the onRender of the appState, and I set a condition where modelState-onStart would eventually trip the bool. When that happened, it appears that the modelState never got past onRender to get to onLeave.
I fixed it by creating another modelState and had the onStart call that modelState instead, and I set the bool trip there.

I guess it makes sense, but it's an interesting flow tripper to watch out for.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

Bug? #3

So trifling small, it doesn't warrant a bug post.

FileAction Read&Write - when you change the name of the file, it is automatically updated in the choices drop-down, but not in the generated comment line in the project tree.
Post Reply