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

Fix DXF export crash #41918

Merged
merged 1 commit into from
Feb 28, 2021

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Feb 28, 2021

Followup #41900

Also hides aspatial layers from export candidates. I'm not sure
if this is correct but there was an assert that was hit
when aspatial layers were present, now I don't know if the
assert (which is about the size of the layers list and
the layer list from custom layer order, that only contains
spatial layers) has been there forever and no one actually
tested in dev mode with aspatial layers.

In any event, getting aspatial layers back into the list
is easy but then we'd need to alter the logic that builds
the ordered layers list and remove the assert.

Folloup qgis#41900

Also hides aspatial layers from export candidates. I'm not sure
if this is correct but thre was an assert that was hit
when aspatial layers were present, now I don't know if the
assert (which is about the size of the layers list and
the layer list from custom layer order, that only contains
spatial layers) has been there forever and no one actually
tested in dev mode with aspatial layers.

In any event, getting aspatial layers back into the list
is easy but then we'd need to alter the logic that builds
the ordered layers list and remove the assert.
@elpaso elpaso added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 28, 2021
@elpaso
Copy link
Contributor Author

elpaso commented Feb 28, 2021

@jef-n are aspatial/geometryless layers supposed to be exported to DXF?

@jef-n
Copy link
Member

jef-n commented Feb 28, 2021

@jef-n are aspatial/geometryless layers supposed to be exported to DXF?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants