Makes project manager never initialize mono debug.
The heuristic whether we're in the project manager inside GDMono didn't work if the project manager was launched by not having any path to run. This is fixed now by making a Main::is_project_manager().
This commit is contained in:
parent
49dc473ff1
commit
1099838079
3 changed files with 9 additions and 17 deletions
|
|
@ -122,13 +122,18 @@ static bool force_lowdpi = false;
|
|||
static int init_screen = -1;
|
||||
static bool use_vsync = true;
|
||||
static bool editor = false;
|
||||
static bool project_manager = false;
|
||||
static bool show_help = false;
|
||||
static bool disable_render_loop = false;
|
||||
static int fixed_fps = -1;
|
||||
|
||||
static OS::ProcessID allow_focus_steal_pid = 0;
|
||||
|
||||
static bool project_manager = false;
|
||||
|
||||
bool Main::is_project_manager() {
|
||||
return project_manager;
|
||||
}
|
||||
|
||||
void initialize_physics() {
|
||||
|
||||
/// 3D Physics Server
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ public:
|
|||
static bool iteration();
|
||||
static void cleanup();
|
||||
static void force_redraw();
|
||||
static bool is_project_manager();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue