You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #12474 from neikeq/s
Mono: Add build project button and reload interval
This commit is contained in:
@@ -273,7 +273,7 @@ bool GodotSharpBuilds::make_api_sln(GodotSharpBuilds::APIType p_api_type) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool godotsharp_build_callback() {
|
||||
bool GodotSharpBuilds::build_project_blocking() {
|
||||
|
||||
if (!FileAccess::exists(GodotSharpDirs::get_project_sln_path()))
|
||||
return true; // No solution to build
|
||||
@@ -352,7 +352,7 @@ GodotSharpBuilds::GodotSharpBuilds() {
|
||||
|
||||
singleton = this;
|
||||
|
||||
EditorNode::get_singleton()->add_build_callback(&godotsharp_build_callback);
|
||||
EditorNode::get_singleton()->add_build_callback(&GodotSharpBuilds::build_project_blocking);
|
||||
|
||||
// Build tool settings
|
||||
EditorSettings *ed_settings = EditorSettings::get_singleton();
|
||||
|
||||
Reference in New Issue
Block a user