Fix T62318: Blender crash whith 'corrupt' customdata (CD_BWEIGHT).
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Mar 2019 14:54:39 +0000 (15:54 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Mar 2019 16:53:31 +0000 (17:53 +0100)
commit18d470e5e44dae79bd571b604d03e7bda92aa501
tree1a50ec8c5bb3178e0b05755d8e420320b28b2d62
parent8730984c708bdde6a2cf29fc4f29bd50c05b349c
Fix T62318: Blender crash whith 'corrupt' customdata (CD_BWEIGHT).

Mistake in rBab0bc65c24bd, in conversion of static 'common' sets of
masks, BWEIGHT slipped in CD_MASK_MESH (probably from copy/paste from
CD_MASK BAREMESH).

Note that having it in CD_MASK_BAREMESH but not CD_MASK_MESH looks rather
counter-intuitive, but this is not the time for that kind of cleanup.

Went over whole conversion again, and found two other mistakes, should
really have recheck that before committing...
source/blender/blenkernel/intern/customdata.c