Commit: 4ae8c52a951badc30d3868c0984ea022606546c8
Author: Hans Goudey
Date:   Mon Jan 2 10:39:55 2023 -0500
Branches: master
https://developer.blender.org/rB4ae8c52a951badc30d3868c0984ea022606546c8

Fix: Set active color attribute copy & paste mistake

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

M       source/blender/makesrna/intern/rna_attribute.c

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

diff --git a/source/blender/makesrna/intern/rna_attribute.c 
b/source/blender/makesrna/intern/rna_attribute.c
index 98b3fa8553e..f2afbdcce2b 100644
--- a/source/blender/makesrna/intern/rna_attribute.c
+++ b/source/blender/makesrna/intern/rna_attribute.c
@@ -712,9 +712,9 @@ static void 
rna_AttributeGroup_active_color_name_set(PointerRNA *ptr, const char
   ID *id = ptr->owner_id;
   if (GS(id->name) == ID_ME) {
     Mesh *mesh = (Mesh *)id;
-    MEM_SAFE_FREE(mesh->default_color_attribute);
+    MEM_SAFE_FREE(mesh->active_color_attribute);
     if (value[0]) {
-      mesh->default_color_attribute = BLI_strdup(value);
+      mesh->active_color_attribute = BLI_strdup(value);
     }
   }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to