On Thu, Jun 21, 2012 at 3:44 PM, Stefan Marr <smalltalk@stefan-marr.de>wrote:
On 21 Jun 2012, at 15:11, Hilaire Fernandes wrote:
I want to see the animation of the growing morph. Instead I get nothing.
To get the animation, you have to enclose the loop in a forked process, but it is inelegant:
Isn't the doIt evaluated in the UI processes?
It is!
I bet there is a Morphic API that allows you to process the next drawing request.
Hmm, that sounds like forcing the framework... I think that having a second process is the right way...
If the doIt is not evaluated in the UI process, just to a `Processor yield` after every step you want to see.
Sometimes, when processing in different process, the correct way is to send updates to the UI process through World addDeferredUIMessage: [ ... ] Cheers, Guille
Best regards Stefan
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525