Bugfix #25235
[blender.git] / source / blender / editors / space_image / image_draw.c
index 55f27cbca62027c53eb0ae6efd64395e52eca728..6e7af2cb196bd97e11a310cb3e1a0558cd13a3b2 100644 (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 */