Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-23 12:38:56 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-23 12:39:47 +0300
commit1dea9701e6050e6ee60e3b754afa84ab45cd5154 (patch)
tree6f2aa81010fb7018f0741be7a3d55f52217a89c7 /source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc
parent9c7492e2e0f001c785bad1a5a1d6b8b0a9394642 (diff)
Cryptomatte: Default Node Size.
Set the min/max and default node size of the cryptomatte node.
Diffstat (limited to 'source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc')
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc
index 973864be7b3..23f9be77734 100644
--- a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc
+++ b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc
@@ -287,6 +287,7 @@ void register_node_type_cmp_cryptomatte(void)
cmp_node_type_base(&ntype, CMP_NODE_CRYPTOMATTE, "Cryptomatte", NODE_CLASS_MATTE, 0);
node_type_socket_templates(&ntype, cmp_node_cryptomatte_in, cmp_node_cryptomatte_out);
+ node_type_size(&ntype, 320, 140, 700);
node_type_init(&ntype, node_init_cryptomatte);
ntype.initfunc_api = node_init_api_cryptomatte;
ntype.poll = node_poll_cryptomatte;