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:
authorHans Goudey <h.goudey@me.com>2022-02-26 01:23:14 +0300
committerHans Goudey <h.goudey@me.com>2022-02-26 01:23:14 +0300
commit1598ab9639a8ccc6bbed3d12bd9faf7eab5ecbd8 (patch)
treea249602f8e1e3b5813e04d7c90fb72905e7cbe07 /source/blender/blenkernel/intern/subdiv_modifier.c
parentbdf4e1596d4560c0bb1d79cd5344b3e6524e1037 (diff)
parent7aa0be4b32bdbee61ea732f43175c8bc6585fc98 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/blenkernel/intern/subdiv_modifier.c')
-rw-r--r--source/blender/blenkernel/intern/subdiv_modifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_modifier.c b/source/blender/blenkernel/intern/subdiv_modifier.c
index 48b3bb2acef..95a5946d7d3 100644
--- a/source/blender/blenkernel/intern/subdiv_modifier.c
+++ b/source/blender/blenkernel/intern/subdiv_modifier.c
@@ -60,8 +60,8 @@ bool BKE_subsurf_modifier_use_custom_loop_normals(const SubsurfModifierData *smd
CustomData_has_layer(&mesh->ldata, CD_CUSTOMLOOPNORMAL);
}
-bool subsurf_modifier_use_autosmooth_or_split_normals(const SubsurfModifierData *smd,
- const Mesh *mesh)
+static bool subsurf_modifier_use_autosmooth_or_split_normals(const SubsurfModifierData *smd,
+ const Mesh *mesh)
{
return (mesh->flag & ME_AUTOSMOOTH) || BKE_subsurf_modifier_use_custom_loop_normals(smd, mesh);
}