From b10f14e62ae304d096535992777902135f91265b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 1 Mar 2003 22:34:18 +0000 Subject: [PATCH] fix small occlusion culling bug --- Graphics/gl2ps.cpp | 6 +++--- Graphics/gl2ps.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp index f513819312..2d9af8e95e 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.60 2003-01-30 18:22:37 geuzaine Exp $ + * $Id: gl2ps.cpp,v 1.61 2003-03-01 22:34:18 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/ @@ -734,7 +734,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim, } else{ gl2psFree(cur->front); - cur = head = NULL; + cur->front = NULL; } break; case GL2PS_POINT_BACK : @@ -765,7 +765,7 @@ void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim, } else{ gl2psFree(cur->front); - cur = head = NULL; + cur->front = NULL; } break; default: diff --git a/Graphics/gl2ps.h b/Graphics/gl2ps.h index 1831cc9348..d72b7799c1 100644 --- a/Graphics/gl2ps.h +++ b/Graphics/gl2ps.h @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2003 Christophe Geuzaine * - * $Id: gl2ps.h,v 1.35 2003-01-30 18:22:38 geuzaine Exp $ + * $Id: gl2ps.h,v 1.36 2003-03-01 22:34:18 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/ @@ -55,7 +55,7 @@ #endif -#define GL2PS_VERSION 0.73 +#define GL2PS_VERSION 0.74 #define GL2PS_NONE 0 /* Output file format */ -- GitLab