From 562bda704c2a5bd93693723b0702903d13ac087e Mon Sep 17 00:00:00 2001 From: ZeqMacaw Date: Wed, 27 Jul 2022 22:06:05 -0400 Subject: [PATCH] FIXED: MDL 44-53 - Missing triangles on some models due to bad VTX reading when there is no second mesh with strip groups. --- .../GameModel/CompiledFiles/VtxFile/VtxFile07/SourceVtxFile07.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/Crowbar/Core/GameModel/CompiledFiles/VtxFile/VtxFile07/SourceVtxFile07.vb b/Crowbar/Core/GameModel/CompiledFiles/VtxFile/VtxFile07/SourceVtxFile07.vb index 0f5fcf8..110c71e 100644 --- a/Crowbar/Core/GameModel/CompiledFiles/VtxFile/VtxFile07/SourceVtxFile07.vb +++ b/Crowbar/Core/GameModel/CompiledFiles/VtxFile/VtxFile07/SourceVtxFile07.vb @@ -56,6 +56,7 @@ Public Class SourceVtxFile07 Me.theFirstMeshWithStripGroupsInputFileStreamPosition = -1 Me.theModelLodHasOnlyOneMesh = False Me.theSecondMeshWithStripGroups = Nothing + Me.theStartOfStripGroupVtxStrips = -1 Me.theExpectedStartOfDataAfterFirstStripGroupList = -1 Me.theStripGroupAndStripUseExtraFields = False