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
path: root/source
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2022-02-26 00:01:17 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2022-02-26 00:01:17 +0300
commit72a286760f3f2e759839c63a2a1b588aeca17e9d (patch)
tree8086cd965c732f765bafb6ea167c54c228a5bc2f /source
parentc8b4e0c0b5f874906d746637c5a006d990b72e49 (diff)
Fix compile warning from earlier commit.
Diffstat (limited to 'source')
-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 df798ccd490..0d910212aa1 100644
--- a/source/blender/blenkernel/intern/subdiv_modifier.c
+++ b/source/blender/blenkernel/intern/subdiv_modifier.c
@@ -76,8 +76,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);
}