diff options
author | Jacques Lucke <jacques@blender.org> | 2021-03-31 17:25:23 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-03-31 17:25:39 +0300 |
commit | 482a42c0f6ee2e64cf74d16630654a6a142a16c9 (patch) | |
tree | f280f92d736171370edcd80a94906f097f696f01 | |
parent | 23bd6cff81464994b635e9daf33d57ec32055a31 (diff) |
Fix T87087: attributes were removed automatically even though they are still needed
The geometry nodes modifier did not specify that it needs all custom data layers.
Therefore the modifier evaluation code tagged some layers so that they will not be
copied later on by calling `mesh_set_only_copy` in `mesh_calc_modifiers`.
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 8f9aa5c89ad..72842a1d32d 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -1370,6 +1370,7 @@ static void requiredDataMask(Object *UNUSED(ob), /* We don't know what the node tree will need. If there are vertex groups, it is likely that the * node tree wants to access them. */ r_cddata_masks->vmask |= CD_MASK_MDEFORMVERT; + r_cddata_masks->vmask |= CD_MASK_PROP_ALL; } ModifierTypeInfo modifierType_Nodes = { |