From 362cc3ccc38103eb589d05e9495ff853ba48c94a Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Wed, 28 Jan 2004 22:23:10 +0000 Subject: [PATCH] Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand --- src/osgPlugins/flt/FaceRecord.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osgPlugins/flt/FaceRecord.h b/src/osgPlugins/flt/FaceRecord.h index 828f0e945..10589ab73 100644 --- a/src/osgPlugins/flt/FaceRecord.h +++ b/src/osgPlugins/flt/FaceRecord.h @@ -29,8 +29,8 @@ struct SFace uint8 swDrawFlag; // How to draw the polygon // = 0 Draw solid backfaced // = 1 Draw solid no backface - // = 2 Draw wireframe and not closed - // = 3 Draw closed wireframe + // = 2 Draw closed wireframe (swapped in documentation) + // = 3 Draw wireframe and not closed (swapped in documentation) // = 4 Surround with wireframe in alternate color // = 8 Omni-directional light // = 9 Unidirectional light @@ -89,8 +89,8 @@ class FaceRecord : public PrimNodeRecord enum DrawFlag { SOLID_BACKFACED = 0, SOLID_NO_BACKFACE = 1, - WIREFRAME_NOT_CLOSED = 2, - WIREFRAME_CLOSED = 3, + WIREFRAME_CLOSED = 2, + WIREFRAME_NOT_CLOSED = 3, SURROUND_ALTERNATE_COLOR = 4, OMNIDIRECTIONAL_LIGHT = 8, UNIDIRECTIONAL_LIGHT = 9,