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-10-27 16:42:02 +0300
committerJacques Lucke <jacques@blender.org>2021-10-27 16:42:02 +0300
commit059e5a8a4c49975545308fc9204edcfc671d4426 (patch)
tree16c80c1a39958460e50b842132745ef327176100
parent62928b618adab0b5e8b766602ededfe8a26e719c (diff)
Geometry Nodes: use true as default in Set Shade Smooth node
The node is typically only added to enable smooth shading. So this default is much more useful.
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc b/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc
index 9404f424c86..c88264ebe94 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_set_shade_smooth.cc
@@ -22,7 +22,7 @@ static void geo_node_set_shade_smooth_declare(NodeDeclarationBuilder &b)
{
b.add_input<decl::Geometry>("Geometry").supported_type(GEO_COMPONENT_TYPE_MESH);
b.add_input<decl::Bool>("Selection").default_value(true).hide_value().supports_field();
- b.add_input<decl::Bool>("Shade Smooth").supports_field();
+ b.add_input<decl::Bool>("Shade Smooth").supports_field().default_value(true);
b.add_output<decl::Geometry>("Geometry");
}