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/texture/nodes/node_texture_curves.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/texture/nodes/node_texture_curves.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_curves.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_curves.c b/source/blender/nodes/texture/nodes/node_texture_curves.c index 42e3df99075..897157e3f61 100644 --- a/source/blender/nodes/texture/nodes/node_texture_curves.c +++ b/source/blender/nodes/texture/nodes/node_texture_curves.c @@ -71,7 +71,7 @@ void register_node_type_tex_curve_time(void) { static bNodeType ntype; - tex_node_type_base(&ntype, TEX_NODE_CURVE_TIME, "Time", NODE_CLASS_INPUT, NODE_OPTIONS); + tex_node_type_base(&ntype, TEX_NODE_CURVE_TIME, "Time", NODE_CLASS_INPUT, 0); node_type_socket_templates(&ntype, NULL, time_outputs); node_type_size_preset(&ntype, NODE_SIZE_LARGE); node_type_init(&ntype, time_init); @@ -115,7 +115,7 @@ void register_node_type_tex_curve_rgb(void) { static bNodeType ntype; - tex_node_type_base(&ntype, TEX_NODE_CURVE_RGB, "RGB Curves", NODE_CLASS_OP_COLOR, NODE_OPTIONS); + tex_node_type_base(&ntype, TEX_NODE_CURVE_RGB, "RGB Curves", NODE_CLASS_OP_COLOR, 0); node_type_socket_templates(&ntype, rgb_inputs, rgb_outputs); node_type_size_preset(&ntype, NODE_SIZE_LARGE); node_type_init(&ntype, rgb_init); |