Mesh: Replace auto smooth with node group #108014

Merged
Hans Goudey merged 149 commits from HooglyBoogly/blender:refactor-mesh-corner-normals-lazy into main 2023-10-20 16:54:20 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit a879546ec3 - Show all commits

View File

@ -2122,7 +2122,7 @@ static bNodeTree *add_auto_smooth_node_tree(Main &bmain)
{
greater_node->locx = -160.0f;
greater_node->locy = -100.0f;
auto *storage = static_cast<NodeFunctionCompare *>(store_node->storage);
auto *storage = static_cast<NodeFunctionCompare *>(greater_node->storage);
storage->operation = NODE_COMPARE_GREATER_THAN;
storage->data_type = SOCK_FLOAT;
}