mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-25 21:27:30 +01:00
Now SceneSynchronizerDebugger can properly create it's debugger.py file.
This commit is contained in:
parent
f37f74d7f9
commit
08f7789e40
@ -247,6 +247,16 @@ void SceneSynchronizerDebugger::prepare_dumping(int p_peer, SceneTree *p_scene_t
|
||||
|
||||
void SceneSynchronizerDebugger::setup_debugger_python_ui() {
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
DirAccess *dir = DirAccess::create_for_path(main_dump_directory_path);
|
||||
|
||||
Error e;
|
||||
e = dir->make_dir_recursive(main_dump_directory_path);
|
||||
|
||||
memdelete(dir);
|
||||
|
||||
ERR_FAIL_COND_MSG(e != OK, "Can't create the `" + main_dump_directory_path + "` directory.");
|
||||
|
||||
// Verify if file exists.
|
||||
const String path = main_dump_directory_path + "/debugger.py";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user