diff options
author | Jacques Lucke <jacques@blender.org> | 2021-02-15 12:36:35 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-02-15 12:36:35 +0300 |
commit | ef02e1be5dd38c59e7be5ed740ad936f60003188 (patch) | |
tree | a9664f62cdf0708e1be84a8a08e8daa88eeceecb /source | |
parent | 32060ca1f137d2d92fca9a73a75a877431ece0a0 (diff) |
Fix: incorrect versioning for Attribute Randomize node
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 4980d748d0f..b8ca2f17fd2 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -1711,7 +1711,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) continue; } LISTBASE_FOREACH (bNode *, node, &ntree->nodes) { - if (node->type == GEO_NODE_POINT_INSTANCE && node->storage == NULL) { + if (node->type == GEO_NODE_ATTRIBUTE_RANDOMIZE && node->storage == NULL) { NodeAttributeRandomize *data = (NodeAttributeRandomize *)MEM_callocN( sizeof(NodeAttributeRandomize), __func__); data->data_type = node->custom1; |