diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 124654539ed20cb846fed0a27fb19d63cc462281..5d385e0a629bd01ea84429d221f87b50ee85e954 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -501,10 +501,15 @@ def create_materials(filepath, material_libs, unique_materials, unique_material_ if do_fresnel: context_material.raytrace_mirror.raytrace_mirror.fresnel = 1.0 # could be any value for 'ON' + """ if do_raytrace: context_material.use_raytrace = True else: context_material.use_raytrace = False + """ + # XXX, this is not following the OBJ spec, but this was + # written when raytracing wasnt default, annoying to disable for blender users. + context_material.use_raytrace = True elif line_lower.startswith(b'map_ka'): img_filepath = line_value(line.split())