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:
authorJacques Lucke <jacques@blender.org>2021-09-15 17:35:33 +0300
committerJacques Lucke <jacques@blender.org>2021-09-15 17:35:33 +0300
commite456a9de57f0ade56a2b38f3278492b7ac692dce (patch)
tree2cfcad4217b8637d788eac481f7de721e7ec0f38 /source/blender/nodes/NOD_node_declaration.hh
parent46fff97604ae167473ecd4c0cd9108dc20ba22e3 (diff)
Cleanup: avoid passing redundant parameter
Diffstat (limited to 'source/blender/nodes/NOD_node_declaration.hh')
-rw-r--r--source/blender/nodes/NOD_node_declaration.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/NOD_node_declaration.hh b/source/blender/nodes/NOD_node_declaration.hh
index 8ca2b411a38..d64b76ccbb9 100644
--- a/source/blender/nodes/NOD_node_declaration.hh
+++ b/source/blender/nodes/NOD_node_declaration.hh
@@ -76,19 +76,19 @@ class SocketDeclarationBuilder : public BaseSocketDeclarationBuilder {
friend class NodeDeclarationBuilder;
public:
- Self &hide_label(bool value)
+ Self &hide_label(bool value = true)
{
decl_->hide_label_ = value;
return *(Self *)this;
}
- Self &hide_value(bool value)
+ Self &hide_value(bool value = true)
{
decl_->hide_value_ = value;
return *(Self *)this;
}
- Self &multi_input(bool value)
+ Self &multi_input(bool value = true)
{
decl_->is_multi_input_ = value;
return *(Self *)this;