Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-31 17:25:23 +0300
committerJacques Lucke <jacques@blender.org>2021-03-31 17:25:39 +0300
commit482a42c0f6ee2e64cf74d16630654a6a142a16c9 (patch)
treef280f92d736171370edcd80a94906f097f696f01 /source/blender/modifiers/intern/MOD_nodes.cc
parent23bd6cff81464994b635e9daf33d57ec32055a31 (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`.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_nodes.cc')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes.cc1
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 = {