diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-05-29 19:38:51 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-05-29 19:38:51 +0400 |
commit | 2757153d02a8264013aecc0e56c19d504a966c72 (patch) | |
tree | a8f027af32cdbdccfcbaf8ddf8c7838f33510f97 /source/blender/nodes/shader/nodes/node_shader_valToRgb.c | |
parent | ff42bfe242ca79d90d30742e07e2e2dc71447930 (diff) |
Cleanup: Removed all NODE_OPTIONS flags from C node type definitions, these are no longer required and have no effect. Whether or not a node supports additional options buttons is now determined by the
existence of a draw callback (uifunc and/or uifuncbut).
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_valToRgb.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_valToRgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_valToRgb.c b/source/blender/nodes/shader/nodes/node_shader_valToRgb.c index aae672d279e..a6c1e9501cb 100644 --- a/source/blender/nodes/shader/nodes/node_shader_valToRgb.c +++ b/source/blender/nodes/shader/nodes/node_shader_valToRgb.c @@ -75,7 +75,7 @@ void register_node_type_sh_valtorgb(void) { static bNodeType ntype; - sh_node_type_base(&ntype, SH_NODE_VALTORGB, "ColorRamp", NODE_CLASS_CONVERTOR, NODE_OPTIONS); + sh_node_type_base(&ntype, SH_NODE_VALTORGB, "ColorRamp", NODE_CLASS_CONVERTOR, 0); node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING); node_type_socket_templates(&ntype, sh_node_valtorgb_in, sh_node_valtorgb_out); node_type_init(&ntype, node_shader_init_valtorgb); |