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: issue with !is_inside_tree() when starting editor #204

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
.vscode
.idea
/site
venv
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ As a maintainer you are able to create a new release.
3. Select target ``master``
4. Click ``Generate release notes``
5. (Optional) You can edit the generated release notes
6. Add a release title in the format ``[Godot_Version]-[Tag]-alpha-[Year][Month][Day]`` as an example ``4.1-v0.0.17-alpha-20231003``
6. Add a release title in the format ``[Tag]-alpha-[Year][Month][Day]`` as an example ``v0.0.17-alpha-20231003``. The used godot version will be added ass prefix automatically
7. Press ``Publish release``

2 changes: 0 additions & 2 deletions editor/editor_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
declaration_file_dialog->set_file_mode(EditorFileDialog::FILE_MODE_SAVE_FILE);
declaration_file_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
declaration_file_dialog->add_filter(TTR("*.d.ts;TypeScript Declaration file"));
declaration_file_dialog->set_current_file("godot.d.ts");
declaration_file_dialog->connect("file_selected", callable_mp(this, &JavaScriptPlugin::_export_typescript_declare_file));
EditorNode::get_singleton()->get_gui_base()->add_child(declaration_file_dialog);

Expand All @@ -89,7 +88,6 @@
enumberation_file_dialog->set_file_mode(EditorFileDialog::FILE_MODE_SAVE_FILE);
enumberation_file_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
enumberation_file_dialog->add_filter(TTR("*.mjs;JavaScript file"));
enumberation_file_dialog->set_current_file("enumerations.mjs");
enumberation_file_dialog->connect("file_selected", callable_mp(this, &JavaScriptPlugin::_export_enumeration_binding_file));
EditorNode::get_singleton()->get_gui_base()->add_child(enumberation_file_dialog);

Expand Down Expand Up @@ -194,7 +192,7 @@
}

// The following functions are used to generate a godot.d.ts file out of the docs folder from godot
#pragma region TS declare file

Check warning on line 195 in editor/editor_tools.cpp

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor w/ Mono (target=editor)

ignoring #pragma region TS [-Wunknown-pragmas]

static String format_doc_text(const String &p_bbcode, const String &p_indent = "\t") {
String markdown = p_bbcode.strip_edges();
Expand Down Expand Up @@ -729,6 +727,6 @@
}
}

#pragma endregion TS declare file

Check warning on line 730 in editor/editor_tools.cpp

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor w/ Mono (target=editor)

ignoring #pragma endregion TS [-Wunknown-pragmas]

#endif // TOOLS_ENABLED
Loading