so replace
Code: Select all
$mti_GEN_diffuse += "\t\t<random_triangle_colours>"//true
+ mti_GEN_boolToString($randomTris)
+ "</random_triangle_colours>\r\n";
Code: Select all
if($randomTris)
$mti_GEN_diffuse += "\t\t<random_triangle_colours>true</random_triangle_colours>\r\n";
Maybe CTZn placed that middle code by mistake, I do not know, do you?
EDIT: I forgot to tell the file name->mti_GEN_.mel