Permalink
Browse files

libdxfrw: compatibility issue in dimensions

  • Loading branch information...
1 parent c04bf21 commit 167c4d0b3d4431a94ec31c1a9800cce232183e63 @Rallaz Rallaz committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/libdxfrw/src/libdxfrw.cpp
@@ -1008,11 +1008,11 @@ bool dxfRW::writeDimension(DRW_Dimension *ent) {
writer->writeDouble(34, dd->getDef2Point().z);
if (ent->eType == DRW::DIMLINEAR) {
DRW_DimLinear * dl = (DRW_DimLinear*)ent;
- writer->writeString(100, "AcDbRotatedDimension");
if (dl->getAngle() != 0)
writer->writeDouble(50, dl->getAngle());
if (dl->getOblique() != 0)
writer->writeDouble(52, dl->getOblique());
+ writer->writeString(100, "AcDbRotatedDimension");
}
break; }
case DRW::DIMRADIAL: {

0 comments on commit 167c4d0

Please sign in to comment.