aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_run.h
diff options
context:
space:
mode:
authorBenjamin Bäumler2017-02-27 15:20:47 +0100
committerRémi Verschelde2017-02-27 15:20:47 +0100
commitedd37eccd486fe114f5a7fc742e817ea37d854b2 (patch)
treeefb74b64d11e94b8da1aa40aa143b722f1c087ec /tools/editor/editor_run.h
parentdf365fdc3cd62b482d6ecc9a074f235886b6ee01 (diff)
downloadgodot-edd37eccd486fe114f5a7fc742e817ea37d854b2.tar.gz
godot-edd37eccd486fe114f5a7fc742e817ea37d854b2.tar.zst
godot-edd37eccd486fe114f5a7fc742e817ea37d854b2.zip
fix custom scene arguments from the editor
sequel of #7347 Play edited scene and Play custom scene didn't worked when main_run_args hadn't $scene as argument. Changes/Fixes the way how the editor handles scene paths when starting the project/a scene Play the project - no scene path Play the edited scene - scene path of active scene in the editor Play custom scene - scene path of custom scene main_arg_runs is now empty by default and $scene won't be replaced by the scene path anymore Changed declaration if EditorRun::run, to remove a unused value
Diffstat (limited to '')
-rw-r--r--tools/editor/editor_run.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_run.h b/tools/editor/editor_run.h
index 78fa89248..46c5dc752 100644
--- a/tools/editor/editor_run.h
+++ b/tools/editor/editor_run.h
@@ -49,7 +49,7 @@ private:
public:
Status get_status() const;
- Error run(const String& p_scene,const String p_custom_args,const List<String>& p_breakpoints,const String& p_edited_scene);
+ Error run(const String& p_scene,const String p_custom_args,const List<String>& p_breakpoints);
void run_native_notify() { status=STATUS_PLAY; }
void stop();