diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-06-25 01:45:50 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-06-25 01:45:50 +0400 |
commit | 362b3674fe2ba78b0c45456080b3390d580b2ef2 (patch) | |
tree | 92ce8e733405b083461560fbab4545777e6f95fc /source/blender/src/drawimage.c | |
parent | 47b5894e57207b2934d4a9559a7440245d3fe7a5 (diff) |
Potential fix for bug #4459:
- UV editor hotkeys not working. Likely due to paint mode still being
enabled without an image visible.
Diffstat (limited to 'source/blender/src/drawimage.c')
-rw-r--r-- | source/blender/src/drawimage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c index edef943a6eb..7eb30880bdc 100644 --- a/source/blender/src/drawimage.c +++ b/source/blender/src/drawimage.c @@ -298,6 +298,9 @@ void image_changed(SpaceImage *sima, int dotile) TFace *tface; Mesh *me; int a; + + if(sima->image==NULL) + sima->flag &= ~SI_DRAWTOOL; if(sima->mode==SI_TEXTURE) { |