Bug in "Simple ASCII Export.js" in new 7.4.2

This line in the "Simple ASCII Export.js" included in the new 7.4.2 update causes the script to fail:

file.writeln("color " + matcolor.r.toPrecision(3) + " " + matcolor.g.toPrecision(3) + " " + matcolor.b.toPrecision(3) + " " + matcolor.a.toPrecision(3));

The fish is to change it to:

file.writeln("color " + matcolor.x.toPrecision(3) + " " + matcolor.y.toPrecision(3) + " " + matcolor.z.toPrecision(3) + " " + matcolor.w.toPrecision(3));

I reported this in the General-Scripts section a few days ago.

Wayne
 
I've just fixed that bug. In the next update you can use the r,g,b and a properties again. Looks like I forgot to port these properties when I switch the Javascript engine.

Thanks for reporting.

Bye
Martin
 
Back
Top