From b2ffa02b75a4e7dbea15e9b6dde9a0998257bd0d Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sat, 16 Jul 2022 10:32:28 -0700 Subject: [PATCH] Fixed POV render issues with synth parts. Fixes #820. --- common/piece.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/piece.cpp b/common/piece.cpp index 9b8f4015..bba88f24 100644 --- a/common/piece.cpp +++ b/common/piece.cpp @@ -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