Sfoglia il codice sorgente

Merge pull request #10581 from Sebasdc/export_double_sided_attribute

Export doubleSided attribute
Mr.doob 8 anni fa
parent
commit
ad482004b7

+ 1 - 0
utils/exporters/blender/addons/io_three/exporter/api/mesh.py

@@ -706,6 +706,7 @@ def materials(mesh, options):
             constants.BLENDING: material.blending(mat),
             constants.DEPTH_TEST: material.depth_test(mat),
             constants.DEPTH_WRITE: material.depth_write(mat),
+            constants.DOUBLE_SIDED: material.double_sided(mat),
             constants.DBG_NAME: mat.name,
             constants.DBG_COLOR: dbg_color,
             constants.DBG_INDEX: index