Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <william@reynish.com>2014-01-02 23:54:24 +0400
committerWilliam Reynish <william@reynish.com>2014-01-04 00:12:56 +0400
commit4d4222b7619de408ce0be3af667ed8cfdf729ebe (patch)
treee5d9dcb16bf596a021a13f056f1540ff98a75e13 /source/blender/nodes/texture/nodes/node_texture_valToRgb.c
parent975c048ecd3dc2fc4a391709696bcca5239448cf (diff)
Changed percentage and 0-1 number fields to use sliders. This is more consistent.
Reviewed by Brecht van Lommel, Thomas Dinges and Jonathan Williamson
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_valToRgb.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_valToRgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_valToRgb.c b/source/blender/nodes/texture/nodes/node_texture_valToRgb.c
index 8a913756dc8..7f8adab2da5 100644
--- a/source/blender/nodes/texture/nodes/node_texture_valToRgb.c
+++ b/source/blender/nodes/texture/nodes/node_texture_valToRgb.c
@@ -35,7 +35,7 @@
/* **************** VALTORGB ******************** */
static bNodeSocketTemplate valtorgb_in[] = {
- { SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE},
+ { SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{ -1, 0, "" }
};
static bNodeSocketTemplate valtorgb_out[] = {