Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / render / render_update.c
index de73188..b7e6508 100644 (file)
@@ -111,12 +111,12 @@ void ED_render_scene_update(const DEGEditorUpdateContext *update_ctx, int update
 
        CTX_wm_manager_set(C, bmain->wm.first);
        wm = bmain->wm.first;
-       
+
        for (win = wm->windows.first; win; win = win->next) {
                bScreen *sc = WM_window_get_active_screen(win);
                ScrArea *sa;
                ARegion *ar;
-               
+
                CTX_wm_window_set(C, win);
 
                for (sa = sc->areabase.first; sa; sa = sa->next) {
@@ -220,22 +220,22 @@ static void render_engine_flag_changed(Main *bmain, int update_flag)
        bScreen *sc;
        ScrArea *sa;
        ARegion *ar;
-       
+
        for (sc = bmain->screen.first; sc; sc = sc->id.next) {
                for (sa = sc->areabase.first; sa; sa = sa->next) {
                        if (sa->spacetype != SPACE_VIEW3D)
                                continue;
-                       
+
                        for (ar = sa->regionbase.first; ar; ar = ar->next) {
                                RegionView3D *rv3d;
-                               
+
                                if (ar->regiontype != RGN_TYPE_WINDOW)
                                        continue;
-                               
+
                                rv3d = ar->regiondata;
                                if (rv3d->render_engine)
                                        rv3d->render_engine->update_flag |= update_flag;
-                               
+
                        }
                }
        }