瀏覽代碼

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