Blender Git Loki

Git Commits -> Revision 7345438

Revision 7345438 by Ankit Meel (soc-2020-io-performance)
August 21, 2020, 19:51 (GMT)
Use blender::StringRef instead of std::string_view.

Context:
{rB9616e2ef78f0}
{rBc521b69ffb68}

In MTL parser, `Vector.first_index_of_try` result was being compared
with `string::npos` which gave correct results since `npos` is -1,
but is wrong semantically. So fix it.

Commit Details:

Full Hash: 73454388fb4d026114928fecb131a52adcf63442
Parent Commit: ae12253
Lines Changed: +78, -82

4 Modified Paths:

/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.cc (+72, -76) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_file_reader.hh (+1, -1) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_objects.cc (+2, -2) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_im_objects.hh (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021