Files
test/source/blender
Nicholas Bishop 3d98da9b0f Fix for bug [#31613] Cycles 3d viewport material display mode + skin modifier related crash
When in material display mode, mesh_calc_modifiers() calculates the
orco DerivedMesh, which uses a different CustomDataMask. In
particular, it does not necessarily include the current modifier's
requiredDataMask, so those layers might get set to NO_COPY. For the
skin modifier, this resulted in a crash when the modifier internally
copies the DerivedMesh and the output does not contain the expected
MVertSkin layer.

Fixed by adding the requiredDataMask to the orco DM's CustomDataMask.

Also added a debugging function to customdata.c:
customData_mask_layers__print(CustomDataMask mask);

This will print out the names of all the CD layer types in the mask.
2012-05-28 21:02:44 +00:00
..
2012-05-20 21:23:26 +00:00
2012-05-27 20:13:59 +00:00
2012-05-27 20:13:59 +00:00
2012-05-25 09:51:53 +00:00
2012-05-27 20:13:59 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 11:10:27 +00:00
2012-05-27 20:13:59 +00:00
2012-05-17 12:49:33 +00:00
2012-05-27 21:56:19 +00:00
2012-05-27 20:13:59 +00:00
2012-05-17 12:49:33 +00:00
2012-05-17 12:49:33 +00:00