<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 8/1/21 5:07 PM, Phil B wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMJMOeiJtG7csDr+zFP-GdNqe4b12fhgEZUqtQy4kt17gsx=bA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Nicola,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Aug 1, 2021 at 9:40
AM Nicola Mingotti via Cuis-dev <<a
href="mailto:cuis-dev@lists.cuis.st"
moz-do-not-send="true">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <br>
Hi Hiliaire,<br>
<br>
your method works. Thank you. It is better then my
fork+delay. <br>
<br>
Could you explain me a bit why the "doOneCycle" work ?</div>
</blockquote>
<div><br>
</div>
<div>It's forcing the same result as your fork/delay code was
trying to do in a more direct, efficient and immediate way.
Sometimes you need a morph to draw itself at least once,
which #doOneCycle is doing, to get some internal state you
need to access/modify fully initialized. If you find you
need to do this constantly with your own code, it may be a
warning sign that you're doing something wrong. (not
always: sometimes you know exactly what and why you're doing
it and it's the only way to achieve the result you need for
a complex set of Morph state) In this case, I think the
assumption that the script is being called before Morphic is
fully up and running is correct and this is probably a bug
to be fixed in the command line handling code rather than
anything you're doing wrong.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Phil </div>
</div>
</div>
</blockquote>
<br>
Thank you for the explanation Phil !<br>
<br>
bye<br>
Nicola<br>
<br>
<br>
</body>
</html>