Files
test/source/blender/blenkernel/intern
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-19 13:55:54 +00:00
2012-05-27 20:13:59 +00:00
2012-05-19 13:55:54 +00:00
2012-05-27 19:40:36 +00:00
2012-04-29 15:47:02 +00:00
2012-05-27 19:40:36 +00:00
2012-05-06 17:22:54 +00:00
2012-05-27 19:40:36 +00:00
2012-05-22 22:03:41 +00:00
2012-05-22 22:03:41 +00:00
2012-05-27 19:40:36 +00:00
2012-05-12 16:11:34 +00:00
2012-05-23 22:45:39 +00:00
2012-05-27 19:40:36 +00:00
2012-05-20 19:49:27 +00:00
2012-05-20 19:49:27 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-20 19:49:27 +00:00
2012-05-27 19:40:36 +00:00
2012-05-12 16:11:34 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 20:13:59 +00:00
2012-05-22 13:59:58 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-20 19:49:27 +00:00
2012-05-06 17:22:54 +00:00
2012-05-27 19:40:36 +00:00
2012-05-06 17:22:54 +00:00
2012-05-12 16:11:34 +00:00
2012-05-27 19:40:36 +00:00
2012-05-27 19:40:36 +00:00
2012-05-12 16:11:34 +00:00
2012-05-27 19:40:36 +00:00
2012-05-12 16:11:34 +00:00
2012-05-27 19:40:36 +00:00
2012-05-20 19:49:27 +00:00
2012-05-23 22:45:39 +00:00
2012-05-12 16:11:34 +00:00
2012-05-20 19:49:27 +00:00