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:
authorHenrik Dick <hen-di@web.de>2022-03-01 21:32:02 +0300
committerHenrik Dick <hen-di@web.de>2022-03-01 21:32:02 +0300
commit6498688e274836a66d9075edfe79fd3572334427 (patch)
tree165895429e4e87c0271a01b08cecde2d4c1840c7 /source/blender/gpencil_modifiers
parent444d57d440459304a248ba75e1936b69be4d09dd (diff)
GPencil: Improve subdivision modifier
The subdivision modifier for Grease Pencil handles closed strokes correctly now and does converge to the same shape as the mesh subdivision surface. Differential Revision: http://developer.blender.org/D14218
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c
index 5e916a13f2c..dcec2865f29 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c
@@ -79,11 +79,6 @@ static void deformStroke(GpencilModifierData *md,
short type = gps->totpoints < 3 ? GP_SUBDIV_SIMPLE : mmd->type;
BKE_gpencil_stroke_subdivide(gpd, gps, mmd->level, type);
-
- /* If the stroke is cyclic, must generate the closing geometry. */
- if (gps->flag & GP_STROKE_CYCLIC) {
- BKE_gpencil_stroke_close(gps);
- }
}
static void bakeModifier(struct Main *UNUSED(bmain),