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>2007-02-09 18:08:53 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-09 18:08:53 +0300
commitac6e958e8e8026119a9d48edcf441c77071da30e (patch)
treeb16a5fc3a98329644f804ff11a3401e2e48fa34a /source/blender/src/buttons_shading.c
parentf9ff15680065d523ffa7dbeb966880440f81eda8 (diff)
Bugfix: texture paint brushes didn't work correct with multiple
texture channels.
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r--source/blender/src/buttons_shading.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c
index 514c54a1759..51e29f623bd 100644
--- a/source/blender/src/buttons_shading.c
+++ b/source/blender/src/buttons_shading.c
@@ -270,6 +270,8 @@ void do_texbuts(unsigned short event)
scrarea_queue_headredraw(curarea);
BIF_preview_changed(ID_TE);
allqueue(REDRAWBUTSSHADING, 0);
+ if(G.buts->texfrom == 3) /* brush texture */
+ allqueue(REDRAWIMAGE, 0);
break;
case B_TEXTYPE:
if(tex==NULL) return;