self.separate_mesh = False
self.shared_mesh = True
self.separate_tech = False
- self.external_tech = True
self.shared_tech = True
self.export_lods = True
mat = l.material_slots[0].material.name
if mat!=prev_tech[1]:
same_tech = False
- if self.external_tech and l.technique!=prev_tech[0]:
+ if l.technique!=prev_tech[0]:
same_tech = False
if i==0 or not same_tech:
self.export_object_technique(l, mesh, out_file, i)
from .outfile import open_output
path, name = external_name(out_file, ".tech", lod_index)
- if self.external_tech and obj.technique:
+ if obj.technique:
if obj.inherit_tech and material and (obj.override_material or material.texture_slots):
out_file.begin("technique")
out_file.begin("inherit", '"{}"'.format(obj.technique))