Francois Belair
2ceb93bbef
Fix custom res caching sub-res even if no-cache
...
Fixes #59686 , fixes #59752
2022-07-13 11:18:26 -04:00
Rémi Verschelde
66c4047a6c
SpriteFrames: Sort animations alphabetically
...
Fixes #62143 .
2022-07-13 15:48:55 +02:00
kleonc
8ae246f15e
AnimatedSprite Fix updating inspector when SpriteFrames is modified
2022-07-13 15:48:11 +02:00
Rémi Verschelde
3f0201335e
Merge pull request #62842 from RandomShaper/fix_iphone_input_3.5
...
[3.5] Flush accumulated input events on iOS
2022-07-11 18:28:04 +02:00
Markus
4abe07c811
Apply S3TC Android/iOS fix to GLES3
2022-07-11 12:12:17 +02:00
Twarit Waikar
af3a834d0e
VCS: Fix wrong number of args passed into _refresh_commit_list
2022-07-09 23:31:44 +05:30
Hugo Locurcio
28b9e376cf
Improve documentation for HTTPRequest's timeout
property
2022-07-08 23:25:06 +02:00
Pedro J. Estébanez
0348fa2640
Flush accumulated input events on iOS
2022-07-08 20:01:19 +02:00
Rémi Verschelde
875a0dba5a
AssetLib: Only notify when unavailable in verbose mode
...
(cherry picked from commit dc86bce306
)
2022-07-08 16:42:03 +02:00
Rémi Verschelde
685cecbd5f
AudioStreamPlayer: Clarify that no validation is made on 'bus' name
...
Supersedes #39605 .
Fixes #39585 .
(cherry picked from commit eedb729771
)
2022-07-08 16:41:41 +02:00
Jan Haller
861e155543
Fix exit code of --help and --version, and test them in CI
...
Corrects prior regression which caused ERROR output and exit code of 1.
(cherry picked from commit d38d76d039
)
2022-07-08 14:54:16 +02:00
Jan Haller
da78e92321
Command line arguments '--version' and '--help' return exit code 0 instead of 255
...
Allows to detect whether those commands executed successfully, which makes integration with shell scripts/CI/bindings straightforward.
(cherry picked from commit e3a8edf536
)
2022-07-08 14:54:10 +02:00
Fabio Alessandrelli
ad5fdcc0f3
[AssetLib] Fix crash in Web editor.
...
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.
(cherry picked from commit 0e504e4191
)
2022-07-08 14:37:35 +02:00
Rémi Verschelde
f05cecdc43
Merge pull request #55650 from kdiduk/pooled-arrays
2022-07-08 00:15:44 +02:00
Rémi Verschelde
600c1c4dc4
Merge pull request #62708 from madmiraal/fix-40508-3.x
2022-07-07 23:54:45 +02:00
Rémi Verschelde
b4fa512e96
Merge pull request #62826 from akien-mga/3.x-reenable-input-accumulation
2022-07-07 23:44:52 +02:00
Kirill Diduk
7b8b91f505
[GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays
...
This is a backport from 4.0 to 3.x that adds 'sort' and 'has' methods
to the following types:
- PoolByteArray
- PoolIntArray
- PoolRealArray
- PoolStringArray
- PoolVector2Array
- PoolVector3Array
- PoolColorArray
For all the types above, the methods 'sort' and 'has' have been
exposed to the GDNative API (v. 1.3)
Since the method 'has' was already implemented in GDScript before,
in this commit it has been only exposed to GDNative API.
The classes documentation is updated.
The method 'sort' uses the exisging class "Sorter".
Pooled arrays in 4.0 are rewritten, that's why this backport is not
completely indentical to the original PR made for 4.0 (see #32144 ).
2022-07-07 23:24:31 +02:00
Marcel Admiraal
12c5348180
Only include editor/SCsub when building the editor: tools=yes
...
(cherry picked from commit 2efe9a89bb
)
2022-07-07 23:23:27 +02:00
Rémi Verschelde
d6bcdd18c3
Input: Re-enable input accumulation disabled by error in 3.4
...
Input accumulation was implemented and enabled by default in 3.1, and
I don't recall major complaints around it (or bugs were fixed).
In 3.4, #42220 added input buffering and apparently toggled input
accumulation off by mistake.
This led to multiple bug reports about degraded performance on Windows,
or simply unexpected behavior change (see linked issues in #55037 ).
Fixes #55037 .
2022-07-07 23:04:51 +02:00
Brian Semrau
ce24b48e50
Add support for multiple virtual keyboard types
2022-07-07 14:22:28 -04:00
Rémi Verschelde
c18e18563f
Merge pull request #62786 from timothyqiu/scene-tree-tween-doc
...
[3.x] Fix cherry-pick mistakes in `SceneTreeTween` doc
2022-07-07 07:44:22 +02:00
Haoyu Qiu
e170ddadef
Fix cherry-pick mistakes in SceneTreeTween doc
2022-07-07 00:51:50 +08:00
Rémi Verschelde
417f20f06c
i18n: Sync classref translations with Weblate
2022-07-06 15:04:01 +02:00
Rémi Verschelde
30ceef93b0
i18n: Sync editor translations with Weblate
2022-07-06 14:59:09 +02:00
Haoyu Qiu
b200a011d1
Fix heap-use-after-free when closing a scene with its builtin script open
...
(cherry picked from commit 61bc7d6576
)
2022-07-06 11:45:12 +02:00
PZerua
7a35bf683a
Fix light intensity and attenuation import from GLTF
...
(cherry picked from commit aa7ab96e71
)
2022-07-06 11:44:30 +02:00
Jean-Marc Pelletier
ee227b9d09
StyleBox: Document correct methods to draw with a RID
...
(cherry picked from commit 63d5f31561
)
2022-07-06 11:43:04 +02:00
Thakee Nathees
da626d8922
Fix FileDialog file name autocompletion with filters
...
Fixes #38195 .
(cherry picked from commit 446f1b7052
)
2022-07-06 11:39:04 +02:00
Rémi Verschelde
7d8adb2dc5
Merge pull request #62766 from timothyqiu/texture-region-callback
...
[3.x] Update TextureRegion editor when NinePatchRect/StyleBoxTexture changes
2022-07-06 08:38:21 +02:00
Haoyu Qiu
f7c144a180
Update TextureRegion editor when NinePatchRect/StyleBoxTexture changes
...
Updates the editor when the region rect or margins change.
2022-07-06 14:04:42 +08:00
Rémi Verschelde
0902165492
Merge pull request #62761 from timothyqiu/line-edit-move
...
[3.x] Fix LineEdit caret after using arrow key to deselect
2022-07-06 08:03:50 +02:00
Rémi Verschelde
c9bb4c993e
Merge pull request #62762 from timothyqiu/icon-color
...
[3.x] Fix icon color for Label3D and CPUParticles2D
2022-07-06 07:43:14 +02:00
Haoyu Qiu
8d1be8ca35
Fix icon color for Label3D and CPUParticles2D
2022-07-06 12:34:41 +08:00
Haoyu Qiu
d86a2d57cf
Fix LineEdit caret after using arrow key to deselect
2022-07-06 09:32:39 +08:00
Rémi Verschelde
be85923dc5
Merge pull request #54083 from Rubonnek/add_bin_messages_3x
2022-07-05 23:04:15 +02:00
Rémi Verschelde
57e313daaf
Merge pull request #54080 from Rubonnek/add_hex_messages_3x
...
[3.x] Add error messages `String::hex_to_int` functions, and accept capital X in prefix
2022-07-05 23:04:03 +02:00
kobewi
cda0692159
Rework scene creation dialog
2022-07-05 19:37:59 +02:00
Wilson E. Alvarez
a97a016381
Add error messages to String::bin_to_int64, and accept capital B in prefix
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-05 11:59:21 -04:00
Wilson E. Alvarez
f12a1b6214
Add error messages String::hex_to_int functions, and accept capital X in prefix
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-05 10:16:55 -04:00
Rémi Verschelde
32ef964b0f
Merge pull request #62731 from akien-mga/Janglee123-autocompletion-underscore
2022-07-05 13:31:43 +02:00
Rémi Verschelde
917f2156df
Merge pull request #62729 from m4gr3d/fix_save_scene_crash_bug_3x
2022-07-05 13:03:29 +02:00
janglee
00c6cdd793
GDScript: Fix autocompletetion showing class names with an underscore
...
Fixes #35469 .
2022-07-05 12:29:23 +02:00
Fredia Huya-Kouadio
27b63247fd
Fix issue causing the Android Editor port to crash when saving a scene
...
In addition:
- Disable 'adb devices' query (not supported when running the editor on Android devices
- Add `move_to_trash` implementation for Android devices
2022-07-05 02:59:52 -07:00
Hansem Ro
193d5c11f3
[3.x, macOS, Windows, X11] Add stylus inverted/eraser support to InputEventMouseMotion event
2022-07-04 16:12:11 -07:00
Hugo Locurcio
90cf6688f2
Automatically add root node when drag-and-dropping in 3D editor
...
This also uses correct capitalization scheme for 3D meshes that are
drag-and-dropped, like in the 2D editor.
2022-07-05 00:54:31 +02:00
Rémi Verschelde
0cc154b120
Merge pull request #62719 from m4gr3d/fix_directory_copy_bug_3x
...
Fix the directory copy bug issue
2022-07-04 23:49:37 +02:00
Fredia Huya-Kouadio
0abc4ad129
Fix the directory copy bug issue
...
The issue was caused by a logic bug causing end of file to be reported for empty files.
2022-07-04 12:56:53 -07:00
Marcel Admiraal
25bedade3b
Do not set gravity and damping when Custom Integrator is enabled.
2022-07-04 15:37:27 +01:00
bruvzg
a8eb779ac3
Backport locale selection improvements.
2022-07-04 11:49:20 +03:00
Rémi Verschelde
6a6d32276a
Merge pull request #62697 from bruvzg/custom_key_3
2022-07-04 09:44:58 +02:00