[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

@ -53,7 +53,7 @@ class BALLANCE_PG_virtools_material(bpy.types.PropertyGroup):
z_buffer: bpy.props.BoolProperty(
name="Z Buffer",
description="ZFunc: VXCMP_LESSEQUAL.",
default=False,
default=True,
)
two_sided: bpy.props.BoolProperty(