Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Issue with entity parsing in pre2.10 #471

Closed
michal-josef-spacek opened this issue May 13, 2022 · 1 comment
Closed

Issue with entity parsing in pre2.10 #471

michal-josef-spacek opened this issue May 13, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@michal-josef-spacek
Copy link
Contributor

There is something wrong with entity parsing in work/preR13 branch.
See example:
shape.tar.gz
There are two entities:

  • LOAD
  • SHAPE

Parse only first entity, because bad number "num" in src/decode.c -

BITCODE_BL num = dwg->num_objects;

There is num = 8 on begin
and then break in:

        if (num + 1 >= dwg->header_vars.numentities)
          break;

so parse only first entity

@rurban rurban self-assigned this Dec 13, 2022
@rurban rurban added the bug Something isn't working label Dec 13, 2022
@michal-josef-spacek
Copy link
Contributor Author

It's working now, thanks

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

No branches or pull requests

2 participants