Maniphest T96470

New .obj exporter: Material groups not being written
Closed, ResolvedBUG

Assigned To
Aras Pranckevicius (aras_p)
Authored By
Lazar Vukanović (Corvus262)
Mar 14 2022, 9:57 PM
Tags
  • BF Blender
  • Import/Export
  • Pipeline, Assets & I/O
Subscribers
Lazar Vukanović (Corvus262)

Description

System Information
Operating system: Linux-5.16.14-arch1-1-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD Radeon RX 570 Series (POLARIS10, DRM 3.44.0, 5.16.14-arch1-1, LLVM 13.0.1) AMD 4.6 (Core Profile) Mesa 21.3.7

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: rBc77597cd0e15
Worked: "Blender v3.0.0 Release Candidate", written in the last file that exported correctly

Short description of error
Exporting to .obj with "Material Groups" checkbox filled does not write any material groups data into the resulting file.

Exact steps for others to reproduce the error
Assign a few materials to the default cube's material slots, export with "Material Groups" checked. The resulting file does not contain any material group data.

In the 3.0 obj exporter, material groups option was producing .obj file with lines like:

g Cube_Cube_Blue
usemtl Blue

but in the new exporter there's no g line corresponding to the material group.

Revisions and Commits

rB Blender
Closed

Event Timeline

Lazar Vukanović (Corvus262) created this task.Mar 14 2022, 9:57 PM
Aras Pranckevicius (aras_p) changed the task status from Needs Triage to Confirmed.Mar 15 2022, 1:24 PM
Aras Pranckevicius (aras_p) claimed this task.
Aras Pranckevicius (aras_p) renamed this task from Export .obj: Material groups not being written to New .obj exporter: Material groups not being written.Mar 15 2022, 1:26 PM
Aras Pranckevicius (aras_p) updated the task description.
Aras Pranckevicius (aras_p) edited projects, added BF Blender, Import/Export, Pipeline, Assets & I/O; removed Add-ons (Community).
Bastien Montagne (mont29) changed the subtype of this task from "Report" to "Bug".Mar 15 2022, 5:44 PM
Bastien Montagne (mont29) moved this task from Backlog to Bugs on the Pipeline, Assets & I/O board.
Howard Trickey (howardt) closed this task as Resolved by committing rBb9123b806fc4: Fix T96470 new obj exporter writing material groups.Mar 20 2022, 2:01 PM
Howard Trickey (howardt) added a commit: rBb9123b806fc4: Fix T96470 new obj exporter writing material groups.
Aras Pranckevicius (aras_p) added a commit: rB1781c6002ae9: Fix T96470 new obj exporter writing material groups.Mar 23 2022, 12:23 PM