summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2018-06-15Fix path typo for editor def capitalize_propertiesGuilherme Felipe
2018-06-11Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMDRémi Verschelde
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX and KEY_MASK_META (Command key) on OSX, so it should be used for all Ctrl/Cmd + key shortcuts. Also de-hacked the macOS shortcut replacements with proper conditional definition. Not tested on macOS, cannot judge if they are good shortcuts. Fixes #10761.
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-05-30Move NavigationMeshEditorPlugin to Recast module as should beRémi Verschelde
Modules can register their own editor plugins (like GridMap does), so no need to put module-specific classes in the `editor/` folder. Also cleans up the previous SCons env pollution from the Recast module, integrating its code into libmodules as other modules.
2018-05-26Merge pull request #15489 from willnationsdev/gdnative-hookMax Hilbrunner
Add EditorPlugin.build() build callbacks
2018-05-26Merge pull request #18234 from flashyincceo/font-previewMax Hilbrunner
Adding font preview to file browsers
2018-05-17Moved inspector functionality from EditorNode to InspectorDock.Daniel J. Ramirez
2018-05-17-Ability to open resources in the same windowJuan Linietsky
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-10Allow exporting runnable presets from command lineLeon Krause
2018-05-09Adding font preview to file browsersPeter Folkins
2018-05-07Implemented ragdollAndreaCatania
Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll a Implemented implicit hierarchy. Improved Added some physics properties Added bone offset to preserve COM, partially fixed scaling work in progress WIP wip Implemented Joint Gizmos Implemented pin joint joint Implemented all joints
2018-05-07Merge pull request #15640 from willnationsdev/resource-saved-signalMax Hilbrunner
Added EditorPlugin 'resource_saved' signal
2018-05-02Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde
Implement universal translation of touch to mouse (3.1)
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Revert "Added a more specific error message on export"Rémi Verschelde
This reverts commit 00c689d625d0243577c225612aa86aa6a85274c4. Reason: "Missing template" is just one possible explanation for `err` being != OK here, it does not make sense to hardcode it in the generic error message (and break translations doing so).
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30Merge pull request #18506 from AlexHolly/export-more-specific-error-messageMax Hilbrunner
Added a more specific error message on export
2018-04-29Merge pull request #18455 from neikeq/export-pck-zip-debugHein-Pieter van Braam
Make 'Export PCK/ZIP' work well with EditorExportPlugin
2018-04-29Added a more specific error message on exportAlexander Holland
2018-04-27CSG Support for Godot!Juan Linietsky
-Missing Icons -Missing freezing option (for baking light and faster load) -Missing a way to export from Godot (GLTF2?) -Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs) Happy testing!
2018-04-26Make 'Export PCK/ZIP' work well with EditorExportPluginIgnacio Etcheverry
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
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-08Drag to rearrange Tabs and TabContainerianb96
2018-04-08Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-04Explicitly print an error when --export fails.Pieter-Jan Briers
Previously this would not explicitly say the export failed. Sure you might see another error somewhere, but that's not very reliable/obvious.
2018-03-24Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram
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!
2018-03-23Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23Merge pull request #17706 from Calinou/overhaul-hidpi-settingsRémi Verschelde
Overhaul the display scaling editor settings
2018-03-23Overhaul the display scaling editor settingsHugo Locurcio
This adds more scaling options, in addition to a custom scaling option which allows any scale between 0.75 and 3.0 to be used.
2018-03-23Merge pull request #17496 from robfram/fix-f3-change-editor-and-findRémi Verschelde
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23Merge pull request #17576 from Mr-Slurpy/masterRémi Verschelde
Allow users to add items to Tool menu
2018-03-21Prevented external editor from running multiple timesIvan Vodopiviz
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.
2018-03-18Fix saving unmodified scenes and resourcesrobfram
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.
2018-03-17Added tool menu functions in EditorPluginMr-Slurpy
2018-03-16Fix pressing `F3` do both changing to script editor AND find next textrobfram
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
2018-03-13Merge pull request #17013 from Noshyaar/themeRémi Verschelde
Update icons when theme changed
2018-03-13Merge pull request #17116 from poke1024/fix16734Rémi Verschelde
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13Merge pull request #17435 from poke1024/output-error-iconRémi Verschelde
Show error icon at "Output" in case of errors
2018-03-11EditorNode: fix clicking ok keeps trying to savePoommetee Ketson
2018-03-11Show error icon at "Output" in case of errorsBernhard Liebl
2018-02-28Fix round preview getting square on "run scene" (issue 16734)poke1024
2018-02-25Update icons when theme changedPoommetee Ketson
2018-02-212D Skeletons WORK IN PROGRESSJuan Linietsky
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-21Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.Juan Linietsky
2018-02-19Added an auto quit and auto build flag to the command line options.Nathan Warden
2018-02-14Merge pull request #15862 from poke1024/esc-close-dockRémi Verschelde
Make KEY_ESCAPE close all output/debugger docks on bottom
2018-02-02Small changes to the "Recent Scenes" menu.Michael Alexsander Silva Dias