projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
97b0e17
)
Bugfix #25235
author
Ton Roosendaal <ton@blender.org>
Wed, 15 Dec 2010 19:21:02 +0000
(19:21 +0000)
committer
Ton Roosendaal <ton@blender.org>
Wed, 15 Dec 2010 19:21:02 +0000
(19:21 +0000)
Image Editor: paint mode, use clone image, always showed.
Now it hides clone when paint is disabled.
source/blender/editors/space_image/image_draw.c
patch
|
blob
|
history
diff --git
a/source/blender/editors/space_image/image_draw.c
b/source/blender/editors/space_image/image_draw.c
index 55f27cbca62027c53eb0ae6efd64395e52eca728..6e7af2cb196bd97e11a310cb3e1a0558cd13a3b2 100644
(file)
--- a/
source/blender/editors/space_image/image_draw.c
+++ b/
source/blender/editors/space_image/image_draw.c
@@
-664,7
+664,8
@@
void draw_image_main(SpaceImage *sima, ARegion *ar, Scene *scene)
draw_image_buffer(sima, ar, scene, ima, ibuf, 0.0f, 0.0f, zoomx, zoomy);
/* paint helpers */
- draw_image_paint_helpers(ar, scene, zoomx, zoomy);
+ if(sima->flag & SI_DRAWTOOL)
+ draw_image_paint_helpers(ar, scene, zoomx, zoomy);
/* XXX integrate this code */