Fixed POV render issues with synth parts. Fixes #820.

This commit is contained in:
Leonardo Zide
2022-07-16 10:32:28 -07:00
parent 1ba7f6b7f7
commit b2ffa02b75
+1 -1
View File
@@ -958,7 +958,7 @@ void lcPiece::GetModelParts(const lcMatrix44& WorldMatrix, int DefaultColorIndex
if (!mMesh)
mPieceInfo->GetModelParts(lcMul(mModelWorld, WorldMatrix), ColorIndex, ModelParts);
else
ModelParts.emplace_back(lcModelPartsEntry{ WorldMatrix, mPieceInfo, mMesh, DefaultColorIndex });
ModelParts.emplace_back(lcModelPartsEntry{ lcMul(mModelWorld, WorldMatrix), mPieceInfo, mMesh, ColorIndex });
}
const lcBoundingBox& lcPiece::GetBoundingBox() const