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:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-05-29 19:38:51 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-05-29 19:38:51 +0400
commit2757153d02a8264013aecc0e56c19d504a966c72 (patch)
treea8f027af32cdbdccfcbaf8ddf8c7838f33510f97 /source/blender/nodes/texture/nodes/node_texture_distance.c
parentff42bfe242ca79d90d30742e07e2e2dc71447930 (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_distance.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_distance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_distance.c b/source/blender/nodes/texture/nodes/node_texture_distance.c
index 6d76133c1d0..97d2d8f2caf 100644
--- a/source/blender/nodes/texture/nodes/node_texture_distance.c
+++ b/source/blender/nodes/texture/nodes/node_texture_distance.c
@@ -65,7 +65,7 @@ void register_node_type_tex_distance(void)
{
static bNodeType ntype;
- tex_node_type_base(&ntype, TEX_NODE_DISTANCE, "Distance", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
+ tex_node_type_base(&ntype, TEX_NODE_DISTANCE, "Distance", NODE_CLASS_CONVERTOR, 0);
node_type_socket_templates(&ntype, inputs, outputs);
node_type_storage(&ntype, "node_distance", NULL, NULL);
node_type_exec(&ntype, NULL, NULL, exec);