An arg was left in that should have been removed, raised an error for reflect MTL...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 29 Oct 2006 19:56:52 +0000 (19:56 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 29 Oct 2006 19:56:52 +0000 (19:56 +0000)
release/scripts/import_obj.py

index 9717a8f95c8413636653b40dd0aedb635a132d26..75e57ae864d74d182b14c79e41871892f5cabe0b 100644 (file)
@@ -200,7 +200,7 @@ def create_materials(filepath, material_libs, unique_materials, unique_material_
                                        
                                        elif line_lower.startswith('refl'): # Reflectionmap
                                                img_filepath= line_value(line.split())
                                        
                                        elif line_lower.startswith('refl'): # Reflectionmap
                                                img_filepath= line_value(line.split())
-                                               load_material_image(context_material, context_material_name, img_filepath, 'refl', meshDict)
+                                               load_material_image(context_material, context_material_name, img_filepath, 'refl')
                        mtl.close()
 
 
                        mtl.close()