-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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 flicker in control nodes due to pivot offset #46409
Conversation
Please amend the commit message to be more descriptive. Mentioning the issue number is good but it's not sufficient information to know what a commit does when reading a changelog. See https://github.com/godotengine/godot/blob/master/CONTRIBUTING.md#format-your-commit-messages-with-readability-in-mind It would also be good to credit @georgwacker for the original fix by adding them to the commit message as
at the end of the commit message. |
2437844
to
c5548ad
Compare
@akien-mga Thank you for your feedback, I modified the commit message. |
History tells me this PR may not be a good idea, as it may reintroduce a regression in That said, it's been a while since anyone managed to consistently reproduce blurry font issues in the editor. |
@Calinou That is not the case here. If you look at the discussion in this thread: #36087 (comment) you can see that the regression was fixed on master, where the prior commit was not reverted. This PR simply applies the old fix, plus adds the new fix from master that closes the regression. |
My test results are consistent with the results that @georgwacker got, and he did most of the work, which is why he is listed as a co-author. |
I can confirm that this fix does not cause the old regression in my initial PR, the crucial part is rounding of the coordinates for the scroll container as it is currently in master. I documented my findings here #36087 (comment) but was not sure how or if I should create a PR for 3.2. |
This is based on suggested fix from this comment godotengine#36087 (comment) -- basically the old rounding workaround is removed, and rounding is now done locally in the scroll_container instead. Fixes godotengine#28804 Co-authored-by: Georg Wacker <contact@georgwacker.com>
c5548ad
to
25f35b2
Compare
Thanks! |
Regression from godotengine#46409
This PR is being reverted due to a clipping regression. For now, if you want to animate Control nodes, turn off |
Yes as discussed on the Godot Chat, we need to dig deeper to better understand how this snapping is supposed to work and make a solution that works reliably. This PR actually removed the last use of There's definitely stuff to fix there, so I fully acknowledge the bug and the removal of this workaround is likely a good option, but we need to take the time to test things thoroughly to come up with a reliable fix that won't cause regressions. So reverting this PR for now given how close we are to the 3.2.4 release - it's better to keep the current known issues (which can be worked around by disable |
Fixes #28804 for 3.x
Closes #36974
Based on suggested fix from this comment, which is already implemented on the master branch anyway.
#36087 (comment)
We're using this internally for our project and it doesn't seem to have any regressions anywhere, so it is safe to merge.
Before:
2021-02-25.12-31-49-989.mp4
After:
2021-02-25.12-24-43-812.mp4