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