Read layer settings for block from block's settings.
--HG-- branch : feature
This commit is contained in:
parent
c84f7ef828
commit
cc0d6d994b
|
@ -1343,7 +1343,7 @@ bool dxfRW::writeBlock(DRW_Block *bk){
|
||||||
}
|
}
|
||||||
writer->writeString(100, "AcDbEntity");
|
writer->writeString(100, "AcDbEntity");
|
||||||
}
|
}
|
||||||
writer->writeString(8, "0");
|
writer->writeString(8, bk->layer);
|
||||||
if (version > DRW::AC1009) {
|
if (version > DRW::AC1009) {
|
||||||
writer->writeString(100, "AcDbBlockEnd");
|
writer->writeString(100, "AcDbBlockEnd");
|
||||||
}
|
}
|
||||||
|
@ -1358,7 +1358,7 @@ bool dxfRW::writeBlock(DRW_Block *bk){
|
||||||
}
|
}
|
||||||
writer->writeString(100, "AcDbEntity");
|
writer->writeString(100, "AcDbEntity");
|
||||||
}
|
}
|
||||||
writer->writeString(8, "0");
|
writer->writeString(8, bk->layer);
|
||||||
if (version > DRW::AC1009) {
|
if (version > DRW::AC1009) {
|
||||||
writer->writeString(100, "AcDbBlockBegin");
|
writer->writeString(100, "AcDbBlockBegin");
|
||||||
writer->writeUtf8String(2, bk->name);
|
writer->writeUtf8String(2, bk->name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user