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_proc.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_proc.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_proc.c b/source/blender/nodes/texture/nodes/node_texture_proc.c
index f7e7a585ae2..26cec3f7345 100644
--- a/source/blender/nodes/texture/nodes/node_texture_proc.c
+++ b/source/blender/nodes/texture/nodes/node_texture_proc.c
@@ -302,7 +302,7 @@ void register_node_type_tex_proc_##name(void) \
\
tex_node_type_base(&ntype, TEX_NODE_PROC+TEXTYPE, Name, NODE_CLASS_TEXTURE, NODE_PREVIEW | NODE_OPTIONS); \
node_type_socket_templates(&ntype, name##_inputs, outputs); \
- node_type_size(&ntype, 140, 80, 140); \
+ node_type_size_preset(&ntype, NODE_SIZE_MIDDLE); \
node_type_init(&ntype, init); \
node_type_storage(&ntype, "Tex", node_free_standard_storage, node_copy_standard_storage); \
node_type_exec(&ntype, NULL, NULL, name##_exec); \