diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-04 01:31:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-04 01:31:08 +0200 |
| commit | 75cbcb596a2ffc2a289fe1319292d1eb9a788732 (patch) | |
| tree | d3a1ac88a273a0b1322b40d61e0e3485aa13ea7d /editor/editor_node.cpp | |
| parent | 5d162798cd172404a5a7101a9c5666046ef62e88 (diff) | |
| parent | 617797c47cac39830282b7ea85fc38eb2d242e19 (diff) | |
| download | redot-engine-75cbcb596a2ffc2a289fe1319292d1eb9a788732.tar.gz | |
Merge pull request #30982 from iwek7/feature/skip_breakpoints
Adds skip-breakpoints feature
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index aab890be00..5e3ece7b0b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1850,6 +1850,7 @@ void EditorNode::_run(bool p_current, const String &p_custom) { String main_scene; String run_filename; String args; + bool skip_breakpoints; if (p_current || (editor_data.get_edited_scene_root() && p_custom == editor_data.get_edited_scene_root()->get_filename())) { @@ -1915,8 +1916,9 @@ void EditorNode::_run(bool p_current, const String &p_custom) { editor_data.get_editor_breakpoints(&breakpoints); args = ProjectSettings::get_singleton()->get("editor/main_run_args"); + skip_breakpoints = ScriptEditor::get_singleton()->get_debugger()->is_skip_breakpoints(); - Error error = editor_run.run(run_filename, args, breakpoints); + Error error = editor_run.run(run_filename, args, breakpoints, skip_breakpoints); if (error != OK) { |
