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 bug when sinAngle is < 1. the value of expandWidth was too much: #12434

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mickae1
Copy link

@mickae1 mickae1 commented Jan 14, 2025

fix bug when sinAngle is < 1. the value of expandWidth was too much:
limit it to the default: expandWidth = width * 0.5;

fix issue: #12427
and maybe this one : #7645

limit it to the default:  expandWidth = width * 0.5;
Copy link

Thank you for the pull request, @mickae1!

✅ We can confirm we have a CLA on file for you.

@ggetz
Copy link
Contributor

ggetz commented Jan 14, 2025

Thanks for the fix @mickae1! This fix looks reasonable to me. I'll test this out shortly to confirm.

@mickae1
Copy link
Author

mickae1 commented Jan 17, 2025

@ggetz

Thanks for the fix @mickae1! This fix looks reasonable to me. I'll test this out shortly to confirm.

a quick sandcastle to test it :

https://sandcastle.cesium.com/#c=7Vh7j9s2Ev8qhP+y0S2XoiiR8m6DS7dN2kOTFLtBUeB8aLUybQuVJUOPTZxiv/sNXzJFu4t8gGOQxCLnN2+OZvSUt+iplJ9ki75DtfyE7mRXDnv8m96br2aFfr5r6j4va9muZoubVb2qnwDXFbKWADN4rB/14fU1ejPURV82Neob1OVPEvU7iYp8L9scdX3ey1W9cSTq/E4fPaiT+QL9vaoRKpq66y1GH4AofYDQoelKBV062YYKu31cVE0NjK4M+bpsZXGJfjwIAMMhpBwOAUlbbnd9SKU3J4TPN86UppK4arbgUmMrMjY9gPHr5Wp2hf798OE97vq2rLfl5jj3DF8sNJdW9kNb+x6B7Wfr8LtWKnaHpjpWECi0lc1e9u3RhGrcngT5V7v71tLOtXudE7ulo7vL2x5+5XWMN22z/0FuWym7122bH3+SyuRuvqr/k+KUcpadVqI8ECfY/kgTzFP1CwijmCTecoRM/4oEFVgYykSwKD2tkTJ2PDm2PIEN5ac1UlJvWzPlcZRgakE0j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 2025

Thanks @mickae1! I was able to verify this is working in your example, as well as with existing polyline dash materials and the meridian edge case.

Please add a summary to CHANGES.md and yourself to CONTRIBUTORS.md if you haven't done so already. Then this should be all good to merge!

@ggetz ggetz self-assigned this Jan 21, 2025
@mickae1
Copy link
Author

mickae1 commented Jan 22, 2025 via email

@ggetz
Copy link
Contributor

ggetz commented Jan 23, 2025

@mickae1 Sure. You can link to the fixed issue as well. Thanks@

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

Successfully merging this pull request may close these issues.

2 participants