diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-11 07:54:45 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-11 07:54:45 +0300 |
commit | b0e483c373c5eb047d021636804d7d01d6b05da2 (patch) | |
tree | 767cd8b04be8cc370af63eeadbc6494589b8ca8f /source/blender/nodes | |
parent | ed1945c801747830a9716cc9951ee2c59defabed (diff) |
Fix ASAN report when creating attribute math node
The DNA struct name for the node storage was incorrect.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc | 2 |
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); } |