Nodes: make default group nodes slighly wider, to match other node width defaults.
This commit is contained in:
parent
97409c93fa
commit
1e3f8b517b
Notes:
blender-bot
2023-02-14 10:46:10 +01:00
Referenced by issue #39815, inset deforming mesh and peaks come out
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue