Fix: Mistaken node legacy enum change in recent refactor

Mistake in b43e2168e3.
This commit is contained in:
Hans Goudey
2025-01-03 10:03:02 -05:00
parent 05603e0a64
commit c01b7ff9ad
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ void register_node_type_sh_combxyz()
static blender::bke::bNodeType ntype;
sh_fn_node_type_base(&ntype, SH_NODE_COMBXYZ, "Combine XYZ", NODE_CLASS_CONVERTER);
ntype.enum_name_legacy = "COMBINE_XYZ";
ntype.enum_name_legacy = "COMBXYZ";
ntype.declare = file_ns::sh_node_combxyz_declare;
ntype.gpu_fn = file_ns::gpu_shader_combxyz;
ntype.build_multi_function = file_ns::sh_node_combxyz_build_multi_function;

View File

@@ -557,7 +557,7 @@ void register_node_type_sh_vect_math()
static blender::bke::bNodeType ntype;
sh_fn_node_type_base(&ntype, SH_NODE_VECTOR_MATH, "Vector Math", NODE_CLASS_OP_VECTOR);
ntype.enum_name_legacy = "VECTOR_MATH";
ntype.enum_name_legacy = "VECT_MATH";
ntype.declare = file_ns::sh_node_vector_math_declare;
ntype.draw_buttons = file_ns::node_shader_buts_vect_math;
ntype.labelfunc = node_vector_math_label;