From b98e6743dcaf8ec513bbbadc0015cb8729a72a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 23 Dec 2018 16:26:21 +0100 Subject: Texture Paint: Add filtering option for texture paint overlay The overlay should now use the texture interpolation setting in material mode. In image mode, there is now a new button to let the user choose the texture filter. The option is located in the Texture Slots popover and only shows in Image mode. --- source/blender/makesdna/DNA_material_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_material_types.h') diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 1e8173fc16d..6cd964fddf9 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -54,7 +54,8 @@ typedef struct TexPaintSlot { char *uvname; /** Do we have a valid image and UV map. */ int valid; - int pad; + /** Copy of node inteporlation setting. */ + int interp; } TexPaintSlot; typedef struct MaterialGPencilStyle { -- cgit v1.2.3