|
|
Alain Martel <kua### [at] videotronca> wrote:
> The #local Z = Z - dz; is local to the for loop and distinct from the
> variable created with the #declare Z = 1 - dz/2;
> As soon as the local Z is declared, the global Z becomes invisible or
> hidden. That local Z disappears as soon as you exit the for loop.
>
> So, in your include, use only #local and only use #declare if you want
> to affect the global instance of your variables, like when you want to
> pass back some computed values.
This is all well and good, and sound advice in general; however, it does not
explain why it works in the standalone scene and fails to work when the same
exact code is run in an include file.
Post a reply to this message
|
|