Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / physics / dynamicpaint_ops.c
index f45ee050ef9a48130ba784436c64e02dae3276b5..7f74dd4666a1706876d243e2ad58454d8a32459e 100644 (file)
@@ -316,7 +316,7 @@ static void dpaint_bake_endjob(void *customdata)
        G.is_rendering = false;
        BKE_spacedata_draw_locks(false);
 
-       WM_set_locked_interface(G.main->wm.first, false);
+       WM_set_locked_interface(G_MAIN->wm.first, false);
 
        /* Bake was successful:
         *  Report for ended bake and how long it took */