-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 for stray point in center of screen #5599
Conversation
A stray point appeared in the center of screen instead of discarding under some systems when there were points with show = false style. This should fix the issue.
Hm unfortunately I don't think this fix works on my end. It seems like my hardware does not allow point sizes smaller than 1.
|
Just for testing, does substituting with code like:
work for you? Edit: actually this code is not super reliable as it fails depending on the current projection matrix. |
Unfortunately I don't have access to workstation where the bug showed up at the moment (on my current system all works fine). If the suggesteed fix fails in your situation, maybe nullification for both gl_Position and gl_PointSize would help? |
Yeah that approach sounds good. |
I made the change here. Does that work on your end too? Also please add yourself to |
Thank you, this fixed it for me as well, had the point at center of screen and could not zoom. Now works perfectly. Chrome on Ubuntu with Nvidia card. |
@lilleyse what's the status of this PR? |
Should be ready to merge. |
@lilleyse please update CHANGES.md in master if you haven't already. @sir-chaos can you please add yourself to CONTRIBUTORS.md and send in a Contributor License Agreement since this PR includes one of your commits? |
Updated CHANGES.md here: 2d6a5cf |
A stray point appeared in the center of screen instead of discarding under some systems when there were points with show = false style.
This should fix the issue.
See #5598