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.
This commit is contained in:
2013-05-21 20:21:46 +00:00
parent 6a290d8e2a
commit 07ee0e6f7d
67 changed files with 23 additions and 71 deletions

View File

@@ -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;
}
}