From da1d87ffe35bffa5ff9c1cb06ea974ca139c28f0 Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Sat, 10 Dec 2011 21:10:09 +0000 Subject: [PATCH] Compile fix for tspace flags. --- src/obj/NiGeometryData.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/obj/NiGeometryData.cpp b/src/obj/NiGeometryData.cpp index ed32e9bc..4ad2f1b1 100644 --- a/src/obj/NiGeometryData.cpp +++ b/src/obj/NiGeometryData.cpp @@ -659,11 +659,12 @@ void NiGeometryData::SetBound(Vector3 const & center, float radius) byte NiGeometryData::GetTspaceFlag() const { - return tspaceFlag; + return numUvSets | bsNumUvSets; } void NiGeometryData::SetTspaceFlag( byte value ) { - tspaceFlag = value; + numUvSets = value; + bsNumUvSets = value; } bool NiGeometryData::GetHasNormals() const { -- GitLab