Fix ASAN report when creating attribute math node

The DNA struct name for the node storage was incorrect.
This commit is contained in:
Hans Goudey 2021-02-10 22:54:45 -06:00
parent ed1945c801
commit b0e483c373
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}