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:
authorAntonio Vazquez <blendergit@gmail.com>2020-06-23 20:11:52 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-06-23 20:20:02 +0300
commit11a390e85e2b1358f2167d86490a1c9abec17ea6 (patch)
tree8d2ebd2ae6725952c973dd8e13a37f0b6a243dff /source/blender/shader_fx
parentf3a8192ef78100dc03e00be6cd75e35d10e98fd2 (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')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_pixel.c2
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);
}