Page MenuHome

obj: move parsing utilities out of io_common, since they are fairly obj specific
ClosedPublic

Authored by Aras Pranckevicius (aras_p) on May 6 2022, 11:25 AM.

Details

Summary

As pointed out in https://developer.blender.org/rB213cd39b6db387bd88f12589fd50ff0e6563cf56#341113, the utilities are quite OBJ specific due to treating backslash as a line continuation character. It's unlikely that other formats need that.

No functionality changes, just pure code move (and renamed tests so that their names reflect obj).

Diff Detail

Repository
rB Blender

Event Timeline

Aras Pranckevicius (aras_p) requested review of this revision.May 6 2022, 11:25 AM
Aras Pranckevicius (aras_p) created this revision.

Looks good to me.

source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
15

*picky* suggest to enable clang-format on save (extra space here).

This revision is now accepted and ready to land.May 6 2022, 1:28 PM
Aras Pranckevicius (aras_p) marked an inline comment as done.May 6 2022, 1:55 PM