Page 1 of 1

MeshLoop

Posted: Sat Nov 14, 2009 7:42 pm
by Kjell
:!:

MeshLoops don't seem to loop / continue properly when no adjustments ( for example due to a condition ) are made to the Mesh during a iteration.

K

Posted: Mon Nov 16, 2009 2:39 pm
by VilleK
Each iteration of a meshloop must output a mesh. So if you use a Condition-component then insert a blank MeshExpression for the branch not taken.

I will check if I can easily change this behavior in the code so that it is more forgiving.

Posted: Mon Nov 16, 2009 3:39 pm
by Kjell
Ah,

Hadn't though about that solution :)

Thanks ~
K