Blender Git Commit Log
Git Commits -> Revision 360ea0a
Revision 360ea0a by Ankit Meel (soc-2020-io-performance) June 27, 2020, 20:44 (GMT) |
Replace char * with string in texture map types. Review update rB827869a45bccbf1e016580b#271046 (by Jacques Lucke) As mentioned in his comments, `Map` will do a pointer comparison for `char *` keys. So string would be better. Even though the `lookup` has been removed, `std::string` is still okay. Also instead of iterating over `Map.keys()`, and then looking up value, now it's iterating over a key-value pair: `Map<T, T>::item` of strings. Minor comment changes. |
Commit Details:
Full Hash: 360ea0a715faffd6ac4f346fbda110ef5ca19475
Parent Commit: eadc232
Lines Changed: +8, -8
1 Modified Path:
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mtl.cc (+8, -8) (Diff)