Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-01-01 01:18:21 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-01 01:18:21 +0300
commita8cb4a7860490e1a05b5f03d02b04ca73a7be79e (patch)
tree887ed6a55752f502c967c76b55272a8986352e41 /source/blender/src/editscreen.c
parent0909fa71eaba661017d8d0902fd0d4d6e2163911 (diff)
Fixed bug #5557, retopo - toggling fullscreen shifts painted lines
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index ce6624fbdba..136a4a82273 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -92,6 +92,7 @@
#include "BIF_mywindow.h"
#include "BIF_previewrender.h"
#include "BIF_renderwin.h"
+#include "BIF_retopo.h"
#include "BIF_screen.h"
#include "BIF_space.h"
#include "BIF_toets.h"
@@ -2377,6 +2378,9 @@ void area_fullscreen(void) /* with curarea */
setscreen(sc);
wich_cursor(newa);
}
+
+ if(curarea->full)
+ retopo_force_update();
/* there's also events in queue for this, but we call fullscreen for render output
now, and that doesn't go back to queue. Bad code, but doesn't hurt... (ton) */
@@ -2386,6 +2390,9 @@ void area_fullscreen(void) /* with curarea */
}
/* bad code #2: setscreen() ends with first area active. fullscreen render assumes this too */
curarea= sc->areabase.first;
+
+ if(!curarea->full)
+ retopo_force_update();
}
static void area_autoplayscreen(void)