Commit graph

33878 commits

Author SHA1 Message Date
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
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
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
Rémi Verschelde
6a6d32276a
Merge pull request #62697 from bruvzg/custom_key_3 2022-07-04 09:44:58 +02:00
bruvzg
7f562030be
Use custom key struct, instead of raw hashes for the Label3D cache to avoid potential hash collisions. 2022-07-04 09:46:38 +03:00
Rémi Verschelde
bcd5a6951d
Merge pull request #62602 from akien-mga/3.x-android-preset-refactor-custom-build 2022-07-03 18:38:49 +02:00
Rémi Verschelde
f089f77c2a Android: Refactor Custom Build options in export preset
Instead of reusing the custom_template/ prefix which is actually only
used for the prebuilt APK workflow, we add a new custom_build/ prefix.

This is a slight compat breakage (users will have to redo their config)
but enables us to group the Min SDK and Target SDK options where they make
sense, and avoid reusing the previously hardcoded Target SDK 30 from
Godot 3.4.

Those two options are now strings instead of integers so that we can keep
them empty by default, and show their default value using a placeholder.
So some validation has been added to make sure they are proper ints.
The upper bound on Target SDK was also removed as it's a common use case
to use it to try to target newer released SDKs. But we warn the user that
this wasn't validated by us.

The export info dialog is now exclusive so that when it doesn't auto-close,
i.e. when it errors, you don't close it by mistake by clicking outside.

Fixes #62465.
2022-07-03 17:09:41 +02:00
Rémi Verschelde
1fa9c75c12
Merge pull request #62628 from RandomShaper/fix_gl_ub_3.5 2022-07-03 13:54:32 +02:00
Rémi Verschelde
64caa62870
Merge pull request #62664 from akien-mga/3.x-doc-input-accum-disabled 2022-07-03 13:50:11 +02:00
Rémi Verschelde
7de45b6203 Input: Document that accumulated input is disabled by default
This was actually disabled by mistake in 3.4 causing a regression, but since
this issue survived the whole 3.4.x series and it's now very close to 3.5,
it's too late to change it again.

We might consider it for 3.6 after some beta testing.

Fixes #55037.
2022-07-03 12:00:26 +02:00
mj.Jernigan
022cbeb192 Register missing WebRTCDataChannelJS type
(cherry picked from commit a413656e07)
2022-07-03 03:35:02 +02:00
Jummit
63f35d24c6 Use % when dropping unique scene nodes into script
This expands uppon #60708, using `get_node("%NodeName")` for nodes that
have a unique scene name to avoid having to change the onready
statements when the paths of the nodes change.

(cherry picked from commit 1101f6c660)
2022-07-03 03:34:23 +02:00
kobewi
07953346fa Include quotes conditionally for dropped paths
(cherry picked from commit 995bcd6218)
2022-07-03 03:33:26 +02:00
python273
77a9f3d4d8 Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
2022-07-03 03:26:12 +02:00
reduz
995281ca90 Fix editor-only visibility for lights
* Update visibility again for editor-only lights if owner changes.

Fixes #26399, supersedes #52327

(cherry picked from commit d69e3791bf)
2022-07-03 03:21:51 +02:00
Rémi Verschelde
2d54d3d71d
Merge pull request #57685 from cesarizu/gltf-texture-filename-decoding 2022-07-03 03:12:30 +02:00
Rémi Verschelde
df70aa1772
Merge pull request #57566 from Calinou/viewport-shadow-atlas-clamp-sizes 2022-07-03 03:08:03 +02:00
César Izurieta
f66200ed3c Fix gltf texture filename decoding 2022-07-03 03:03:24 +02:00
Rémi Verschelde
3d19f21576
Merge pull request #49967 from Calinou/viewport-2d-hdr-print-warning 2022-07-03 02:41:26 +02:00
Rémi Verschelde
86229d0b03
Merge pull request #54239 from Calinou/editor-directionallight-3d-only-show-relevant-properties-3.x
Only show relevant properties in the DirectionalLight inspector (3.x)
2022-07-03 02:02:10 +02:00
Rémi Verschelde
567083b981
Merge pull request #41402 from saneery/interpolated-camera-process-mode 2022-07-03 01:59:32 +02:00
saneery
cb94797ce4 Add process_mode property to InterpolatedCamera 2022-07-03 01:47:10 +02:00
Rémi Verschelde
097556d11a
Merge pull request #47170 from hilfazer/print_stray_nodes 2022-07-03 01:10:50 +02:00
Rémi Verschelde
498334d464
Merge pull request #47279 from Shatur/3.x 2022-07-03 01:10:37 +02:00
Rémi Verschelde
ef29a227bf
Merge pull request #55826 from kdiduk/gdnative-poolstringarray-join 2022-07-03 01:05:03 +02:00
hilfazer
fe21fb175c print_stray_nodes() also prints node's script 2022-07-03 01:00:58 +02:00
Shatur95
5ccc941a4c [3.x] Remove hardcoded names in generated objects 2022-07-03 00:58:13 +02:00
Rémi Verschelde
3000d8d140
Merge pull request #59576 from techiepriyansh/fix-multiple-instances-3.x 2022-07-03 00:22:15 +02:00
Rémi Verschelde
bed3d2cbd5
Merge pull request #61169 from DeeJayLSP/wav_ieee_3.x 2022-07-02 22:03:14 +02:00
Pedro J. Estébanez
65a83785fd Avoid GL undefined behavior in ubershaders 2022-07-02 19:54:02 +02:00
Rémi Verschelde
a9920ae54f
Merge pull request #62634 from akien-mga/3.x-scons-shadergen-depends 2022-07-02 16:51:54 +02:00
Rémi Verschelde
0b5b39d536
Merge pull request #62633 from linkpy/61508_fix 2022-07-02 16:26:35 +02:00
Rémi Verschelde
772d071863 SCons: Properly track codegen script dependency for generated GLES headers 2022-07-02 15:52:42 +02:00
Estelle Linkpy Reid
7a2d3b04a5 Corrected InputEventKey::as_text to return a non-empty string for physical keys. 2022-07-02 15:34:15 +02:00
Fabio Alessandrelli
e1447ec823
Merge pull request #62608 from RPicster/3.x-default-cursor-fix
[3.x] Default cursor fix in html5 export.
2022-07-02 08:09:31 +02:00