30286 Commits

Author SHA1 Message Date
kobewi
dac54b6db3
Fix GridMap still drawing when Alt+Tabbing
(cherry picked from commit 9fbef6f7db4ed8fc1d3767ffb4d856401b5bd339)
2021-06-17 12:47:55 +02:00
Fabio Alessandrelli
e05a7a4a4b
[Net] ENet non-relaying server now process broadcasts.
Setting `server_relay = false` prevents the server from letting clients
communicate with each other, but without this fix, the server would also
ignore broadcast packets.
With this change, the server still does not relay messages to other
clients, but will correctly process broadcast messages (and "exclusive"
messages) as if they were directed to just the server.

(cherry picked from commit fc255bde298575ba368ded56f6ff5b4799a787c5)
2021-06-17 12:47:55 +02:00
K. S. Ernest (iFire) Lee
37fdd656c0
ERR_FAIL_NULL check file access
Null in ResourceImporterTexture::_save_stex

(cherry picked from commit b74bc42a4304be631936ad7fac5d1605a93ab759)
2021-06-17 12:47:55 +02:00
Haoyu Qiu
95c60b76a4
Save binary ProjectSettings key length properly
(cherry picked from commit 06c0a5f9f2167a82f7091d2febad10aec7214dc0)
2021-06-17 12:47:55 +02:00
Paweł Fertyk
7520e57947
Remove trailing slash from recent dir if needed
(cherry picked from commit 709e71ae9c050a5b28b662d885d24acf31853a80)
2021-06-17 12:47:55 +02:00
Fabio Alessandrelli
2c64218415
[HTML5] Update eslint and jsdoc dependencies.
(cherry picked from commit a1cbb6daa636b9da0f06919fcd540e30c41b6982)
2021-06-17 12:47:55 +02:00
bruvzg
30393b6401
Add LSApplicationCategoryType to the template and export dialog.
(cherry picked from commit cb480376d874c23bc9eef449109b68e7f7d9968e)
2021-06-17 12:47:55 +02:00
Fabio Alessandrelli
cfedd60e6b
[HTML5] Fix JS build without eval.
Also fix download_buffer return type.

(cherry picked from commit 049b5159f13d409ce48e6dd8abccf84ae1d311b3)
2021-06-17 12:47:55 +02:00
Fabio Alessandrelli
0f5fbf5fbf
[HTML5] Fix some JS library signature.
(cherry picked from commit 9b7b0a28b9d2fdf3f92bbae389d261863666b693)
2021-06-17 12:47:54 +02:00
Pedro J. Estébanez
2d1943b8d1
Fix slow load/save of scenes with many instances of the same script
(cherry picked from commit 2ca6b9c61028b10bd1b7821cd32f6fbf505d71d1)
2021-06-17 12:47:54 +02:00
Haoyu Qiu
6c07784dba
Validate parameters when adding plugins
(cherry picked from commit 1a9e3edd30f6db4cb3fc7e079b64a2eb137bf865)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
dd70aea77c
Fix game camera override tooltips being swapped
Previously, the wrong tooltip was shown.

This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).

(cherry picked from commit d1c5dd5b6876b7951292e0d4a825f388d3e25a36)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
63d0485a6a
Fix duplicate paragraph in ArrayMesh.add_surface_from_arrays() description
(cherry picked from commit 033985f9c2d156a56060b23a0c48568af5a78257)
2021-06-17 12:47:54 +02:00
Andrii Doroshenko (Xrayez)
9a087da5d1
Use "Delete" in FileSystemDock on all platforms
The consensus is that the per-platform strings are not so useful in the
first place, so it's better to revert back to "Delete" for every platform.

(cherry picked from commit 77daadac1dab5abcd705d13248acf73e0f81ae3d)
2021-06-17 12:47:54 +02:00
kleonc
ce763fe402
TextureButton Update min size on any texture change
(cherry picked from commit 6c3c269f244ab90b54563649f3918a70446a745c)
2021-06-17 12:47:54 +02:00
Philip Whitfield
606331fdcb
fix url parsing with port numbers
String.get_slice_count is always at least 1 or 2 for bases with a port number.
Before this change the following URL would return ERR_INVALID_PARAMETER ```ws://127.0.0.1:8000/test```

(cherry picked from commit 3d9f29910ce6d317f70b2d4e7cacea2d33f28bb1)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
28aacbfe85
Allow higher and lower maximum zoom values in GraphEdit
Low zoom values result in unreadable text, but it can still be
useful for previewing purposes.

Eventually, characters could be replaced by rectangles at very low
zoom levels to improve the visual appearance.

(cherry picked from commit 74c584472c7a353eda3ed774c066ceecde4956b7)
2021-06-17 12:47:54 +02:00
Hugo Locurcio
6d60d92b87
Tweak the physics FPS property hint to only allow reasonable values
Physics FPS above 1000 cause the whole project to slow down
and are not very practical in the first place (since no CPU currently
available can keep up).

(cherry picked from commit 8f4ac7bc4a72ea76e27c7afea28760e041569465)
2021-06-17 12:47:53 +02:00
Andrii Doroshenko (Xrayez)
6aed7e349f
Separate version hash from version number in editor and project manager
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.

(cherry picked from commit 293550f56ad732ce27d042f6fca8fe8476669d15)
2021-06-17 12:47:53 +02:00
kobewi
bdc8d29749
Clarify animation_changed signal
(cherry picked from commit 8d0cbded3fbba3c64020ab8788f498ae044a24d1)
2021-06-17 12:47:53 +02:00
Hugo Locurcio
86c72acf4d
Improve radio checkboxes in the default editor theme
(cherry picked from commit 0f4df474c9b0e334968121cfdef079a2992dd205)
2021-06-17 12:47:53 +02:00
Jason Knight
7510e1c24b
Emit button_up signal after setting pressed to false.
(cherry picked from commit 4c6ad8abcda0999557d35e35811002de5ff1b18e)
2021-06-17 12:47:53 +02:00
Lightning_A
4f87bd2bc4
Add the ability to reload the current project
(cherry picked from commit a6984f8d28632c28bb6f0e2baa7ab61b6aef8a9c)
2021-06-17 12:47:53 +02:00
Haoyu Qiu
41b6fdf946
Fix json dump and print of circular structure
(cherry picked from commit b3bd54001f55246bc1d2d5d601498846465bfc12)
2021-06-17 12:47:53 +02:00
fox
a61ec597a1
Make easing properties drawn with anti aliasing
(cherry picked from commit 36236843f6fb5e5d312b759c72c3e5e668eea312)
2021-06-17 12:47:53 +02:00
Hugo Locurcio
f88dc1fd44
Fix editor constantly redrawing when freelook is active with still camera
The editor only needs to redraw when the camera is moving.

This helps preserver battery life on laptops when using freelook,
especially with the toggle mode (Shift + F).

(cherry picked from commit 21807f8d883a3a276bea990c9349e0417caf46f6)
2021-06-17 12:47:53 +02:00
daniel-mcclintock
a34d5c31b7
Fix out of sync separate distraction-free mode
(cherry picked from commit 45fc6c4706a7f3081bf483e80d9d30a735596bbd)
2021-06-17 12:47:52 +02:00
Hugo Locurcio
483f8e0ef8
Improve AudioStreamGenerator and AudioEffectSpectrumAnalyzer documentation
- Mention audio sample rate caveats in other classes where relevant.

(cherry picked from commit c872819be6377467752c40374d77d995db685a98)
2021-06-17 12:47:52 +02:00
Hugo Locurcio
45e8f75952
Complete documentation for the AudioEffectPitchShift class
(cherry picked from commit 6be32d8cbc4f36ed2d620eaa5276189015ef5221)
2021-06-17 12:47:52 +02:00
Hugo Locurcio
f45a2f4dea
Rename "Singleton" to "Global Variable" in the AutoLoad editor
The name "Singleton" was misleading because Godot does not actually
enforce a singleton pattern for autoloads. They can be instanced
multiple times.

"Global Variable" makes it more obvious that all the checkbox does
is expose the AutoLoad with a global variable for easy access.

(cherry picked from commit 1e53bac8b48702bc8d80142094b956f20edee82c)
2021-06-17 12:47:52 +02:00
Hugo Locurcio
dd2fc60abc
Handle portrait mode monitors in the automatic editor scale detection
Using the smallest dimension of the width and height makes it possible
to support both landscape and portrait monitors.

(cherry picked from commit 728fa3ff71361f527e0bf18c46cf9152ec5a3d6d)

EditorSettings: Factor code to compute auto display scale

Also fixes typo introduced in https://github.com/godotengine/godot/pull/48597/files#r652636544.

(cherry picked from commit f862f9a056d9d6eca392a04011838bdae660ab36)
2021-06-17 12:47:52 +02:00
Haoyu Qiu
770de6f579
Don't use the abbrevation "Sep." in UI text
(cherry picked from commit 5046a7d1b1cf22634b0011fc71b7c82a7e3d2bd3)
2021-06-17 11:49:31 +02:00
Rémi Verschelde
752211391f
Merge pull request #49674 from madmiraal/cleanup-android-export-fixme
Remove FIXME comment from fixed issue in Android Export
2021-06-17 11:15:26 +02:00
Marcel Admiraal
68b1a80a5d Remove FIXME comment from fixed issue in Android Export 2021-06-17 09:20:14 +01:00
Rémi Verschelde
6b98f0b615
Merge pull request #49668 from nekomatata/fix-external-resource-cache-regression-3.x
[3.x] Fix external resource cache regression
2021-06-17 01:24:40 +02:00
PouleyKetchoupp
c957035320 Fix external resource cache regression 2021-06-16 16:07:04 -07:00
Rémi Verschelde
465ab36ddf
Merge pull request #49653 from madmiraal/remove-err_prints-3.x
[3.x] Remove duplicate ERR_PRINTS macro
2021-06-16 17:33:22 +02:00
Rémi Verschelde
65466371bf
Style fix in DONORS.md (trailing space)
(cherry picked from commit 2b5b33706ef016d998c4ce9b42a1967da3482c92)
2021-06-16 13:50:05 +02:00
Rémi Verschelde
9c92ecae21
i18n: Sync translations with Weblate
(cherry picked from commit a812779cc534784acf47ad3ed3100b045912bdbb)
2021-06-16 13:48:12 +02:00
Rémi Verschelde
9f32752fd5
Update AUTHORS and DONORS list
Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit c5d6fb599c9019cab2c5b77b928f3d3b0501a01c)
2021-06-16 13:43:55 +02:00
Marcel Admiraal
5a58516231 Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
Rémi Verschelde
b27179130e
Merge pull request #49644 from Calinou/remove-3d-camera-gizmo-icon-3.x
Remove the 3D camera gizmo icon (3.x)
2021-06-16 12:10:36 +02:00
Rémi Verschelde
dd81884e6e
Merge pull request #49643 from Calinou/improve-editor-feature-profiles-3.x 2021-06-16 12:10:06 +02:00
Rémi Verschelde
a373f1c0e8
Merge pull request #49642 from Calinou/tweak-changes-may-be-lost-color-3.x
Tweak the "Changes may be lost!" text color to match the icon's color (3.x)
2021-06-16 12:08:49 +02:00
Rémi Verschelde
b4d4db0539
Merge pull request #49640 from Calinou/add-soft-line-length-guideline-3.x
Add a soft line length guideline to the script editor (3.x)
2021-06-16 12:08:23 +02:00
Hugo Locurcio
28512bb389
Improve the editor feature profiles UX
- Add an help message when no profile is selected.
  - This replaces the class/property trees which are now hidden
    when no profile is selected.
- Display `(none)` as the current profile when no profile is
  currently active.
- Make the newly created/imported profile the current if it's the
  first profile to be added to the list.
- Make more strings localizable.
2021-06-16 07:04:13 +02:00
Hugo Locurcio
7c8a8d9bf5
Remove the 3D camera gizmo icon
The gizmo icon obstructed the line-based camera gizmo, which made it
difficult to see the actual camera orientation.

This also removes the unused SpatialStreamPlayer gizmo icon.
2021-06-16 07:03:11 +02:00
Hugo Locurcio
fd65104ad5
Tweak the "Changes may be lost!" text color to match the icon's color 2021-06-16 06:35:27 +02:00
Hugo Locurcio
f36c90b82f
Add a soft line length guideline to the script editor
The default value is 80. The hard line length guideline's default column
has been moved to 100 to account for the new soft line length guideline.

It can be disabled by setting its value to the same column as the
hard line length guideline.
2021-06-16 06:00:02 +02:00
Rémi Verschelde
3b944e9d99
Merge pull request #49635 from godotengine/revert-49486-49451-fix-selection-changed-multinodeeditor-3.x
Revert "[3.x] Fix SceneTreeDock::_selection_changed"
2021-06-16 02:35:53 +02:00