Page MenuHome

Fix T101235: File with no mesh poly or loop layers crashes (option 2)
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Sep 22 2022, 12:23 AM.

Details

Summary
NOTE: See option 1: D16035

For a short time between rBf94130c94b24ac and rB01ed08690a3fea,
meshes could be created without necessary custom data layers when the
corresponding domains were empty. Some code relied on these layers
existing, other code didn't. Whether the layers were meant to be
required is unclear. This patch adds them if they were empty, aiming
to simplify the status by saying the layers should always exist.

Diff Detail

Repository
rB Blender