Commit graph

4421 commits

Author SHA1 Message Date
Michael Alexsander Silva Dias c22dcca866 Fix error spam in create dialog when searching for nodes with some disabled 2019-06-12 10:43:42 -03:00
Rémi Verschelde 704f2c5d85
Merge pull request #29615 from Calinou/fix-editor-monitor-large-sizes
Fix display of large sizes in the editor monitors
2019-06-12 15:21:37 +02:00
Rémi Verschelde 1e5a02f006
Merge pull request #29599 from Calinou/assetlib-project-icon-loading
Display a "loading" placeholder while icons are loading in the assetlib
2019-06-12 13:36:06 +02:00
Rémi Verschelde 97fb28df0d
Merge pull request #29595 from YeldhamDev/bus_editor_enhancements
Enhancements for the audio bus editor
2019-06-12 13:34:30 +02:00
Rémi Verschelde 5522d7c2b0
Merge pull request #29664 from akien-mga/external-editor-default-flags
Always pass script path to external editor
2019-06-12 13:24:57 +02:00
Rémi Verschelde 59a0d90f3a
Merge pull request #29695 from jbuck3/fix-script-create-dialog
Fix script create dialog
2019-06-12 13:24:02 +02:00
Rémi Verschelde a2a5273a07
Merge pull request #29703 from YeldhamDev/method_signal_warning_base
Check base scripts for signal receiving methods before warning about them missing
2019-06-12 13:11:17 +02:00
Rémi Verschelde c010714732
Merge pull request #29710 from Calinou/assetlib-remove-unimplemented
Remove some references to unimplemented features in the assetlib
2019-06-12 12:55:16 +02:00
Rémi Verschelde f47f905248
Merge pull request #29517 from KoBeWi/pan_shop
Allow to change 2D pan hotkey
2019-06-12 12:51:22 +02:00
Rémi Verschelde 94fbaf71a6
Merge pull request #29474 from YeldhamDev/pick_subtile_fix
Fix subtile picking in TileMap editor
2019-06-12 12:50:31 +02:00
Rémi Verschelde 971b5160c6
Merge pull request #29306 from qarmin/small_code_fixes
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12 12:49:21 +02:00
Hugo Locurcio 75f1e93ac0
Remove some references to unimplemented features in the assetlib
This removes rating icons and the associated sorting option as
this feature wasn't implemented (and is unlikely to be in the
near future).

This also renames "Cost" to "License", as the "cost" field refers
to SPDX license names on the Godot Asset Library.
2019-06-12 12:26:37 +02:00
Rémi Verschelde a458365780
Merge pull request #29659 from YeldhamDev/script_connections_node_deleted
Fix connection info still appearing on scripts if the node source is deleted
2019-06-12 09:46:33 +02:00
Michael Alexsander Silva Dias 831dd19546 Check base scripts for signal receiving methods before warning about them missing 2019-06-11 22:11:26 -03:00
Hugo Locurcio 7fd7dac69c
Add spacing between the icon and details in the assetlib list
This also scales margin and separation values on hiDPI displays.
2019-06-12 01:14:29 +02:00
James Buck 2d28e393d6 Fix script create dialog
- Correctly validate parent/class names
- Trigger parent validation when selecting from buttons
- Fix enabling/disabling parent buttons
- Clear class name if not supported
- Minor cleanup
2019-06-11 16:05:24 -05:00
Rémi Verschelde 30e8b53c38
Merge pull request #29680 from akien-mga/fix-headers
Add missing license headers
2019-06-11 19:01:40 +02:00
Rémi Verschelde 4043c8a8c9
Merge pull request #29678 from akien-mga/err-macros-semicolon
Fix error macro calls not ending with semicolon
2019-06-11 19:01:26 +02:00
Rémi Verschelde f18121824c Add missing license headers
Make `fix_headers.py` script compatible with Python 3.
2019-06-11 15:33:32 +02:00
Rémi Verschelde 290032b68f
Merge pull request #29565 from YeldhamDev/editor_feature_docs
Make docs search hide nodes disabled by the editor feature profile
2019-06-11 15:17:52 +02:00
Rémi Verschelde 7842f4ca5c
Merge pull request #29262 from DarknessCatt/issue-27476
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
Rémi Verschelde 6d16f2f053 Fix error macro calls not ending with semicolon
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
Rémi Verschelde 96028e3f48
Merge pull request #29526 from YeldhamDev/connections_dialog_improvements_reborn
Improve conections dialog
2019-06-11 14:17:49 +02:00
Rémi Verschelde 227b5d20ee
Merge pull request #29519 from Ranoller/master
Make tilemap texture origin point top-left.
2019-06-11 12:05:13 +02:00
Rémi Verschelde 8d5bb06ae0
Merge pull request #29515 from Calinou/editor-inspector-checkbox-hseparation
Add a margin to "checkable" property checkboxes in the editor inspector
2019-06-11 11:56:53 +02:00
Rémi Verschelde bc75ef5ad0
Merge pull request #29508 from Calinou/doc-hex-constant-uppercase
Use uppercase for all hexadecimal constants in the editor help
2019-06-11 11:51:59 +02:00
Rémi Verschelde 4a757a2d96 Always pass script path to external editor
Previously you had to set the Exec Flags manually, reading the documentation
to find out what placeholders to use. As most editors should support having
the file path passed as the last argument, we default to doing this if no
custom {file} flag is defined. We also default the Exec Flags to "{file}" and
the placeholder text gives some documentation.

Fixes #29662.
2019-06-11 09:20:42 +02:00
Michael Alexsander Silva Dias b3010d9734 Fix connection info still appearing on scripts if the node source is deleted 2019-06-10 19:37:56 -03:00
Rémi Verschelde ee86b18a5e
Merge pull request #29497 from qarmin/fix_memory_leak_in_files
Fix memory leak after closing files
2019-06-10 15:23:26 +02:00
Michael Alexsander Silva Dias 138a8f1a99
Merge pull request #29527 from YeldhamDev/orphan_dialog_dependencies_tooltip
Add tooltip for the dependencies buttons in the orphan explorer dialog
2019-06-09 18:37:48 -03:00
volzhs 15d284b281 Fix crash when selecting favorate directory on EditorFileDialog
The problem was that favorite tool button kept to change pressed
and unpressed state with toggled event.
This is a quick fix for crash.
EditorFileDialog might need to be refactor later.
2019-06-10 00:27:28 +09:00
Michael Alexsander Silva Dias bb1c5f5525 Enhancements for the audio bus editor 2019-06-09 00:23:08 -03:00
Hugo Locurcio 746bfc3662
Fix display of large sizes in the editor monitors
Unlike the old custom method, the `String::humanize_size()`
method works well with file sizes above 2 GB.

This also tweaks the suffixes for spacing consistency and
uses the correct acronym for exabytes (EB).

This closes #29610.
2019-06-08 22:05:57 +02:00
Hugo Locurcio 9f6b470ea8
Display a "loading" placeholder while icons are loading in the assetlib 2019-06-08 11:18:52 +02:00
Michael Alexsander Silva Dias def0485ca9 Make docs search hide nodes disabled by the editor feature profile 2019-06-06 22:04:25 -03:00
Michael Alexsander Silva Dias fc23c8f941 Add tooltip for the dependencies buttons in the orphan explorer dialog 2019-06-06 02:47:56 -03:00
Michael Alexsander Silva Dias 31218a07de Improve conections dialog 2019-06-06 02:40:20 -03:00
Ranoller f26e9daab5 Make tilemap texture origin point top-left.
Fix https://github.com/godotengine/godot/issues/29487. In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-05 23:23:36 +02:00
Tomasz Chabora f472f0491c Allow to change 2D pan hotkey 2019-06-05 22:44:52 +02:00
Hugo Locurcio ecda25b050
Add a margin to "checkable" property checkboxes in the editor inspector
This makes "checkable" property checkboxes look more consistent with
other checkboxes.
2019-06-05 22:18:46 +02:00
Hugo Locurcio 6516098d12
Use uppercase for all hexadecimal constants in the editor help 2019-06-05 16:44:20 +02:00
qarmin 53c0a29fb0 Fix memory leak after closing files 2019-06-05 09:34:16 +02:00
Rémi Verschelde 197b65f32a
Merge pull request #29411 from clayjohn/multimesh_instance_2d
Added MultiMeshInstance2D node for using MultiMesh in 2D
2019-06-04 22:40:13 +02:00
Rémi Verschelde daca2a9a8e
Merge pull request #29459 from hpvb/fix-move-rename
Fix moving and renaming files
2019-06-04 22:30:43 +02:00
Rémi Verschelde e22dde1b18
Merge pull request #29452 from YeldhamDev/remember_selected_subtile
Remember selected subtile when updating the TileMap editor
2019-06-04 17:16:03 +02:00
Rémi Verschelde 33163c0040
Merge pull request #29460 from YeldhamDev/tilemapeditor_atlas_copy_fix
Fix TileMap editor not correctly copying atlas tiles
2019-06-04 16:56:59 +02:00
Michael Alexsander Silva Dias 6be7fea798 Fix subtile picking in TileMap editor
Fixes #29445.
2019-06-04 11:36:05 -03:00
Hein-Pieter van Braam-Stewart 0ac7715a27 Fix moving and renaming files
This commit fixes several issues related to moving scenes and resources
in an open project.

* Don't try to reload scenes while not all scenes are updated yet.
* Don't use the UndoRedo system to update non-user initiated editor
state.
* Resave scenes after moving files and updating resource path(s).
2019-06-04 16:24:32 +02:00
Rémi Verschelde 2844b76feb
Merge pull request #29448 from Calinou/improve-performance-monitor-display
Improve the performance monitor display
2019-06-04 09:27:39 +02:00
Michael Alexsander Silva Dias 412a0b73e9 Fix error spam when typing in the TileMap editor's search box while having no results 2019-06-04 01:44:38 -03:00