fixed [#23400] Unable to import *.3ds/*.obj files with textures
[blender.git] / release / scripts / io / import_scene_3ds.py
index 266f7001cc2d9a0d2588f97920773eb4058ad027..6378d93df62c361616e75e102f56e11bad83d519 100644 (file)
@@ -364,7 +364,7 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH):
                         bmesh.faces[fidx].material_index = mat_idx
                         uf = uv_faces[fidx]
                         uf.image = img
-                        uf.tex = True
+                        uf.use_image = True
                 else:
                     for fidx in faces:
                         bmesh.faces[fidx].material_index = mat_idx