Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Android Editor: Fix internal error shown when running project in editor

Anish Kumar19181a17b82a
diff --git a/editor/run/editor_run.cpp b/editor/run/editor_run.cpp
index cb8ff2fdaba..5621375bf00 100644
--- a/editor/run/editor_run.cpp
+++ b/editor/run/editor_run.cpp
@@ -111,6 +111,7 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
}
}
+#ifndef ANDROID_ENABLED
WindowPlacement window_placement = get_window_placement();
if (window_placement.position != Point2i(INT_MAX, INT_MAX)) {
args.push_back("--position");
@@ -122,6 +123,7 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
} else if (window_placement.force_fullscreen) {
args.push_back("--fullscreen");
}
+#endif
List<String> breakpoints;
EditorNode::get_editor_data().get_editor_breakpoints(&breakpoints);