UI: disallow splitting of temporary screens
[blender.git] / source / blender / editors / screen / area.c
index a430ccdc95e41c48722d32e509b36161b79d9e82..411826d79c17a47bb8af6b1ff3bb0c2442bd6432 100644 (file)
@@ -750,6 +750,10 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea
                return;
        }
 
+       if (screen->temp) {
+               return;
+       }
+
        float coords[4][4] = {
            /* Bottom-left. */
            {sa->totrct.xmin - U.pixelsize,