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_p>2022-03-20 15:59:16 +0300
committerAras Pranckevicius <aras@nesnausk.org>2022-03-23 14:08:17 +0300
commit1781c6002ae935af9c611dc90e12a56faaa6ed68 (patch)
tree4b4a22fae2ff09dcd05dd3aaf0c4e0bf85423d2a /source/blender/io/wavefront_obj/exporter/obj_exporter.cc
parent9ed566efb67a20c66e6d8c2965546b89bdd9764e (diff)
Fix T96470 new obj exporter writing material groups
The logic in the code was _completely different_ from the documentation and what the python exporter in 3.0 did. The new code assumed that "export material groups" meant "append material name to the object name", and was only ever kicking in when the "export object groups" option was also checked. But the proper behavior (as in 3.0 exporter & the online docs), is to emit g objectname_materialname before each usemtl line. Which is something entirely else. Cherry picked from b9123b806fc4 (D14349) with minor conflict fixes.
Diffstat (limited to 'source/blender/io/wavefront_obj/exporter/obj_exporter.cc')
0 files changed, 0 insertions, 0 deletions