Obj/mtl displace texture import error #43116

Closed
opened 2015-01-04 00:28:38 +01:00 by JA 12 · 7 comments

Ubuntu 14.04/Gnome 3, Nvidia graphics

Broken: 2.72b 9e963ae, 2.73.1 c24b694

Importing an .obj with .mtl (exported from Blender) produces an error if there is a image texture set to influence material displacement.

By the looks of it, it fails in file
2.72/scripts/addons/io_scene_obj/import_obj.py
on line 228, where it tries to check dissolve property in the .mtl but disp property matches the comparison so it tries to assign a path instead of value.

Exact steps for others to reproduce the error
Assign a image texture for material and set it to influence displacement. Export as .obj. Start a new file, import .obj.

Test files attached
obj_import_test.zip

Ubuntu 14.04/Gnome 3, Nvidia graphics Broken: 2.72b 9e963ae, 2.73.1 c24b694 Importing an .obj with .mtl (exported from Blender) produces an error if there is a image texture set to influence material displacement. By the looks of it, it fails in file 2.72/scripts/addons/io_scene_obj/import_obj.py on line 228, where it tries to check dissolve property in the .mtl but disp property matches the comparison so it tries to assign a path instead of value. **Exact steps for others to reproduce the error** Assign a image texture for material and set it to influence displacement. Export as .obj. Start a new file, import .obj. Test files attached [obj_import_test.zip](https://archive.blender.org/developer/F135020/obj_import_test.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @ja12

Added subscriber: @ja12
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Bastien Montagne self-assigned this 2015-01-04 09:50:51 +01:00

This issue was referenced by df3640b0f5

This issue was referenced by df3640b0f5c016c3a507cbd731a6f8e5c57b4d08

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit df3640b0f5.

Closed by commit df3640b0f5.

This issue was referenced by 64f5aa7ce6

This issue was referenced by 64f5aa7ce6f085e4bce2c2b58bb98f0b3784f34d
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#43116
No description provided.