From a47879c13fb4085abd17a0b1e912ff8eaea0c49e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 4 Jul 2003 15:11:55 +0000
Subject: [PATCH] fix (?) missing lines pb

---
 Graphics/gl2ps.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp
index fc3f963a18..5247674324 100644
--- a/Graphics/gl2ps.cpp
+++ b/Graphics/gl2ps.cpp
@@ -2,7 +2,7 @@
  * GL2PS, an OpenGL to PostScript Printing Library
  * Copyright (C) 1999-2003 Christophe Geuzaine 
  *
- * $Id: gl2ps.cpp,v 1.68 2003-07-04 14:12:28 geuzaine Exp $
+ * $Id: gl2ps.cpp,v 1.69 2003-07-04 15:11:55 geuzaine Exp $
  *
  * E-mail: geuz@geuz.org
  * URL: http://www.geuz.org/gl2ps/
@@ -990,7 +990,8 @@ GLint gl2psAddInBspImageTree(GL2PSprimitive *prim, GL2PSbsptree2d **tree){
         gl2ps->zerosurfacearea = 0;
         if(ret) return ret;
       }
-      return 0;
+      if(prim->type == GL2PS_LINE) return 1;
+      else                         return 0;
     }
   }
   return 0;
-- 
GitLab