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:
authorCampbell Barton <campbell@blender.org>2022-11-08 08:58:37 +0300
committerCampbell Barton <campbell@blender.org>2022-11-08 08:58:37 +0300
commit642ff82f749dc480875e2047eb5e9a9227f59093 (patch)
tree337729f263df8cc9ead4bd43e033a7a7d41a43ea /source/blender/blenkernel/intern/displist.cc
parent3c1fb9aea1c843f9a60e538505eadfce95fdf728 (diff)
Cleanup: format, remove commented code & unused variable
Diffstat (limited to 'source/blender/blenkernel/intern/displist.cc')
-rw-r--r--source/blender/blenkernel/intern/displist.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.cc b/source/blender/blenkernel/intern/displist.cc
index f8117a89198..2e285170b93 100644
--- a/source/blender/blenkernel/intern/displist.cc
+++ b/source/blender/blenkernel/intern/displist.cc
@@ -533,7 +533,8 @@ static ModifierData *curve_get_tessellate_point(const Scene *scene,
}
if (md->type == eModifierType_Smooth) {
- /* Smooth modifier works with mesh edges explicitly (so needs tesselation, thus cannnot work on control points). */
+ /* Smooth modifier works with mesh edges explicitly
+ * (so needs tessellation, thus cannot work on control points). */
md->mode &= ~eModifierMode_ApplyOnSpline;
return pretessellatePoint;
}