code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename EditDerivedBMesh.tc ->...
[blender-staging.git] / source / blender / editors / space_image / space_image.c
index 1b4ff44bb6b1201deac06788fef932102b0351e1..dc2f764d8fdf178795dc71d222904cec13181f0b 100644 (file)
@@ -46,7 +46,7 @@
 #include "BKE_global.h"
 #include "BKE_scene.h"
 #include "BKE_screen.h"
-#include "BKE_tessmesh.h"
+#include "BKE_editmesh.h"
 #include "BKE_sequencer.h"
 #include "BKE_node.h"
 
@@ -438,7 +438,6 @@ static void image_listener(ScrArea *sa, wmNotifier *wmn)
                case NC_WINDOW:
                        /* notifier comes from editing color space */
                        image_scopes_tag_refresh(sa);
-                       ED_area_tag_refresh(sa);
                        ED_area_tag_redraw(sa);
                        break;
                case NC_SCENE:
@@ -668,6 +667,9 @@ static void image_main_area_draw(const bContext *C, ARegion *ar)
 
        /* and uvs in 0.0-1.0 space */
        UI_view2d_view_ortho(v2d);
+
+       ED_region_draw_cb_draw(C, ar, REGION_DRAW_PRE_VIEW);
+
        draw_uvedit_main(sima, ar, scene, obedit, obact);
 
        /* check for mask (delay draw) */