Page MenuHome

Latest depsgraph changes, now Object.to_mesh(preserve_all_data_layers=True, depsgraph=depsgraph) results in mesh with no materials
Closed, ResolvedPublic

Description

Blender Version
Broken: blender-2.80.0-git.89207df7222a-windows64

Short description of error
Running Object.to_mesh(preserve_all_data_layers=True, depsgraph=depsgraph) results in a mesh with no materials.

Example:

Details

Type
Bug

Event Timeline

Tom Wilson (hedgehog90) renamed this task from Latest depsgraph change to_mesh(preserve_all_data_layers=True, depsgraph=depsgraph) clears mesh's materials to Latest depsgraph changes, now Object.to_mesh(preserve_all_data_layers=True, depsgraph=depsgraph) results in mesh with no materials.
Sergey Sharybin (sergey) triaged this task as Confirmed, High priority.May 28 2019, 4:45 PM

Developer note: this fix will be done much easier (if not actually resolved) with the change to mesh construction in modifier stack done in D4954.

Sergey Sharybin (sergey) closed this task as Resolved.May 29 2019, 11:03 AM

This issue is now fixed by rB2f7711962a6.

Thanks for the report, closing.