[Bf-blender-cvs] [605a06975cc] sculpt-dev: Sculpt-dev: fix gcc compile error

Joseph Eagar noreply at git.blender.org
Fri Nov 19 16:01:28 CET 2021


Commit: 605a06975cc4695e25e4554e35851e3f1c543081
Author: Joseph Eagar
Date:   Fri Nov 19 07:01:17 2021 -0800
Branches: sculpt-dev
https://developer.blender.org/rB605a06975cc4695e25e4554e35851e3f1c543081

Sculpt-dev: fix gcc compile error

===================================================================

M	source/blender/blenkernel/intern/attribute.c

===================================================================

diff --git a/source/blender/blenkernel/intern/attribute.c b/source/blender/blenkernel/intern/attribute.c
index f20281b806d..20142fd4f2e 100644
--- a/source/blender/blenkernel/intern/attribute.c
+++ b/source/blender/blenkernel/intern/attribute.c
@@ -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];



More information about the Bf-blender-cvs mailing list