Fix build.

This commit is contained in:
Roman Telezhynskyi 2024-03-01 11:10:49 +02:00
parent 5dfe06804f
commit f48dd59087

View File

@ -1728,9 +1728,9 @@ void VDxfEngine::ExportASTMMirrorLine(const QSharedPointer<dx_ifaceBlock> &detai
}
const bool isShowFullPiece = detail.IsShowFullPiece();
const auto layer = isShowFullPiece ? layer8 : layer6;
const auto layer = isShowFullPiece ? *layer8 : *layer6;
if (DRW_Entity *e = AAMALine(mirrorLine, *layer))
if (DRW_Entity *e = AAMALine(mirrorLine, layer))
{
if (isShowFullPiece)
{