Handle value $TDCREATE.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-21 16:32:50 +03:00
parent 98dc6893a9
commit 3c48935b5c

View File

@ -944,6 +944,10 @@ void DRW_Header::write(dxfWriter *writer, DRW::Version ver){
writer->writeInt16(70, varInt); writer->writeInt16(70, varInt);
} else } else
writer->writeInt16(70, 6); writer->writeInt16(70, 6);
writer->writeString(9, "$TDCREATE");
if (getInt("$TDCREATE", &varInt)) {
writer->writeInt16(40, varInt);
}
if (ver > DRW::AC1009) { if (ver > DRW::AC1009) {
writer->writeString(9, "$UCSBASE"); writer->writeString(9, "$UCSBASE");
if (getStr("$UCSBASE", &varStr)) if (getStr("$UCSBASE", &varStr))