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))
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))