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

Include the Window-transform into Viewport::get_final_transform #66692

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

Sauermann
Copy link
Contributor

@Sauermann Sauermann commented Oct 1, 2022

resolve #66690

don't merge at the same time as #67791

This patch includes the window-transform Viewport::_get_input_pre_xform() into the calculation of Viewport::get_final_transform() and makes according adjustments in all relevant code locations.

Special treatment is necessary in Viewport::get_camera_coords(), since here the window-transform must not be included.

@Sauermann Sauermann requested review from a team as code owners October 1, 2022 06:53
@Chaosus Chaosus added this to the 4.0 milestone Oct 1, 2022
doc/classes/Viewport.xml Outdated Show resolved Hide resolved
Copy link
Member

@groud groud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved in PR review meeting.

@akien-mga akien-mga merged commit 296dea7 into godotengine:master Jan 26, 2023
@akien-mga
Copy link
Member

Thanks!

@Sauermann Sauermann deleted the fix-window-final-transform branch January 27, 2023 20:10
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.

get_final_transform() does not return the complete transform of a Window
5 participants