Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAras Pranckevicius <aras@nesnausk.org>2022-07-10 18:27:07 +0300
committerAras Pranckevicius <aras@nesnausk.org>2022-07-28 17:03:06 +0300
commit38f8dfa611158f9d529ec89f27d5732e91e27cf8 (patch)
tree2710e36d108967dd84de67273b265d8f84d8d491 /source/blender/io/wavefront_obj/tests/obj_importer_tests.cc
parent0167920d0bde3187a7ffb75d04541ece8c725a86 (diff)
Fix T99536: new 3.2 OBJ importer fails with trailing space after wrapped lines
Address the issue by re-working line continuation handling: stop trying to parse sequences like "backslash, newline" (which is the bug: it should also handle "backslash, possible whitespace, newline") during parsing. Instead, fixup line continuations after reading chunks of input file data - turn backslash and the following newline into spaces. The rest of parsing code does not have to be aware of them at all then. Makes the file attached to T99536 load correctly now. # Conflicts: # source/blender/io/common/intern/string_utils_test.cc # source/blender/io/wavefront_obj/importer/obj_import_string_utils.cc # source/blender/io/wavefront_obj/importer/obj_import_string_utils.hh
Diffstat (limited to 'source/blender/io/wavefront_obj/tests/obj_importer_tests.cc')
0 files changed, 0 insertions, 0 deletions