aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make 'Export PCK/ZIP' work well with EditorExportPluginIgnacio Etcheverry2018-04-291-3/+3
| | | | | | | Add debug flag to the 'Export PCK/ZIP' option Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback (cherry picked from commit 68b35de2b6ea23178061f65bc28b4f73e0c65f35)
* Show error icon at "Output" in case of errorsBernhard Liebl2018-04-291-1/+2
| | | | (cherry picked from commit 512069001330ac8f91492986f61a0963308e7d5d)
* Explicitly print an error when --export fails.Pieter-Jan Briers2018-04-291-5/+9
| | | | | | | | Previously this would not explicitly say the export failed. Sure you might see another error somewhere, but that's not very reliable/obvious. (cherry picked from commit 4954982b952f16ead758818d3769e2740f4cba6b)
* Prevented external editor from running multiple timesIvan Vodopiviz2018-04-281-1/+2
| | | | | | | Fixes #16923. I'm not a fan of the special case for scripts in editor_node.cpp, but in any case, I made it so it wouldn't make the external editor to re-open just because we switched scenes. (cherry picked from commit f5147befb68cc2a021034a55ad64a4e1fae4bba2)
* Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram2018-04-281-4/+2
| | | | | | | | | This PR fixes the code to avoid saving default environment every time the project is run whitin the editor. Should fix #17727. Sorry for the troubles! (cherry picked from commit 7821b70a00768cb99c0b48450eabe5a687ae276c)
* Fix saving unmodified scenes and resourcesrobfram2018-04-281-1/+7
| | | | | | | | | | | | | | | | When `_save_all_scenes` or `save_resource_in_path` was called, they always saved all the scenes and the resource no matter if they were modified or not. For example, when `saving before run` option was checked, it always overwrote the current scene and the default environment simply by opening and runing the project. This PR adds checks for unsaved scenes (using the same `unsave` check others method used) and modified resources (comparing last modified time and last import time). Fix #6025. (cherry picked from commit 28ab60422d648d43d219186ea0ecffce1645188f)
* Fix pressing `F3` do both changing to script editor AND find next textrobfram2018-04-281-0/+6
| | | | | | | | | | | | | | | | As `KEY_F3` was used both for changing to script editor window and, in the script editor, for finding the next result in the last search, and the key event is **not** consumed, the resulting behaviour was similar to press `F3` twice, first to change to script editor and second to find the next result of a previous search. This PR sets the `key_pressed` status of `InputEvent` to `false` if this event is responsible of an editor change, simulating the consumption of the event. Fix #17334 (cherry picked from commit 8939f44f6ac5594348e4d671d121680822bd8dc8)
* Fix converting a tilset if the existing file is not a tilesetHein-Pieter van Braam2018-04-281-1/+1
| | | | See ed3b080ca6ebc4361306a786dcc2d45481ee8ed9
* EditorNode: fix clicking ok keeps trying to savePoommetee Ketson2018-04-281-0/+3
| | | | (cherry picked from commit e12e6cacdb823caf4227f63f4bd175a593918813)
* Fix round preview getting square on "run scene" (issue 16734)poke10242018-04-141-0/+1
| | | | (cherry picked from commit 899f7b125e843d7187ad7c614588d635ce989f80)
* Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"Hein-Pieter van Braam2018-03-011-6/+0
| | | | | | | | This reverts commit c04d8684765b2adc2fe2af56741ff8a2b8953f75. This caused a regression when trying to close the typing suggestion. Reverting this for now until a better implementation for this behavior gets made.
* Fix typos with codespellluz.paz2018-02-221-1/+1
| | | | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ``` (cherry picked from commit 612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5)
* Added an auto quit and auto build flag to the command line options.Nathan Warden2018-02-211-3/+3
| | | | (cherry picked from commit 4bfb504c2f047660ce85fda96657d5cb27415f19)
* Make KEY_ESCAPE close all output/debugger docks on bottomBernhard Liebl2018-02-191-0/+6
| | | | (cherry picked from commit 2ae2735a7a2631ef1a2c901a81135b1a1f3f954f)
* Ability to import .escn files, which is just a .tscn but with forced import.Juan Linietsky2018-01-311-0/+4
| | | | | | This works together with the new Blender to Godot exporter. (cherry picked from commit 1322ca6fb254f31d9f6133ad083588b5d21e97be)
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-2/+2
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Properly save the new save safe setting, avoid crash.Juan Linietsky2018-01-121-2/+2
|
* Attempt renaming multiple times on safe file save, and make the behavior ↵Juan Linietsky2018-01-121-1/+1
| | | | optional. Fixes #14339.
* Fixes #15416 - "The deleted nodes are hanging in the inspector."Blazej Floch2018-01-081-1/+1
|
* Merge pull request #15438 from endragor/export-after-importRémi Verschelde2018-01-071-36/+36
|\ | | | | Perform export after import is fully complete
| * Perform export after import is fully completeRuslan Mustakov2017-12-301-36/+36
| | | | | | | | | | | | Previously command line export would go simultaneously with reimport, which caused final package to either miss something or contain outdated assets or perhaps even broken ones.
* | Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828Juan Linietsky2018-01-061-0/+5
| |
* | Avoid crashing when dependencies on inherited/instanced scenes cant be ↵Juan Linietsky2018-01-051-1/+8
| | | | | | | | satisfied, fixes #15298
* | Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | | | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* | Fix crash in OS::execute on FreeBSDRémi Verschelde2018-01-041-1/+1
| | | | | | | | | | As spotted by @robfram, closes #15288. Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
* | Merge pull request #15226 from volzhs/copy-resourceRémi Verschelde2018-01-031-1/+2
|\ \ | | | | | | Copy resource with specific extension
| * | Copy resource with specific extensionvolzhs2018-01-011-1/+2
| |/ | | | | | | Fix #15169
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Fixed right dock dragger not disappearing when there is no docks there.Michael Alexsander Silva Dias2017-12-221-1/+15
|/
* EditorSettings: Move scene tab options to their dedicated categoryRémi Verschelde2017-12-201-3/+3
| | | | Fixes #14870.
* Good while it lasted, restored full 3D for 2D viewport, as required for ↵Juan Linietsky2017-12-191-1/+1
| | | | Canvas BG mode. Fixes #14540
* Cleanup some #if 0'd codeRémi Verschelde2017-12-171-9/+1
|
* -Added new scene conversion to binary on export (disabled by default, please ↵Juan Linietsky2017-12-151-0/+5
| | | | | | test) -This method works by directly converting text to binary, so the scene does not need to be loaded and saved
* GDScript files are converted to binary on export now.Juan Linietsky2017-12-141-0/+1
|
* -Add lightmapperJuan Linietsky2017-12-141-4/+6
| | | | | | -Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
* Fixed close current scene closing the wrong scene, issue 13844Paulb232017-12-101-0/+3
|
* Style: Re-apply clang-format over recent invalid additionsRémi Verschelde2017-12-101-1/+0
|
* Exposed EditorSceneImporter to script. Added APIs to use intermediate ↵Juan Linietsky2017-12-071-0/+2
| | | | converters more easily.
* Merge pull request #14348 from waldson/feature-set-main-screen-plugin-iconGeorge Marques2017-12-071-2/+15
|\ | | | | Add method on EditorPlugin to set main screen plugins icons
| * Add method to set main screen plugin iconWaldson Patrício2017-12-061-2/+15
| |
* | Reduce some graphics memory usage by disabling unnecesary modes, closes #12831Juan Linietsky2017-12-061-0/+2
| |
* | Fix and rewrite folding logic, closes #14005, closes #13421Juan Linietsky2017-12-061-3/+5
|/
* Make sure the scene warning of changes may be lost is only for scenes, fixes ↵Juan Linietsky2017-12-051-1/+1
| | | | #13970
* Merge pull request #13977 from waldson/fix-stop-scene-always-activeAndreas Haas2017-12-051-1/+4
|\ | | | | Fix stop button always enabled
| * Fix stop button always enabled (issue #13933)Waldson Patrício2017-12-041-1/+4
| |
* | Small fixes to #13233Dmitry Koteroff2017-11-281-5/+0
| |
* | Merge pull request #13233 from Krakean/add_eidtorinspector_collapseexpand_v2Rémi Verschelde2017-11-261-1/+25
|\ \ | | | | | | Inspector: Implemented a collapse/expand all (v2)
| * | Implemented a collapse/expand all feature request for Inspector (issue ↵Dmitry Koteroff2017-11-241-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | #9427) via popup of "Object properties" button. Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default. Cosmetics fixes due to @Reduz notes.
* | | Merge pull request #13259 from Paulb23/restore_scenes_on_startup_issue_2385Rémi Verschelde2017-11-261-2/+41
|\ \ \ | | | | | | | | Restore scenes on startup, issue 2385
| * | | Restore scenes on startup, issue 2385Paulb232017-11-241-2/+41
| |/ /