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 pause_mode may not be converted correctly in .tscn files. #76179

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

Maran23
Copy link
Contributor

@Maran23 Maran23 commented Apr 17, 2023

Fixes: #74845

A pause_mode of 2 was not converted correctly.
In Godot 3, the pause_mode of 2 equals the PAUSE_MODE_PROCESS value.
In Godot 4, the pause_mode PAUSE_MODE_PROCESS was renamed to PROCESS_MODE_ALWAYS and equals the number 3.

The fix is therefore to convert the pause_mode = 2 to pause_mode = 3 (PAUSE_MODE_PROCESS -> PROCESS_MODE_ALWAYS) in .tscn files.

@YuriSizov YuriSizov added this to the 4.1 milestone Apr 18, 2023
@akien-mga akien-mga changed the title Fix pause_mode may not be converted correctly in .tscn files. Fix pause_mode may not be converted correctly in .tscn files. Jun 19, 2023
@akien-mga akien-mga merged commit 7641936 into godotengine:master Jun 19, 2023
@akien-mga
Copy link
Member

Thanks!

@Maran23 Maran23 deleted the pause-mode-convert-fix branch August 4, 2023 18:03
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.

Camera2D Process Mode is "When Paused" by default, was this intentional?
3 participants