Cycles: make principled BSDF node wider in the node editor by default.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 19 Feb 2018 22:47:42 +0000 (23:47 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 21 Feb 2018 23:55:32 +0000 (00:55 +0100)
source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c

index cd83139dcaab3d20ed4f0f95a1128e77c13d5f17..1b335e6270f32cc94decee58be2d4f8d5a409bcc 100644 (file)
@@ -105,7 +105,7 @@ void register_node_type_sh_bsdf_principled(void)
        sh_node_type_base(&ntype, SH_NODE_BSDF_PRINCIPLED, "Principled BSDF", NODE_CLASS_SHADER, 0);
        node_type_compatibility(&ntype, NODE_NEW_SHADING);
        node_type_socket_templates(&ntype, sh_node_bsdf_principled_in, sh_node_bsdf_principled_out);
-       node_type_size_preset(&ntype, NODE_SIZE_MIDDLE);
+       node_type_size_preset(&ntype, NODE_SIZE_LARGE);
        node_type_init(&ntype, node_shader_init_principled);
        node_type_storage(&ntype, "", NULL, NULL);
        node_type_gpu(&ntype, node_shader_gpu_bsdf_principled);