I spent over an hour to locate a bug in my SDL code... There is none! But I
found that adding a semicolon after declaring my texture fixes the problem..
How comes this? Maybe I'm just not aware of this new development - that
semicolons after texture declarations keeps the parser from being confused..
Is this behaviour intentional? Here's an example:
#macro Define_Plastic( Pigment_1 )
#local Plastic=texture { pigment { rgb 1 }
}; // SEMICOLON FIXES THE PROBLEM
Plastic
#end
#local White_Plastic=Define_Plastic( 1 )
Regards,
Hugo
Post a reply to this message
|