diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-06-23 20:11:52 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-06-23 20:20:02 +0300 |
commit | 11a390e85e2b1358f2167d86490a1c9abec17ea6 (patch) | |
tree | 8d2ebd2ae6725952c973dd8e13a37f0b6a243dff /source/blender/shader_fx/intern/FX_shader_pixel.c | |
parent | f3a8192ef78100dc03e00be6cd75e35d10e98fd2 (diff) |
GPencil: Implement antialiasing parameter to Pixel FX
Related to T78153
Differential Revision: https://developer.blender.org/D8100
Diffstat (limited to 'source/blender/shader_fx/intern/FX_shader_pixel.c')
-rw-r--r-- | source/blender/shader_fx/intern/FX_shader_pixel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_pixel.c b/source/blender/shader_fx/intern/FX_shader_pixel.c index b22dae1064d..bdc4f141017 100644 --- a/source/blender/shader_fx/intern/FX_shader_pixel.c +++ b/source/blender/shader_fx/intern/FX_shader_pixel.c @@ -68,6 +68,8 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemFullR(col, &ptr, prop, 0, 0, 0, IFACE_("Size X"), ICON_NONE); uiItemFullR(col, &ptr, prop, 1, 0, 0, IFACE_("Y"), ICON_NONE); + uiItemR(layout, &ptr, "use_antialiasing", 0, NULL, ICON_NONE); + shaderfx_panel_end(layout, &ptr); } |