From e1ae57591354128b9b5cd38b14ecb71d6a3ae3e9 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 31 Aug 2007 17:29:45 +0000
Subject: [PATCH] Graphics

---
 Graphics/Draw.cpp   | 7 ++++---
 Parser/OpenFile.cpp | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp
index afeea37f6c..2d983fa1ed 100644
--- a/Graphics/Draw.cpp
+++ b/Graphics/Draw.cpp
@@ -1,4 +1,4 @@
-// $Id: Draw.cpp,v 1.113 2007-08-29 18:41:06 geuzaine Exp $
+// $Id: Draw.cpp,v 1.114 2007-08-31 17:29:45 geuzaine Exp $
 //
 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 //
@@ -98,12 +98,13 @@ void Draw2d()
 
   Draw_Graph2D_Old();
   Draw_Text2D_Old();
+  if(CTX.post.draw) Draw_Scales_Old();
 
   Draw_Graph2D();
   Draw_Text2D();
   Draw_OnScreenMessages();
-  if(CTX.post.draw)
-    Draw_Scales();
+  if(CTX.post.draw) Draw_Scales();
+
   if(CTX.small_axes)
     Draw_SmallAxes();
 }
diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp
index 517b2f25df..e37659778f 100644
--- a/Parser/OpenFile.cpp
+++ b/Parser/OpenFile.cpp
@@ -1,4 +1,4 @@
-// $Id: OpenFile.cpp,v 1.154 2007-08-28 23:13:03 geuzaine Exp $
+// $Id: OpenFile.cpp,v 1.155 2007-08-31 17:29:45 geuzaine Exp $
 //
 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 //
@@ -389,7 +389,7 @@ int MergeFile(char *name, int warn_if_missing)
     }
     else if(!strncmp(header, "$PostFormat", 11) || 
 	    !strncmp(header, "$View", 5)) {
-#if 0 // test new post-pro
+#if 1 // test new post-pro
       PView *p = new PView(false);
       status = p->getData()->read(name);
 #else
-- 
GitLab