Skip to content

Avoid dropping rendering commands #190

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

Closed
wants to merge 1 commit into from

Conversation

aeisenbarth
Copy link
Contributor

When issueing multiple render commands of the same type, only the last command is executed. Multiple same rendering commands can be desired when blending different images (with alpha != 1) or creating a collage of images at different spatial locations.

This is caused by storing parameters in an ordered dictionary with the command type as key. Instead, onecould directly use a sequence of tuples.

@timtreis
Copy link
Member

timtreis commented Dec 8, 2023

Hey @aeisenbarth, many thanks for your suggestion and the code contribution! I have copied it over to #192 so that I can easily add the corresponding tests. So I'll be closing this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants