Full BSDF
This commit is contained in:
@ -2514,6 +2514,9 @@ class LeenkxExporter:
|
||||
# Ensure the same order for merging materials
|
||||
self.material_array.sort(key=lambda x: x.name)
|
||||
|
||||
from lnx.material import mat_state
|
||||
mat_state.next_ext_mat_id = 3
|
||||
|
||||
if wrd.lnx_batch_materials:
|
||||
mat_users = self.material_to_object_dict
|
||||
mat_lnxusers = self.material_to_lnx_object_dict
|
||||
@ -2526,9 +2529,6 @@ class LeenkxExporter:
|
||||
decals_used = False
|
||||
sss_used = False
|
||||
|
||||
from lnx.material import mat_state
|
||||
mat_state.next_ext_mat_id = 3
|
||||
|
||||
for material in self.material_array:
|
||||
# If the material is unlinked, material becomes None
|
||||
if material is None:
|
||||
|
||||
Reference in New Issue
Block a user