diff options
author | Treeki <treeki@gmail.com> | 2011-03-03 22:01:38 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-03-03 22:01:38 +0100 |
commit | a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b (patch) | |
tree | 15065b84de58b2db03527da76b32f9b4b3c23c98 /NW4RTools/BrresReader.cs | |
parent | b28711d999c86c40a11f61846ab15685c2fc172b (diff) | |
download | nw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.tar.gz nw4rtools-a5b6dc1789f2e06a26fe6a0510aee04aeccdc70b.zip |
tidying up a bit, also it compiles now
Diffstat (limited to '')
-rw-r--r-- | NW4RTools/BrresReader.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/NW4RTools/BrresReader.cs b/NW4RTools/BrresReader.cs index e67581b..d5db720 100644 --- a/NW4RTools/BrresReader.cs +++ b/NW4RTools/BrresReader.cs @@ -275,7 +275,6 @@ namespace NW4RTools { using (var c2 = Debug.Push("Vertex Normal Data")) { if (vtxNrmOffset == 0) { Debug.Send("None"); - mdl.VtxNrmData = new ResDict<VertexNrmData>(); } else { mdl.VtxNrmData = ReadAndConvertDict<VertexNrmData>(ins.At(startPos + vtxNrmOffset), ConvertVtxNrmData); } @@ -284,7 +283,6 @@ namespace NW4RTools { using (var c2 = Debug.Push("Vertex Colour Data")) { if (vtxClrOffset == 0) { Debug.Send("None"); - mdl.VtxClrData = new ResDict<VertexClrData>(); } else { mdl.VtxClrData = ReadAndConvertDict<VertexClrData>(ins.At(startPos + vtxClrOffset), ConvertVtxClrData); } @@ -293,7 +291,6 @@ namespace NW4RTools { using (var c2 = Debug.Push("Vertex TexCoord Data")) { if (texCoordOffset == 0) { Debug.Send("None"); - mdl.VtxTexCoordData = new ResDict<VertexTexCoordData>(); } else { mdl.VtxTexCoordData = ReadAndConvertDict<VertexTexCoordData>(ins.At(startPos + texCoordOffset), ConvertVtxTexCoordData); } |