From b39f4b788dc9c5ccc9430b02852cbc1cbe56eca1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 27 Aug 2006 13:29:00 +0000 Subject: Texturepaint now supports all the imagepaint brush settings, with the exception of the clone tool. One level undo for image- and texturepaint, only storing those tiles that changed. Test to improve texturepaint performance using glTexSubImage2D, only enabled with 2^n sized textures and mipmapping off. Painting a 2048x2048 texture is then pretty smooth here, as long as the geometry is not too complex. --- source/blender/makesdna/DNA_brush_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_brush_types.h') diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 1d620de8979..a57b3d3d687 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -64,6 +64,7 @@ typedef struct Brush { /* Brush.flag */ #define BRUSH_AIRBRUSH 1 #define BRUSH_TORUS 2 +#define BRUSH_FIXED_TEX 4 /* Brush.blend */ #define BRUSH_BLEND_MIX 0 -- cgit v1.2.3