diff --git a/source/blender/nodes/function/nodes/node_fn_bit_math.cc b/source/blender/nodes/function/nodes/node_fn_bit_math.cc index 744f5bb1edb..02e544bb80d 100644 --- a/source/blender/nodes/function/nodes/node_fn_bit_math.cc +++ b/source/blender/nodes/function/nodes/node_fn_bit_math.cc @@ -121,6 +121,8 @@ static void node_label(const bNodeTree * /*ntree*/, const bNode *node, char *lab { char name[64] = {0}; const char *operation_name = IFACE_("Unknown"); + /* NOTE: This assumes that the matching RNA enum property also uses the default i18n context, and + * needs to be kept manually in sync. */ RNA_enum_name_gettexted( bit_math_operation_items.data(), node->custom1, BLT_I18NCONTEXT_DEFAULT, &operation_name); SNPRINTF(name, IFACE_("Bitwise %s"), operation_name);