Skip to content

Commit

Permalink
- updated for changed properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mme1950 committed Mar 1, 2024
1 parent f90b346 commit 2ab58a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ACadSharp/IO/DWG/DwgStreamReaders/DwgObjectReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2874,7 +2874,7 @@ private CadTemplate readMultiLeader()
// 43 Block Content Rotation
mLeader.BlockContentRotation = _objectReader.ReadBitDouble();
// 176 Block Content Connection Type
mLeader.BlockContentConnection = (AttachmentType)_objectReader.ReadBitShort();
mLeader.BlockContentConnection = (BlockContentConnectionType)_objectReader.ReadBitShort();
// 293 Enable Annotation Scale/Is annotative
mLeader.EnableAnnotationScale = _objectReader.ReadBit();

Expand Down Expand Up @@ -2965,7 +2965,7 @@ private MultiLeaderAnnotContext readMultiLeaderAnnotContext(CadMLeaderTemplate t
// BS 176 Text align type (0 = left, 1 = center, 2 = right)
annotContext.TextAlignment = (TextAlignmentType)_objectReader.ReadBitShort();
// BS 177 Attachment type (0 = content extents, 1 = insertion point).
annotContext.AttachmentType = (AttachmentType)_objectReader.ReadBitShort();
annotContext.BlockContentConnection = (BlockContentConnectionType)_objectReader.ReadBitShort();
// B 290 Has text contents
annotContext.HasTextContents = _objectReader.ReadBit();
if (annotContext.HasTextContents)
Expand Down

0 comments on commit 2ab58a5

Please sign in to comment.