[Bf-blender-cvs] [84e92f9b3c5] master: Cycles: make principled BSDF node wider in the node editor by default.

Brecht Van Lommel noreply at git.blender.org
Thu Feb 22 00:58:55 CET 2018


Commit: 84e92f9b3c50433221a4c30f3a14713d99680f3a
Author: Brecht Van Lommel
Date:   Mon Feb 19 23:47:42 2018 +0100
Branches: master
https://developer.blender.org/rB84e92f9b3c50433221a4c30f3a14713d99680f3a

Cycles: make principled BSDF node wider in the node editor by default.

===================================================================

M	source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c

===================================================================

diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c
index cd83139dcaa..1b335e6270f 100644
--- a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c
+++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c
@@ -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);



More information about the Bf-blender-cvs mailing list