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:
authorThomas Dinges <blender@dingto.org>2013-05-22 21:24:52 +0400
committerThomas Dinges <blender@dingto.org>2013-05-22 21:24:52 +0400
commitf594e9b6acfe47d4f36282a787aa201c87bda37a (patch)
treec0d17f47393bc54e365f331180f1e09e694f2dd6 /source/blender/nodes/texture/nodes/node_texture_output.c
parent1840cb84b2c9fd38c01def6ae9702736c0b1e32e (diff)
Texture Nodes:
* Use node size presets as well, some nodes were too small and also too limited in max size.
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_output.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_output.c b/source/blender/nodes/texture/nodes/node_texture_output.c
index f4086ed1eec..bdd3b5547cb 100644
--- a/source/blender/nodes/texture/nodes/node_texture_output.c
+++ b/source/blender/nodes/texture/nodes/node_texture_output.c
@@ -164,7 +164,7 @@ void register_node_type_tex_output(void)
tex_node_type_base(&ntype, TEX_NODE_OUTPUT, "Output", NODE_CLASS_OUTPUT, NODE_PREVIEW|NODE_OPTIONS);
node_type_socket_templates(&ntype, inputs, NULL);
- node_type_size(&ntype, 150, 60, 200);
+ node_type_size_preset(&ntype, NODE_SIZE_MIDDLE);
node_type_init(&ntype, init);
node_type_storage(&ntype, "TexNodeOutput", node_free_standard_storage, copy);
node_type_exec(&ntype, NULL, NULL, exec);