Fix: incorrect versioning for Attribute Randomize node

This commit is contained in:
Jacques Lucke 2021-02-15 10:36:35 +01:00
parent 32060ca1f1
commit ef02e1be5d
1 changed files with 1 additions and 1 deletions

View File

@ -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;