[Bf-blender-cvs] [b0e483c373c] master: Fix ASAN report when creating attribute math node

Hans Goudey noreply at git.blender.org
Thu Feb 11 05:54:53 CET 2021


Commit: b0e483c373c5eb047d021636804d7d01d6b05da2
Author: Hans Goudey
Date:   Wed Feb 10 22:54:45 2021 -0600
Branches: master
https://developer.blender.org/rBb0e483c373c5eb047d021636804d7d01d6b05da2

Fix ASAN report when creating attribute math node

The DNA struct name for the node storage was incorrect.

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

M	source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc
index 5844edfbbb7..076f7a9ee28 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc
@@ -290,6 +290,6 @@ void register_node_type_geo_attribute_math()
   node_type_update(&ntype, blender::nodes::geo_node_attribute_math_update);
   node_type_init(&ntype, geo_node_attribute_math_init);
   node_type_storage(
-      &ntype, "NodeAttributeCompare", node_free_standard_storage, node_copy_standard_storage);
+      &ntype, "NodeAttributeMath", node_free_standard_storage, node_copy_standard_storage);
   nodeRegisterType(&ntype);
 }



More information about the Bf-blender-cvs mailing list