UI: Nodes: Adjust Propagation label and tooltips

Small tweaks to the "Warning Propagation" property in the sidebar:

* Rename `Warning Propagation` UI label to `Propagate`.
* Rename `All` to `All Messages`, so it's more descriptive.
* Sort menu items from more to less.
* Add tooltip descriptions.

See PR for details and screenshots.

Pull Request: https://projects.blender.org/blender/blender/pulls/153603
This commit is contained in:
Pablo Vazquez 2026-01-30 11:48:42 +01:00 • committed by Pablo Vazquez
parent af0c7bc409
commit 197aa96e49
2 changed files with 13 additions and 5 deletions

View file

@ -799,7 +799,7 @@ class NODE_PT_active_node_generic(Panel):
layout.prop(node, "label", icon='NODE')
if tree.type == 'GEOMETRY':
layout.prop(node, "warning_propagation")
layout.prop(node, "warning_propagation", text="Propagate")
class NODE_PT_active_node_color(Panel):

View file

@ -8756,14 +8756,22 @@ static void rna_def_node(BlenderRNA *brna)
PropertyRNA *parm;
static const EnumPropertyItem warning_propagation_items[] = {
{NODE_WARNING_PROPAGATION_ALL, "ALL", 0, "All", ""},
{NODE_WARNING_PROPAGATION_NONE, "NONE", 0, "None", ""},
{NODE_WARNING_PROPAGATION_ONLY_ERRORS, "ERRORS", 0, "Errors", ""},
{NODE_WARNING_PROPAGATION_ALL,
"ALL",
0,
"All Messages",
"Propagate every info, error, and warning message upstream"},
{NODE_WARNING_PROPAGATION_ONLY_ERRORS_AND_WARNINGS,
"ERRORS_AND_WARNINGS",
0,
"Errors and Warnings",
""},
"Propagate only error and warning messages upstream"},
{NODE_WARNING_PROPAGATION_ONLY_ERRORS,
"ERRORS",
0,
"Errors",
"Propagate only error messages upstream"},
{NODE_WARNING_PROPAGATION_NONE, "NONE", 0, "None", "Do not propagate any messages upstream"},
{0, nullptr, 0, nullptr, nullptr},
};