diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-22 00:21:46 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-22 00:21:46 +0400 |
commit | 07ee0e6f7db72c93040a6c78d543657e12e60864 (patch) | |
tree | f6de1e2ce03629437681db0759d4c5e3a924a2bf /source/blender/blenkernel/intern | |
parent | 6a290d8e2ac2e23be10dddf086a103df7343a6ed (diff) |
Shader Nodes:
* Use unified node sizes, as already was done with compositor nodes. Only Mapping node uses a custom size. This way we don't have too small nodes on creation anymore.
* Don't show Script Category for Blender Internal nodes.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index ad046af964f..f3892a5bf50 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -3204,8 +3204,11 @@ void node_type_size_preset(struct bNodeType *ntype, eNodeSizePreset size) case NODE_SIZE_SMALL: node_type_size(ntype, 100, 80, 320); break; + case NODE_SIZE_MIDDLE: + node_type_size(ntype, 150, 120, 320); + break; case NODE_SIZE_LARGE: - node_type_size(ntype, 140, 120, 500); + node_type_size(ntype, 240, 140, 320); break; } } |