Page MenuHome

Cycles: Fix missing attribute update.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Jun 2 2022, 3:18 PM.

Details

Summary

Found this while working on D15101. Cycles would incorrectly not update the ATTR_STD_UV attribute, because it existed on the old and new attributes list, but with different names.
That happened because the new ATTR_STD_UV was added first, without removing the old ATTR_STD_UV, so there were two attributes of that type. Since the code is always doing a linear search to find attributes, only the layer that was added first was found.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Jun 2 2022, 3:18 PM
Jacques Lucke (JacquesLucke) created this revision.
This revision is now accepted and ready to land.Jun 2 2022, 4:25 PM
This revision was automatically updated to reflect the committed changes.