From 503a1d2d8aa7c0b5d5cc93648d939f202f7c1e3f Mon Sep 17 00:00:00 2001
From: Tazpn <tazpn@users.sourceforge.net>
Date: Mon, 18 Sep 2006 03:19:14 +0000
Subject: [PATCH] Miscellaneous fixes: 1. Update NiStencilProperty based on
 Shon's changes 2. Rewrote large chunks of WriteFileGroup related routines. 3.
 Added a WriteNifTree which allows for multiple roots (not exposed publically)
 4. Added option to BindSkin to scene instead of skeleton root. 5. Fixed bug
 in RemoveController 6. Added helpers to NiControllerManager for sequence
 management 7. Propegated user_version in routines which take a version

---
 include/gen/obj_defines.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/gen/obj_defines.h b/include/gen/obj_defines.h
index 728411a8..9914f618 100644
--- a/include/gen/obj_defines.h
+++ b/include/gen/obj_defines.h
@@ -5169,7 +5169,7 @@ return InternalGetRefs(); \
 
 #define NI_STENCIL_PROPERTY_MEMBERS \
 ushort flags; \
-bool stencilEnabled; \
+byte stencilEnabled; \
 CompareMode stencilFunction; \
 uint stencilRef; \
 uint stencilMask; \
@@ -5183,7 +5183,7 @@ FaceDrawMode drawMode; \
 #define NI_STENCIL_PROPERTY_PARENT NiProperty \
 
 #define NI_STENCIL_PROPERTY_CONSTRUCT \
- : flags((ushort)0), stencilEnabled(false), stencilRef((uint)0), stencilMask((uint)4294967295) \
+ : flags((ushort)0), stencilEnabled((byte)0), stencilRef((uint)0), stencilMask((uint)4294967295) \
 
 #define NI_STENCIL_PROPERTY_READ \
 InternalRead( in, link_stack, version, user_version ); \
-- 
GitLab