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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-11-27 02:14:52 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-11-27 02:14:52 +0300
commit9afa4619eddd61e2b125cf10bb13f567702f9d9e (patch)
tree8d2f0bfd5269a86f4377a9aabbd88b6e221eeb91 /source/blender/src/toets.c
parent0cd62a9298663999fb567c1e8bd6384a5105f425 (diff)
Disable mipmapping in texture paint mode, so fast redrawing will now
work by default for power-of-two textures. Improved texture painting across different images a bit.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index b6f0e90ad1a..ba81d049cb5 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -690,11 +690,8 @@ int blenderqread(unsigned short event, short val)
set_faceselect();
if(G.f & G_VERTEXPAINT)
set_vpaint();
- if(G.f & G_TEXTUREPAINT) {
- G.f &= ~G_TEXTUREPAINT;
- allqueue(REDRAWVIEW3D, 0);
- allqueue(REDRAWBUTSEDIT, 0);
- }
+ if(G.f & G_TEXTUREPAINT)
+ set_texturepaint();
if(G.f & G_WEIGHTPAINT)
set_wpaint();
}