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:
authorPablo Dobarro <pablodp606@gmail.com>2019-10-30 18:57:11 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-10-31 16:45:26 +0300
commitcd827194f7cc771e9947d474ba0e7c4ae2a2aa9a (patch)
tree2040eabed0a939853a08a30d0b930ad1f1458424 /release
parentbe2bdaf6aab672feb1961e2b6a2fd09f979bba2e (diff)
Paint: Option to disable antialiasing
You may want to disable antialiasing if you are working with pixel art or low resolution textures. It is enabled by default. Reviewed By: jbakker, campbellbarton Differential Revision: https://developer.blender.org/D6044
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 6720c2cd24d..609eb0184c4 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -199,6 +199,8 @@ def brush_texpaint_common_options(_panel, _context, layout, brush, _settings, *,
if projpaint:
col.prop(brush, "use_alpha")
+ else:
+ col.prop(brush, "use_paint_antialiasing")
# Used in both the View3D toolbar and texture properties