Преглед изворни кода

Merge pull request #10581 from Sebasdc/export_double_sided_attribute

Export doubleSided attribute
Mr.doob пре 8 година
родитељ
комит
ad482004b7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      utils/exporters/blender/addons/io_three/exporter/api/mesh.py

+ 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