|
|
@ -281,11 +281,10 @@ class MeshConverter(_MeshManager): |
|
|
|
if check_layer_shading_animation(base_layer): |
|
|
|
if check_layer_shading_animation(base_layer): |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
# Reject emissive and shadeless because the kLiteMaterial equation has lots of options |
|
|
|
# kShadeWhite (used for shadeless) is not handled for kLiteVtxNonPreshaded |
|
|
|
# that are taken away by VtxNonPreshaded that are useful here. |
|
|
|
|
|
|
|
if material_idx is not None: |
|
|
|
if material_idx is not None: |
|
|
|
bm = mesh.materials[material_idx] |
|
|
|
bm = mesh.materials[material_idx] |
|
|
|
if bm.emit or bm.use_shadeless: |
|
|
|
if bm.use_shadeless: |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
mods = bo.plasma_modifiers |
|
|
|
mods = bo.plasma_modifiers |
|
|
|