diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 03:57:39 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 03:57:39 +0400 |
commit | a72047b197c4d5ba7c87541aa9aa2cbef97c2f9e (patch) | |
tree | 2aecbb0958386903e3a5fe916efb42d22b453b2a /source/blender | |
parent | ef3824b7133ee4c3337bcfebd7cc1326013a0b76 (diff) |
Increase min/max range for Value input nodes. More useful when using Math nodes (inverting sign was impossible using value input in CMP before).
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_value.c | 2 | ||||
-rw-r--r-- | source/blender/nodes/intern/SHD_nodes/SHD_value.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_value.c b/source/blender/nodes/intern/CMP_nodes/CMP_value.c index 576fb37dc45..14a3b6fe15c 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_value.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_value.c @@ -31,7 +31,7 @@ /* **************** VALUE ******************** */ static bNodeSocketType cmp_node_value_out[]= { - { SOCK_VALUE, 0, "Value", 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Value", 0.5f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_value.c b/source/blender/nodes/intern/SHD_nodes/SHD_value.c index 77e0ec3bba3..1663ea352aa 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_value.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_value.c @@ -31,7 +31,7 @@ /* **************** VALUE ******************** */ static bNodeSocketType sh_node_value_out[]= { - { SOCK_VALUE, 0, "Value", 0.5f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f}, + { SOCK_VALUE, 0, "Value", 0.5f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f}, { -1, 0, "" } }; |