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

fixed-Incorrect lines when applying a stroke to geometry built without initial stroke-#6318 #6731

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

Conversation

Artimus100
Copy link
Contributor

completely fixes the bug of issue #6318

Changes:
renderer._doStroke always true in the constructor of GeometryBuilder Class within GeometryBuilder.js

Screenshot:

Screenshot 2024-01-12 at 3 38 30 PM

PR Checklist

@Artimus100
Copy link
Contributor Author

@davepagurek please review it!!

@davepagurek
Copy link
Contributor

Thanks for taking this on!

Have you tried doing any testing on how long it takes to before/after this change when creating geometry with lots of edges but with noStroke()? I think that's one of the risks of introducing this, where if the time difference is significant, we might need to also add a setting to ignore strokes for performance reasons.

Also, it would be great to add a test for this so we can be sure this doesn't break in the future. We also have just merged visual tests which might be a good fit here.

@Artimus100
Copy link
Contributor Author

@davepagurek ill get back to you with that data!!

@Artimus100
Copy link
Contributor Author

Hello @davepagurek should i mail you a doc with the time difference or just comment here so that you can look at it and tell me if we need to add the setting to ignore strokes for the performance reasons and ill start working on the tests right away!!

@davepagurek
Copy link
Contributor

I think commenting here would be great so that anyone else following the discussion can see the data too. We're also talking about adding a settings object as a parameter to buildGeometry/beginGeoemtry in #6722, so maybe if it turns out we need it, we can add a setting like buildGeometry({ includeStroke: false }).

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.

None yet

2 participants