[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:
@ -221,7 +221,7 @@ def _create_or_get_material(material_name, prefs_externalTexture):
|
||||
try_item['data']['ambient'], try_item['data']['diffuse'],
|
||||
try_item['data']['specular'], try_item['data']['emissive'],
|
||||
try_item['data']['power'],
|
||||
False, False, False, False,
|
||||
False, False, True, False,
|
||||
texture)
|
||||
)
|
||||
break
|
||||
|
Reference in New Issue
Block a user