summaryrefslogtreecommitdiff
path: root/NW4RTools/BrresReader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'NW4RTools/BrresReader.cs')
-rw-r--r--NW4RTools/BrresReader.cs3
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);
}