Commit graph

35577 commits

Author SHA1 Message Date
Rémi Verschelde
c84cf04e95
PopupMenu: Update margins on visibility change
Fixes #96149.

Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2024-09-04 11:35:41 +02:00
lawnjelly
67d4b7346f
Merge pull request #96032 from lawnjelly/safe_unproject
[3.x] Safe `Camera::unproject_position()`
2024-09-03 16:37:57 +01:00
lawnjelly
31940c784a Safe Camera::unproject_position()
`unproject_position()` can fail in some circumstances, and this needs to be conveyed to calling code.
2024-08-26 07:55:19 +01:00
lawnjelly
01c78d87fe
Merge pull request #94972 from lawnjelly/verify_gltf_inds
[3.x] Verify GLTF indices to prevent crash with corrupt files
2024-08-19 17:42:17 +01:00
lawnjelly
3771078c02 Verify GLTF indices to prevent crash with corrupt files
Also verify prior to vertex optimization.
2024-07-31 10:39:17 +01:00
Rémi Verschelde
b58d16f0b8
Merge pull request #94482 from pablitar/3.x
[3.x] Fix external images getting embedded on import
2024-07-24 09:39:13 +02:00
pablitar
601a9eb4f5 GLTF: Fixed external images getting embedded on import
Added a map to keep track of external images during import, and used
that map to instance the textures using the resource loader instead of
creating a new texture from scratch
2024-07-22 17:10:19 -03:00
Rémi Verschelde
2cc5ca43ef
Merge pull request #94559 from rsubtil/bugfix-popup_menu_size_calculations
[3.x] Fix `PopupMenu` size calculations not taking into account control/canvas scale
2024-07-20 15:49:42 +02:00
Ricardo Subtil
1cf50364c1 Fix PopupMenu size calculations not taking into account control/canvas scale 2024-07-20 12:46:33 +01:00
lawnjelly
9a6b424c94
Merge pull request #93571 from Alex2782/g3.x_fix_GLSurfaceView
[3.x] Fix lost old callback when continuous call `requestRenderAndNotify`
2024-07-18 11:26:14 +01:00
Rémi Verschelde
863ab17e9c
Merge pull request #94470 from AThousandShips/cache_improve_3_x
[3.x] [CI] Upload build cache before running tests
2024-07-17 15:23:24 +02:00
Rémi Verschelde
9bbed7bb3c
Merge pull request #94386 from lawnjelly/revert_inner_parse
[3.x] Revert "Fix parsing inner class declaration"
2024-07-17 12:29:46 +02:00
lawnjelly
49339fd9ec
Merge pull request #94421 from lawnjelly/fix_action_press_tick
[3.x] Fix physics tick count in `Input.action_press` and `Input.action_rele…
2024-07-16 08:35:50 +01:00
lawnjelly
9221e6a466 Fix physics tick count in Input.action_press and Input.action_release
The physics tick count was not yet updated there.
2024-07-16 07:11:27 +01:00
lawnjelly
02fa77eb30 Revert "Fix parsing inner class declaration when "pass" keyword is on the same line"
This reverts commit 5bcc3d476c.
2024-07-15 10:37:21 +01:00
lawnjelly
ff77fe81d1
Merge pull request #94281 from mertkasar/3.x-ssr-orthogonal-warp-fix
[3.x] Fix SSR warp when using orthogonal camera
2024-07-14 17:59:46 +01:00
A Thousand Ships
078210bce1
[CI] Upload build cache before running tests 2024-07-13 17:50:46 +02:00
Mert Kasar
5543f56ce2 Fix SSR warp when using orthogonal camera 2024-07-11 20:38:06 +03:00
Rémi Verschelde
cfc4a0eff0
Bump version to 3.6-rc 2024-07-02 13:06:42 +02:00
lawnjelly
47a27839cb
Merge pull request #93842 from raulsntos/3.x-gltf-document-extension-2
[3.x] Fix type hints in GLTFDocumentExtension virtual methods
2024-07-02 11:59:58 +01:00
lawnjelly
d500046684
Merge pull request #93857 from kleonc/atlas-texture-fix-draw-rect-flipping-3x
[3.x] Fix `AtlasTexture::draw_rect` flipping for non-zero margin
2024-07-02 11:58:39 +01:00
lawnjelly
c2a43cb8bd
Merge pull request #93851 from lawnjelly/fti_fix_interpolate_with_2D
[3.x] Physics Interpolation - Fix `Transform2D::interpolate_with()`
2024-07-02 11:58:00 +01:00
kleonc
66d1ab0459 [3.x] Fix AtlasTexture::draw_rect flipping for non-zero margin 2024-07-02 11:26:23 +02:00
lawnjelly
250a7d8788 Physics Interpolation - Fix Transform2D::interpolate_with()
Ports the `interpolate_with()` routine from 4.x which works correctly with skew.
2024-07-02 07:42:08 +01:00
Raul Santos
a8980fbd78
Fix type hints in GLTFDocumentExtension virtual methods 2024-07-02 04:19:10 +02:00
lawnjelly
98e24835ee
Merge pull request #92941 from lawnjelly/fix_physics_tickcounter
[3.x] Fix physics tick counter
2024-07-01 12:30:22 +01:00
lawnjelly
f137eb3929
Merge pull request #92105 from lawnjelly/merging_storage_refactor
[3.x] Mesh merging - refactor to be backward compatible for CPU / GPU storage
2024-07-01 12:21:23 +01:00
lawnjelly
40961d62e2 Fix physics tick counter
The counter is now incremented at the start of a physics tick rather than the end.
2024-07-01 08:58:02 +01:00
lawnjelly
e2c7073b4e
Merge pull request #92719 from lawnjelly/doc_mipmap_warning
[3.x] `ImageTexture` - document workaround for mipmap generation
2024-06-30 12:13:52 +01:00
lawnjelly
e962aaf33d
Merge pull request #93382 from lawnjelly/fti_fix_pause
[3.x] Physics Interpolation - Fix behaviour on pause
2024-06-30 12:10:02 +01:00
lawnjelly
fc78fa7ec5 ImageTexture - document workaround for mipmap generation 2024-06-27 17:04:02 +01:00
Rémi Verschelde
ece8b38dd1
Merge pull request #91610 from bruvzg/web_ime_3
[Web, 3.x] Add IME input support.
2024-06-25 08:59:43 +02:00
Alexander Hartmann
e482dcbc68 fix lost old callback when continuous call requestRenderAndNotify 2024-06-24 20:56:12 +02:00
lawnjelly
49d3161ce0 Physics Interpolation - Fix behaviour on pause 2024-06-20 10:50:30 +01:00
lawnjelly
b2be47e6fc
Merge pull request #93339 from lawnjelly/fti_move_client_pump
[3.x] Physics Interpolation - refactor client interpolation pump
2024-06-19 18:44:57 +01:00
lawnjelly
d80b206643 Physics Interpolation - refactor client interpolation pump
* Move client interpolation pump to earlier in the iteration before 3D physics synced
* Allow `get_global_transform_interpolated()` to prime the client interpolation inside a physics tick
2024-06-19 08:44:33 +01:00
lawnjelly
12781e4554
Merge pull request #93309 from lawnjelly/fti_skinning
[3.x] Physics Interpolation - Fix 2D skinning
2024-06-19 06:50:44 +01:00
Rémi Verschelde
30fa2e3c95
Merge pull request #92784 from lawnjelly/fti_camera_to_scene
[3.x] Physics Interpolation - refactor `Camera` and fix `get_camera_transform()`
2024-06-18 23:14:31 +02:00
lawnjelly
44f6042e6b Physics Interpolation - Fix 2D skinning
2D skinning required the interpolated skeleton base transform to be updated when using interpolation.
2024-06-18 15:01:20 +01:00
lawnjelly
72aac8135c
Merge pull request #92725 from lawnjelly/faster_editor_grid
[3.x] Faster editor grid
2024-06-13 08:49:03 +01:00
lawnjelly
0b30d77384 Physics Interpolation - refactor Camera and fix get_camera_transform()
* Moves 3D Camera interpolation scene side.
* Automatically switches `get_camera_transform()` to report interpolated transform during `_process()`.
* Fixes `ClippedCamera` to work with physics interpolation.
2024-06-09 12:08:27 +01:00
lawnjelly
b203829361
Merge pull request #92721 from aaronfranke/3.x-rv-warn-sysv-abi
[3.x] GDNative: Fix Linux riscv warning about ignored `sysv_abi`
2024-06-03 20:53:19 +01:00
lawnjelly
4ec07e8beb Optimize Editor _init_grid()
Use static `LocalVectors` instead of `PoolVectors` for temporaries.
2024-06-03 14:07:38 +01:00
Aaron Franke
945a49064f
[3.x] GDNative: Fix Linux riscv warning about ignored sysv_abi 2024-06-03 04:22:47 -07:00
lawnjelly
ab6395da40
Merge pull request #92501 from timothyqiu/stretch-shrink-range-3.x
[3.x] Add range hint for `ViewportContainer.stretch_shrink`
2024-06-03 08:40:18 +01:00
Rémi Verschelde
39b35c6194
Merge pull request #91656 from akien-mga/3.x-scons-windows-mingw-TypeError
[3.x] SCons: Fix Windows/MinGW TypeError with recent SCons
2024-05-30 16:07:31 +02:00
Haoyu Qiu
d655fc8fed Add range hint for ViewportContainer.stretch_shrink 2024-05-29 09:06:06 +08:00
lawnjelly
1bfb788c4f
Merge pull request #92438 from lawnjelly/fti_fix_visual_instance_identity
[3.x] Physics Interpolation - Fix `VisualInstance::set_instance_use_identit…
2024-05-28 11:16:23 +01:00
lawnjelly
ad6bcaf8c7
Merge pull request #92346 from timothyqiu/theme-item-completion-3.x
[3.x] Fix theme item parameter completion
2024-05-27 19:09:23 +01:00
lawnjelly
7130c1bebc Physics Interpolation - Fix VisualInstance::set_instance_use_identity_transform()
The logic for updating the `VisualServer` with the transform was the wrong way around.
2024-05-27 19:02:42 +01:00