[fix] fix various issues

- add edit mode switch before bm export to prevent potential error
- let the default value of ZBuffer in Virtools Material become True
- fix the issue that duplicated elements adder do not understand enable option.
This commit is contained in:
2023-01-10 19:35:15 +08:00
parent e7376a3e9c
commit 7680d11c0e
5 changed files with 15 additions and 4 deletions

View File

@ -105,7 +105,7 @@ def parse_material_nodes(mtl):
# return value
return (True,
mtl_ambient, mtl_diffuse, mtl_specular, mtl_emissive, mtl_specularPower,
False, False, False, False,
False, False, True, False,
mtl_texture
)