Sculpt-dev: fix gcc compile error

This commit is contained in:
Joseph Eagar 2021-11-19 07:01:17 -08:00
parent bcf91617b3
commit 605a06975c
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ void BKE_id_attributes_active_color_set(ID *id, CustomDataLayer *active_layer)
fprintf(stderr, "%s: vertex colors not supported for this type\n", __func__);
}
if (!ref || !ref->type) {
return NULL;
return;
}
DomainInfo info[ATTR_DOMAIN_NUM];