Skip to content
Snippets Groups Projects
Commit c8c166df authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for missing import

parent 273df5e7
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,7 @@ def make_material_texture_chunk(id, images):
def add_image(img):
import os
import bpy
filename = bpy.path.basename(image.filepath)
mat_sub_file = _3ds_chunk(MATMAPFILE)
mat_sub_file.add_variable("mapfile", _3ds_string(sane_name(filename)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment