summaryrefslogtreecommitdiff
path: root/NW4RTools/ObjWriter.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NW4RTools/ObjWriter.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/NW4RTools/ObjWriter.cs b/NW4RTools/ObjWriter.cs
index 297ae58..592347b 100644
--- a/NW4RTools/ObjWriter.cs
+++ b/NW4RTools/ObjWriter.cs
@@ -112,6 +112,10 @@ namespace NW4RTools {
vs.SetDesc(vtxDesc1, vtxDesc2);
vs.SetAttrFmt(vtxAttr1, vtxAttr2, vtxAttr3);
+ // get the Matrix to use
+ // todo: how to apply this?!
+ Matrix m = CurrentModel.Nodes[CurrentModel.MatrixIDtoNodeID[shape.MatrixID]].NodeMatrix;
+
// now parse the second DisplayList
int posOffset = VtxPosOffsets[shape.PosData];