Rémi Verschelde
fc18d637a8
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 .
(cherry picked from commit fc370b3feb
)
2019-09-24 09:00:45 +02:00
Tomasz Chabora
a758b329d0
Save opened scenes when necessary
...
(cherry picked from commit 331f922359
)
2019-04-20 22:50:16 +02:00
ShyRed
dc259b95d8
Add Emission Mask to CPUParticle2D
...
Add ability to load emission masks to CPUParticle2D.
(cherry picked from commit dcd268e183
)
2019-04-03 16:54:33 +02:00
Will Nations
8b1b8181b3
Fix inherited icons for script classes
...
(cherry picked from commit 2d106eb715
)
2019-04-03 16:50:50 +02:00
Michael Alexsander Silva Dias
1f9809032d
Make bottom panel only try to hide editors when they're visible
...
(cherry picked from commit ebabb0ea65
)
2019-04-01 11:15:57 +02:00
qarmin
ae3047d758
Show in tabs non default class icons
...
(cherry picked from commit 825a870f06
)
2019-04-01 11:11:22 +02: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
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
Michael Alexsander Silva Dias
da45f1bf85
Minor cleanup in the Project Manager
2019-02-12 08:25:09 -02:00
Michael Alexsander Silva Dias
3a70020c98
Cleanup editor's top bar of old nodes
2019-02-11 02:18:54 -02:00
QbieShay
fe046de216
Root node of a scene is now selected when the scene is opened.
2019-02-08 22:50:39 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Juan Linietsky
a089061120
Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378 .
2019-01-27 13:41:47 -03:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Juan Linietsky
5bd3f72878
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
2019-01-25 17:23:56 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Juan Linietsky
e8d31cc765
Perform a cleaner exit for resource preview, fixes #24206
2019-01-17 09:09:39 -03:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Chaosus
b26d2ac190
Fix "method not found" error when script is removed from object
2018-12-31 12:09:08 +03:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Alexandre LittleWhite Laurent
ca90dd302b
Change global timestamp behaviour earlier
2018-12-16 23:39:17 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00