Blender Git Commit Log

Git Commits -> Revision 945f32e

Revision 945f32e by Bastien Montagne (master)
July 22, 2015, 09:58 (GMT)
Fix crash with recent refactor of customdata writing.

Caused by own rBff3d535bc2a6309 - since we now only write the exact amount of layers
needed to store saved customdata, we have to adjust CustomData->maxlayer too.

Otherwise, on next read, customdata code believes it has more layers allocated than
actual number.

Issue reported by Campbell over IRC, thanks.

Commit Details:

Full Hash: 945f32e66d6ada2a05b7700a197209b9c66b4682
Parent Commit: cf60027
Lines Changed: +1, -0

1 Modified Path:

/source/blender/blenkernel/intern/customdata.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021