"Chris B" <nom### [at] nomailcom> wrote in message
> "SharkD" <nomail@nomail> wrote in message
>> In order for an object to be compliant, can I simply change all the
>> variables in
>> the include file to local scope? Or, must I also rename them all using
>> object's abbreviation?
> I would say that it is preferable to use the unique prefix everywhere as
> it makes it that little bit more robust in a wider range of circumstances.
Ricky has documented a condition (over on povray.general) that means we'll
need to actually make this a requirement for contributions to the Object
Collection. He's pointed out that if the person is already using a
particular Macro name in their scene files or include files (Macro names are
always global in scope) and uses an object from the collection containing a
local variable with the same name, then they will get errors when they try
to render it.
For future contributions to the Object Collection can everyone please
therefore prefix all variable names (even for local variables) with the
unique prefix by which their contribution is known (same as with global
declarations). Over time we'll need to go through and retro-fit that into
Post a reply to this message