diff options
author | YimingWu <xp8110@outlook.com> | 2021-07-28 14:55:29 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-07-28 14:55:29 +0300 |
commit | 8e9d06f5a0425255ce526e9c1aa7f852165749f0 (patch) | |
tree | 63810f0ac5e66ef5a1cb1be53035a6333a982b89 /source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | |
parent | 544ddcdaac20bab7707a49edbd31b8ae38446603 (diff) |
LineArt: Camera Overscan
Expand camera effective region to a portion beyond image frame so strokes won't end right at the border.
Reviewed By: Antonio Vazquez (antoniov)
Differential Revision: https://developer.blender.org/D12049
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index 8228915c6a8..ac458041ca3 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -380,6 +380,8 @@ static void options_panel_draw(const bContext *UNUSED(C), Panel *panel) return; } + uiItemR(layout, ptr, "overscan", 0, NULL, ICON_NONE); + uiLayout *col = uiLayoutColumn(layout, true); uiItemR(col, ptr, "use_remove_doubles", 0, NULL, ICON_NONE); |