Aaaaand another fullscreen glitch
authorJulian Eisel <eiseljulian@gmail.com>
Thu, 28 May 2015 18:08:03 +0000 (20:08 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Thu, 28 May 2015 18:08:03 +0000 (20:08 +0200)
Steps to reproduce were: Set a *Properties Editor* to fullscreen-
>render->Info Editor is set to Image Editor instead of Properties Editor

source/blender/editors/render/render_view.c

index f529c93c81c47063d3a2ffbf42dc9f2166b6094b..f5260b8a5683a8a988e5845611d0503b7726516a 100644 (file)
@@ -63,7 +63,7 @@ static ScrArea *biggest_non_image_area(bContext *C)
        for (sa = sc->areabase.first; sa; sa = sa->next) {
                if (sa->winx > 30 && sa->winy > 30) {
                        size = sa->winx * sa->winy;
-                       if (sa->spacetype == SPACE_BUTS) {
+                       if (!sa->full && sa->spacetype == SPACE_BUTS) {
                                if (foundwin == 0 && size > bwmaxsize) {
                                        bwmaxsize = size;
                                        big = sa;