[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:
@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user