Skip to content

Commit

Permalink
Merge pull request #8665 from hareldunn/patch-1
Browse files Browse the repository at this point in the history
fix function call in example
  • Loading branch information
luipir authored Dec 13, 2018
2 parents 8c07c99 + 1c74e0b commit 5b7f808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/ramp_color
Original file line number Diff line number Diff line change
Expand Up @@ -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'"} ]
}]
}

0 comments on commit 5b7f808

Please sign in to comment.