When exporting a layer filled with meshes that have a common material with a specular intensity of "1", and among these meshes is one that's got a material with a specular intensity of "0", many exported objects end up losing their specularity.
Expected result: only the objects with a material of specular intensity "0" should have an ATTR_shiny_rat of 0, and all other objects should retain their specular intensity of "1".
Actual result: even ONE object with a different specular intensity can screw up all other objects. That breaks WYSIWYG, as an object whose material is set properly in Blender may end up exported with a wrong shininess value, if another material is preset that trips the "ATTR_shiny_rat" attribute.
When exporting a layer filled with meshes that have a common material with a specular intensity of "1", and among these meshes is one that's got a material with a specular intensity of "0", many exported objects end up losing their specularity.
Expected result: only the objects with a material of specular intensity "0" should have an ATTR_shiny_rat of 0, and all other objects should retain their specular intensity of "1".
Actual result: even ONE object with a different specular intensity can screw up all other objects. That breaks WYSIWYG, as an object whose material is set properly in Blender may end up exported with a wrong shininess value, if another material is preset that trips the "ATTR_shiny_rat" attribute.