diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-09-16 11:48:22 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-09-16 11:51:25 +0300 |
commit | 94ecad5809d00b60835ecec42bbd6a2a251e0760 (patch) | |
tree | d86d2d95ab345f18e898e24ae42208ce2cba8a62 /source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c | |
parent | 95b60634c7e34a7b6994fe73b26fb9e05bda5e2f (diff) |
Cleanup: Use const variables
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c index 21493ec60c0..ce75ca59fe1 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c @@ -67,7 +67,7 @@ static void deformStroke(GpencilModifierData *md, /* It makes sense when adding points to a straight line */ /* e.g. for creating thickness variation in later modifiers. */ - int minimum_vert = (mmd->flag | GP_SUBDIV_SIMPLE) ? 2 : 3; + const int minimum_vert = (mmd->flag | GP_SUBDIV_SIMPLE) ? 2 : 3; if (!is_stroke_affected_by_modifier(ob, mmd->layername, |