From 9c47d99a1b438b32f1a378d7fb47428a2dc3e18e Mon Sep 17 00:00:00 2001 From: Harel Dan Date: Thu, 13 Dec 2018 18:18:04 +0200 Subject: [PATCH] fix function call in example (cherry picked from commit 1c74e0b04d18248947f5b995358ea096ebaf7b03) --- resources/function_help/json/ramp_color | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/function_help/json/ramp_color b/resources/function_help/json/ramp_color index 2e018edb965f..40753eb28e00 100644 --- a/resources/function_help/json/ramp_color +++ b/resources/function_help/json/ramp_color @@ -14,6 +14,6 @@ "variant_description": "Returns a string representing a color from an expression-created ramp", "arguments": [ {"arg":"ramp","description":"the color ramp"}, {"arg":"value","description":"the position on the ramp to select the color from as a real number between 0 and 1"}], - "examples": [ { "expression":"ramp_color(create_array(map(0,'0,0,0',1,'255,0,0')),1)", "returns":"'255,0,0,255'"} ] + "examples": [ { "expression":"ramp_color(create_ramp(map(0,'0,0,0',1,'255,0,0')),1)", "returns":"'255,0,0,255'"} ] }] }