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-28 21:02:44 +00:00
2012-05-12 20:39:39 +00:00
2012-02-17 18:59:41 +00:00
2012-03-30 13:04:29 +00:00
2012-05-12 20:39:39 +00:00
2012-05-24 23:50:20 +00:00
2012-05-12 20:39:39 +00:00
2012-03-03 20:19:11 +00:00
2012-05-12 20:39:39 +00:00
2012-02-17 18:59:41 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-16 23:37:23 +00:00
2012-05-12 20:39:39 +00:00
2012-05-15 12:26:29 +00:00
2012-05-12 20:39:39 +00:00
2012-05-15 18:34:00 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-16 23:37:23 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-24 13:52:25 +00:00
2012-05-12 20:39:39 +00:00
2012-05-05 14:52:04 +00:00
2012-05-12 20:39:39 +00:00
2012-05-05 14:03:12 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-03-02 16:05:54 +00:00
2012-05-12 20:39:39 +00:00
2012-05-17 15:26:11 +00:00
2012-05-05 14:03:12 +00:00
2012-05-22 13:59:58 +00:00
2012-05-05 16:03:57 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-07 06:38:41 +00:00
2012-05-22 15:28:44 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-11 08:05:47 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-22 14:13:33 +00:00
2012-05-22 15:29:57 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-11 08:05:47 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-02-17 18:59:41 +00:00
2012-05-12 20:39:39 +00:00
2012-02-17 18:59:41 +00:00
2012-05-12 20:39:39 +00:00
2012-05-22 14:13:33 +00:00
2012-05-12 20:39:39 +00:00
2012-05-19 13:28:19 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-10 15:22:29 +00:00
2012-05-05 16:03:57 +00:00
2012-05-12 20:39:39 +00:00
2012-03-03 20:19:11 +00:00
2012-04-25 03:44:01 +00:00
2012-05-05 14:52:04 +00:00
2012-05-12 20:39:39 +00:00
2012-05-03 23:41:28 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-05-05 14:03:12 +00:00
2012-05-07 09:30:15 +00:00
2012-05-12 20:39:39 +00:00
2012-05-07 09:30:15 +00:00
2012-05-17 23:12:15 +00:00
2012-05-12 20:39:39 +00:00
2012-05-12 20:39:39 +00:00
2012-04-24 12:57:58 +00:00