1
1

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: blender/blender#105924
This commit is contained in:
2023-03-27 16:20:30 +02:00
committed by Hans Goudey
parent 0a4b5eb73e
commit b27ffee8f3

View File

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