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

Prevent infinite stroke_width array nesting in OpenGL VMObject #4178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tsoos99dev
Copy link

Motivation and Explanation: Why and how do your changes improve the library?

This is an attempt to solve #4097

Further Information and Comments

To be honest I'm not sure what kind of values can be assigned to stroke_width. Based on the methods I've seen it should be just a float. Internally I see that we need an array, but then maybe the internal representation shouldn't be used externally (only via a property). I'm not familiar enough with the repo, but this seemed like a small change. Let me know if this would break anything.

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

Update mapping of the width parameter to an array, such that updating with the current value repeatedly does not cause an infinite nesting issue
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.

1 participant