From b27ffee8f39a7ff05d21a68c863f2786937a2cb1 Mon Sep 17 00:00:00 2001 From: Paul-Minguet Date: Mon, 27 Mar 2023 16:20:30 +0200 Subject: [PATCH] Fix #105917: Correct compositing map range clamp tooltip The tooltip of the map range node in the compositing section was displaying that the output value was between 0.0 and 1.0 whereas it is between To Min and To Max value so I just changed the string. Pull Request: https://projects.blender.org/blender/blender/pulls/105924 --- source/blender/makesrna/intern/rna_nodetree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index e8fcb81c3d8..59e863a1107 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -6731,7 +6731,7 @@ static void def_cmp_map_range(StructRNA *srna) prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "custom1", 1); - RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0.0 to 1.0 range"); + RNA_def_property_ui_text(prop, "Clamp", "Clamp the result of the node to the target range"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); }