Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue with GEOPOSITIONMARKER after moving AcDbMTextObjectEmbedded to SUBCLASS #1032

Closed
michal-josef-spacek opened this issue Oct 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@michal-josef-spacek
Copy link
Contributor

There is compilation issue with GEOPOSITIONMARKER.
I tested this with ./configure --disable-bindings --enable-write --enable-trace --enable-debug --prefix=__PREFIX__

These changes fixes issue:

diff --git a/include/dwg.h b/include/dwg.h
index c7b485b95..7879246fb 100644
--- a/include/dwg.h
+++ b/include/dwg.h
@@ -4902,6 +4902,8 @@ typedef struct _dwg_entity_CAMERA
 typedef struct _dwg_entity_GEOPOSITIONMARKER
 {
   struct _dwg_object_entity *parent;
+  BITCODE_2DPOINT alignment_pt;
+  BITCODE_2DPOINT ins_pt;
   BITCODE_BS class_version; /*!< DXF 90 point, lat_lon, mylocation */
   BITCODE_3BD position;     /*!< DXF 10 */
   BITCODE_BD radius;        /*!< DXF 40 */
@rurban rurban self-assigned this Oct 15, 2024
@rurban rurban added the bug Something isn't working label Oct 15, 2024
@rurban
Copy link
Contributor

rurban commented Oct 15, 2024

Should be fixed now

@michal-josef-spacek
Copy link
Contributor Author

Thank you.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants