Page MenuHome

Fix T87236: crash reading file with grease pencil palettes
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Apr 6 2021, 4:37 PM.

Details

Summary

Caused by typo in rB76689e851700: Cleanup: use LISTBASE_FOREACH in readfile.c.

Since Palettes and bGPDpalette are not the same size, this would not
only cause a crash in versioning code, but could only go downhill from
here on.

Diff Detail

Repository
rB Blender
Branch
T87236 (branched from master)
Build Status
Buildable 13897
Build 13897: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Apr 6 2021, 4:37 PM
Philipp Oeser (lichtwerk) created this revision.

LGTM... great to catch this typo error.

This revision is now accepted and ready to land.Apr 6 2021, 4:39 PM

Uh that's bad, good catch, thanks.