Commit graph

516 commits

Author SHA1 Message Date
Juan Linietsky dd03dcbd5a Android now (optionally) builds the template when exporting
Added new way to create add-ons
Removed old way to create add-ons
2019-04-07 15:46:52 -03:00
Rémi Verschelde 5881c6505b
Merge pull request #27414 from KoBeWi/drop_the_dir
Allow to drop folders onto editor
2019-04-22 12:01:32 +02:00
Rémi Verschelde 71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Juan Linietsky 04847ef5f9 Added ability for multiple images to be imported as an atlas
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Tomasz Chabora 331f922359 Save opened scenes when necessary 2019-04-15 22:17:49 +02:00
Paulb23 6ea253aa77 Restore script editor state between sessions 2019-04-13 13:07:12 +01:00
Rémi Verschelde c8994b56f9 Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Juan Linietsky 3474e1586d Changes to to feature profile editor
Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
2019-04-08 20:20:20 -03:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Rémi Verschelde 694ec9b3d0
Merge pull request #26551 from ZahFox/editor-shortcuts
New shortcuts for the editor menu items
2019-04-07 13:49:12 +02:00
Rémi Verschelde 03581e49b7
Merge pull request #27151 from vorabrijesh/updated
Changed default shortcut for opening help menu to (Shift + F1)
2019-04-07 11:53:08 +02:00
vorabrijesh f1e4fd3e39 Change Help menu shortcut to Shift+F1: Fixes #3786 2019-04-07 01:45:26 +05:30
Rémi Verschelde fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
Rémi Verschelde de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Tomasz Chabora c0da243f04 Allow to drop folders onto editor 2019-03-26 13:33:38 +01:00
Pedro J. Estébanez 9c3ddf05cb Revert accidental commits
This reverts commit fb37284c02.
This reverts commit 4db0f51b9a.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez 4db0f51b9a Create live view dock [wip] 2019-03-20 20:44:43 +01:00
ShyRed dcd268e183 Add Emission Mask to CPUParticle2D
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
Will Nations 2d106eb715 Fix inherited icons for script classes 2019-03-17 00:04:15 -05:00
Rémi Verschelde ffd115dd6f
Merge pull request #26935 from qarmin/show_class_name_icon_in_tabs
Show in tabs custom class icons
2019-03-16 11:04:03 -07:00
Michael Alexsander Silva Dias ebabb0ea65 Make bottom panel only try to hide editors when they're visible 2019-03-16 03:39:49 -03:00
qarmin 825a870f06 Show in tabs non default class icons 2019-03-11 22:54:23 +01:00
George Marques 25f9aee005
Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
Juan Linietsky 6eac688952 Don't hide/show top editor if they did not change, fixes #26644 2019-03-06 12:42:01 -03:00
Juan Linietsky 5f079e2ef9 -Make tileset and meshlibrary edit in a separate inspector, fixes #26671
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Juan Linietsky 472c94ce3e Remove the "Open Editor" button, it will open automatically. 2019-03-04 16:50:21 -03:00
Juan Linietsky 53bec9deeb Fix and restore text, material and mesh previewers. 2019-03-04 15:53:18 -03:00
Juan Linietsky e653c79ef7 Better warnings when resources can't be saved. Fixes #26531 2019-03-04 11:06:49 -03:00
Juan Linietsky a1e73dcc94 Add support for event accumlation (off by default, on for editor), fixes #26536 2019-03-03 19:53:13 -03:00
will 7a88002992 New shortcuts for the editor menu items 2019-03-03 15:24:58 -06:00
Bruno Lourenço ed7534a6aa Fix grid view button icon not showing on filesystem dock. 2019-03-03 15:02:51 +00:00
Paul Trojahn f3d94cc752 Fix misleading modified status of scenes
If a scene is instanced in another scene, any changes to the first
triggers _clear_undo_history in EditorNode::set_current_scene, which
increments the version in UndoRedo::clear_history. This results in a
modified status. Passing false to clear_history fixes this issue.
Fixes #25942
2019-03-01 18:27:37 +01:00
Juan Linietsky 9ca6ffa341 Save resources even if no scene is present, closes #26273 2019-02-27 20:00:40 -03:00
Rémi Verschelde 028303f167
Merge pull request #26373 from groud/fix_layout_loading
Fixes layout loading
2019-02-27 22:39:31 +01:00
Juan Linietsky d8f12c4343 Avoid docks to be overriden while scanning, fixes #26359 2019-02-27 18:14:59 -03:00
Gilles Roudiere 04fb1069cd Fixes layout loading 2019-02-27 21:36:12 +01:00
Juan Linietsky a5370b1b1b -Fix problem of order of import plugins, closes #26340
-Ensure resource previewer does not start until first import is done
2019-02-27 14:11:17 -03:00
Juan Linietsky eb2b9b88a9 Make sure restoring opened scenes happens after scanning is done. 2019-02-27 11:00:32 -03:00
Juan Linietsky caa42667e8 If resources on disk have subresources and they are edited, also save the resource on ctrl-s 2019-02-26 23:48:30 -03:00
Rémi Verschelde 68f675fba2
Merge pull request #26290 from groud/move_setting_to_layout
Move the FileSystem dock layout properties to the per-project layout file
2019-02-26 09:14:41 +01:00
Gilles Roudiere de95493de2 Move the FileSystem dock layout properties to the per-project layout file 2019-02-25 23:39:49 +01:00
Eric Rybicki 747b9ac870 Fix editor crash after disabling plugin that used forward_spatial_gui_input
Fixes #26124.
2019-02-25 17:11:04 +01:00
Juan Linietsky 7f63b0e8cd Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky 8b231b96e3 Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801 2019-02-21 20:49:42 -03:00
marxin 8d51618949 Add -Wshadow=local to warnings and fix reported issues.
Fixes #25316.
2019-02-20 19:44:12 +01:00
Rémi Verschelde 74ef11d404
Merge pull request #26061 from qarmin/fix_res_error
Fix res:// error when dragging file from outside of editor
2019-02-20 17:28:05 +01:00
Michael Alexsander Silva Dias 0de15955ad Add small spacing between top bars in main editor and project manager 2019-02-20 12:08:52 -03:00
qarmin 2f0c4de1f0 Fix res:// error when dragging file to other file 2019-02-19 17:21:05 +01:00
Rémi Verschelde f5f2b5d4af
Merge pull request #25962 from willnationsdev/fix-missing-addon
Auto-cleanup missing addons
2019-02-18 10:09:58 +01:00
Will Nations 2d0fcd5c4a Auto-cleanup missing addons 2019-02-17 22:57:45 -06:00