CAAT icon indicating copy to clipboard operation
CAAT copied to clipboard

Inconsistencies when hiding actor after a end of a behavior

Open arnuschky opened this issue 12 years ago • 0 comments

CAAT seems to require that actors are rendered (setVisible / setFrameTime) well beyond the end of the last behavior.

If you call setVisible(false) directly at or shortly after the end of an animation, CAAT will get into an inconsistent state:

actorBehavior.setFrameTime(scene.time, 1000);
actor.setFrameTime(scene.time, 1000);

causes the problem, while

actorBehavior.setFrameTime(scene.time, 1000);
actor.setFrameTime(scene.time, 1010);

seems to work fine. (Same result when using a timer and setVisible(false))

arnuschky avatar Sep 09 '13 14:09 arnuschky