Extended max size for group node types from 200 to 400, in case users need long socket names visible.
This commit is contained in:
@@ -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, 200);
|
||||
node_type_size(&ntype, 120, 60, 400);
|
||||
node_type_label(&ntype, node_group_label);
|
||||
node_type_update(&ntype, NULL, node_group_verify);
|
||||
|
||||
|
||||
@@ -410,7 +410,7 @@ void register_node_type_group_input(void)
|
||||
bNodeType *ntype = MEM_callocN(sizeof(bNodeType), "node type");
|
||||
|
||||
node_type_base(ntype, NODE_GROUP_INPUT, "Group Input", NODE_CLASS_INTERFACE, 0);
|
||||
node_type_size(ntype, 140, 80, 200);
|
||||
node_type_size(ntype, 140, 80, 400);
|
||||
node_type_init(ntype, node_group_input_init);
|
||||
node_type_update(ntype, node_group_input_update, node_group_input_verify);
|
||||
node_type_compatibility(ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
|
||||
@@ -497,7 +497,7 @@ void register_node_type_group_output(void)
|
||||
bNodeType *ntype = MEM_callocN(sizeof(bNodeType), "node type");
|
||||
|
||||
node_type_base(ntype, NODE_GROUP_OUTPUT, "Group Output", NODE_CLASS_INTERFACE, 0);
|
||||
node_type_size(ntype, 140, 80, 200);
|
||||
node_type_size(ntype, 140, 80, 400);
|
||||
node_type_init(ntype, node_group_output_init);
|
||||
node_type_update(ntype, node_group_output_update, node_group_output_verify);
|
||||
node_type_compatibility(ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
|
||||
|
||||
@@ -239,7 +239,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, 200);
|
||||
node_type_size(&ntype, 120, 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);
|
||||
|
||||
@@ -166,6 +166,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_label(&ntype, node_group_label);
|
||||
node_type_update(&ntype, NULL, node_group_verify);
|
||||
node_type_exec(&ntype, group_initexec, group_freeexec, group_execute);
|
||||
|
||||
Reference in New Issue
Block a user