Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/wavefront_obj/importer/obj_importer.cc
| Context not available. | |||||
| OBJParser obj_parser{import_params, read_buffer_size}; | OBJParser obj_parser{import_params, read_buffer_size}; | ||||
| obj_parser.parse(all_geometries, global_vertices); | obj_parser.parse(all_geometries, global_vertices); | ||||
| for (StringRef mtl_library : obj_parser.mtl_libraries()) { | for (StringRefNull mtl_library : obj_parser.mtl_libraries()) { | ||||
| MTLParser mtl_parser{mtl_library, import_params.filepath}; | MTLParser mtl_parser{mtl_library, import_params.filepath}; | ||||
| mtl_parser.parse_and_store(materials); | mtl_parser.parse_and_store(materials); | ||||
| } | } | ||||
| Context not available. | |||||