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

Don't apply frame delay project setting to the editor #82929

Merged

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Oct 6, 2023

This appears to already be the case for the Max FPS project setting.

I've tested manual override in a running project via project setting or CLI argument and it still works as expected. --frame-delay also still works on the editor itself, if you really want to use it.

@Calinou Calinou requested a review from a team as a code owner October 6, 2023 19:52
@Calinou Calinou added bug topic:editor cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Oct 6, 2023
@Calinou Calinou added this to the 4.2 milestone Oct 6, 2023
@Calinou Calinou force-pushed the projectsettings-frame-delay-no-editor branch from 3a3dd84 to 3f82bba Compare October 6, 2023 19:54
@Calinou Calinou requested a review from a team as a code owner October 6, 2023 19:54
@Calinou Calinou force-pushed the projectsettings-frame-delay-no-editor branch from 3f82bba to 5553ec8 Compare October 6, 2023 19:54
@Mickeon
Copy link
Contributor

Mickeon commented Oct 7, 2023

There were times I've used this in the past, to avoid burning through my laptop battery. I've replaced that with an hardcoded limit in my GPU setting when the window is unfocused. If the editor itself is capped to the monitor's refresh rate I suppose this is fine, then...

@Calinou
Copy link
Member Author

Calinou commented Oct 7, 2023

If the editor itself is capped to the monitor's refresh rate I suppose this is fine, then...

It is, as V-Sync applies to the editor if it's enabled in the project settings (#48364 decouples the setting as well).

Copy link
Contributor

@YuriSizov YuriSizov left a comment

Choose a reason for hiding this comment

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

I guess this makes sense.

This appears to already be the case for the Max FPS project setting.
@akien-mga akien-mga force-pushed the projectsettings-frame-delay-no-editor branch from 5553ec8 to a635562 Compare November 12, 2023 11:09
@akien-mga akien-mga merged commit 10e820a into godotengine:master Nov 12, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Jan 23, 2024
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.4.

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.

Frame delay project setting affects the editor as well
4 participants