-
Notifications
You must be signed in to change notification settings - Fork 48
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
Possible error in CDxfRead::DoRead: missing POLYLINE #435
Comments
This is how I fixed it. It works for the few files I have. I don't know whether it breaks anything because I don't know the DXF format very well.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There're two consecutive "0" lines in the DXF file. DoRead reads the first "0" and jumps into
if(!strcmp(m_str, "0"))
, then reads the next line which is a "0" again. It jumps out ofif(!strcmp(m_str, "0"))
and reads the next line which is "POLYLINE". It doesn't do anything with POLYLINE because it is outside ofif(!strcmp(m_str, "0"))
This is part of my example file. I'm not allowed to post the whole file. This file has two POLYLINE. SEQEND is the end of the previous POLYLINE.
0
SEQEND
5
1328E9
8
0
0
POLYLINE
The text was updated successfully, but these errors were encountered: