Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-02-11 07:54:45 +0300
committerHans Goudey <h.goudey@me.com>2021-02-11 07:54:45 +0300
commitb0e483c373c5eb047d021636804d7d01d6b05da2 (patch)
tree767cd8b04be8cc370af63eeadbc6494589b8ca8f
parented1945c801747830a9716cc9951ee2c59defabed (diff)
Fix ASAN report when creating attribute math node
The DNA struct name for the node storage was incorrect.
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc2
1 files changed, 1 insertions, 1 deletions
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);
}