Nodes: make default group nodes slighly wider, to match other node width defaults.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 20 Apr 2014 12:36:09 +0000 (14:36 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 20 Apr 2014 12:47:46 +0000 (14:47 +0200)
source/blender/nodes/composite/nodes/node_composite_common.c
source/blender/nodes/shader/nodes/node_shader_common.c
source/blender/nodes/texture/nodes/node_texture_common.c

index 69f912346f63d7132dd6fafb976a698e48aa6d59..36c12693bdf4e96c5f4c3d847fd13f27023ee9e8 100644 (file)
@@ -58,7 +58,7 @@ void register_node_type_cmp_group(void)
        RNA_struct_blender_type_set(ntype.ext.srna, &ntype);
        
        node_type_socket_templates(&ntype, NULL, NULL);
-       node_type_size(&ntype, 120, 60, 400);
+       node_type_size(&ntype, 140, 60, 400);
        node_type_label(&ntype, node_group_label);
        node_type_update(&ntype, NULL, node_group_verify);
 
index de30b92f8fea97614d36d6c9c3349be7204b7881..7ff60ac716a7ac044e96cfff1f3075695e8d4662 100644 (file)
@@ -243,7 +243,7 @@ void register_node_type_sh_group(void)
        
        node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
        node_type_socket_templates(&ntype, NULL, NULL);
-       node_type_size(&ntype, 120, 60, 400);
+       node_type_size(&ntype, 140, 60, 400);
        node_type_label(&ntype, node_group_label);
        node_type_update(&ntype, NULL, node_group_verify);
        node_type_exec(&ntype, group_initexec, group_freeexec, group_execute);
index 7e65c472eefe0d3b0491dee2863eef4212046017..914f1ef5110513e27f983917983223e19a09c703 100644 (file)
@@ -172,7 +172,7 @@ void register_node_type_tex_group(void)
        RNA_struct_blender_type_set(ntype.ext.srna, &ntype);
        
        node_type_socket_templates(&ntype, NULL, NULL);
-       node_type_size(&ntype, 120, 60, 400);
+       node_type_size(&ntype, 140, 60, 400);
        node_type_label(&ntype, node_group_label);
        node_type_update(&ntype, NULL, node_group_verify);
        node_type_exec(&ntype, group_initexec, group_freeexec, group_execute);