Read extrusion tags for dimension entities

Dimension entities support DXF codes 210, 220, 230 and and DRW_Dimension
already had a extPoint member, but the tags were never used when
parsing.
This commit is contained in:
Roman Telezhynskyi 2021-11-22 18:53:33 +02:00
parent b18f09d86e
commit 5f6445cf93

View File

@ -1097,6 +1097,15 @@ void DRW_Dimension::parseCode(int code, dxfReader *reader){
case 51: case 51:
hdir = reader->getDouble(); hdir = reader->getDouble();
break; break;
case 210:
extPoint.x = reader->getDouble();
break;
case 220:
extPoint.y = reader->getDouble();
break;
case 230:
extPoint.z = reader->getDouble();
break;
default: default:
DRW_Entity::parseCode(code, reader); DRW_Entity::parseCode(code, reader);
break; break;