Fix #31596: wrong soft limits for light falloff node.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 29 May 2012 10:34:10 +0000 (10:34 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 29 May 2012 10:34:10 +0000 (10:34 +0000)
source/blender/nodes/shader/nodes/node_shader_light_falloff.c

index 8ee0f0adef6c5bba9dd8a7360085f74a6f0df526..182255880591de14978be8bff100d6c99b5a8422 100644 (file)
@@ -30,8 +30,8 @@
 /* **************** INPUT ********************* */
 
 static bNodeSocketTemplate sh_node_light_falloff_in[]= {
-       {       SOCK_FLOAT, 0, "Strength",                      100.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
-       {       SOCK_FLOAT, 0, "Smooth",                        0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
+       {       SOCK_FLOAT, 0, "Strength",                      100.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1000000.0f},
+       {       SOCK_FLOAT, 0, "Smooth",                        0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1000.0f},
        {       -1, 0, ""       }
 };