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

Call restart_editor() in RUN_PROJECT_MANAGER #94880

Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jul 28, 2024

Follow-up to #85654
The duplicate code in RUN_PROJECT_MANAGER branch is replaced with a modified restart_editor().

Seems like the code did not set exiting previously, so this might also fix some bugs.

Comment on lines -3404 to -3407
if (!exec_base_dir.is_empty()) {
args.push_back("--path");
args.push_back(exec_base_dir);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

The --path was explicitly passed to Project Manager, no idea what for.

@akien-mga akien-mga changed the title Call restart_editor() in RUN_PROJECT_MANAGER Call restart_editor() in RUN_PROJECT_MANAGER Jul 29, 2024
@akien-mga akien-mga modified the milestones: 4.x, 4.4 Oct 4, 2024
@akien-mga akien-mga merged commit aa40773 into godotengine:master Oct 4, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the never-before-seen_way_to_restart_editor branch October 4, 2024 20:50
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.

2 participants