Image Editor: paint mode, use clone image, always showed.
Now it hides clone when paint is disabled.
This commit is contained in:
Ton Roosendaal
2010-12-15 19:21:02 +00:00
parent 97b0e17577
commit a6855c9c21

View File

@@ -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 */