Commit graph

13828 commits

Author SHA1 Message Date
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal 2023-11-17 15:29:39 +03:00
Rémi Verschelde
4065266119
Merge pull request #84968 from groud/fix_tilemap_reparenting
Update tilemap physics' world2D on reparenting
2023-11-16 14:53:15 +01:00
Rémi Verschelde
6ae6cc0bf5
Merge pull request #84815 from TokageItLab/array-animation
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
Silc Lizard (Tokage) Renew
80c9533810 Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
Gilles Roudière
dae641625a Update tilemap physics' world2D on reparenting
Co-authored-by: Alon Ran <newdefectus@gmail.com>
2023-11-16 11:31:42 +01:00
Alistair Leslie-Hughes
5b6f641e99 Fix sizeof usage for Variant pointers in alloca
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
Rémi Verschelde
56a2b143a2
Merge pull request #84942 from TokageItLab/leak-res-track-cache
Fix ValueTrack with Resource is leaking
2023-11-15 18:47:10 +01:00
Silc Lizard (Tokage) Renew
f853d675e8 Fix ValueTrack with Resource is leaking 2023-11-16 02:12:39 +09:00
Mikael Hermansson
a3278c772e Fix transform sync in RigidBody*D::_body_state_changed 2023-11-15 01:45:45 +01:00
Mikael Hermansson
a98b94758b Revert "Fix transform notification not getting sent out for RigidBody2D" 2023-11-14 22:17:26 +01:00
Rémi Verschelde
c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
Rémi Verschelde
9c67a02259
Merge pull request #84856 from mihe/fix-block-transform-notify
Fix transform notification not getting sent out for RigidBody2D
2023-11-14 19:31:43 +01:00
Rémi Verschelde
75e0b90f1d
Merge pull request #84874 from bruvzg/rtl_excessive_draw
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 11:27:55 +01:00
Rémi Verschelde
7c7d9e2169
Merge pull request #83781 from martinfelis/fix-animationplayer-ready-autoplay
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready
2023-11-14 11:27:44 +01:00
Martin Felis
f04ec34b78 Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready.
Fixes #83326.

The issue was introduced in the refactoring done in 1b95827d3e.
2023-11-14 08:30:40 +01:00
bruvzg
4a82d3b16d
[RTL] Fix excessive underline and table border draw calls. 2023-11-14 08:31:44 +02:00
jsjtxietian
b79cac6d2d Make Tree's set_selected check if treeitem belongs to the tree 2023-11-14 11:34:00 +08:00
Rémi Verschelde
8b705af9e5
Merge pull request #84832 from alesliehughes/fix_use_after_free
Fix VisualShader connection use after free.
2023-11-14 00:03:45 +01:00
Rémi Verschelde
8d731b17f1
Merge pull request #84829 from bitsawer/fix_particle_material_names
Fix several ParticleProcessMaterial texture names
2023-11-14 00:03:21 +01:00
Alistair Leslie-Hughes
a30dc67007 Fix VisualShader connection use after free. 2023-11-14 07:34:41 +11:00
Mikael Hermansson
9fb0b52608 Fix transform notification not getting sent out for RigidBody2D 2023-11-13 15:44:32 +01:00
kobewi
4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
jsjtxietian
306a8eec58 Add protection in RichTextLabel.update_image to prevent crash 2023-11-13 18:01:14 +08:00
bitsawer
7c4d07c5a0 Fix several ParticleProcessMaterial texture names 2023-11-13 05:51:01 +02:00
Rémi Verschelde
64150060f8
Merge pull request #84799 from mihe/fix-83412
Fix transform changes in `_integrate_forces` being overwritten
2023-11-12 23:01:18 +01:00
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Mikael Hermansson
21a3ed1715 Fix transform changes in _integrate_forces being overwritten 2023-11-12 19:32:08 +01:00
Rémi Verschelde
7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.
2023-11-12 15:22:16 +01:00
Rémi Verschelde
8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
biswas08433
92fe4bb693 Fixes Texture2dParameter node filter option
This bug was appending 2 colons in the generated code.  Fixed it.
2023-11-12 01:59:53 +05:30
Rémi Verschelde
7f8edaa238
Merge pull request #82660 from coumcashier/itemlist_height_fix
Fix storing invalid item height values in `ItemList`
2023-11-10 21:54:33 +01:00
Rémi Verschelde
28ada4582e
Merge pull request #82604 from Calinou/editor-camera3d-size-property-hint
Tweak Camera3D `size` property hint to make dragging more useful
2023-11-10 21:54:10 +01:00
coumcashier
1533292f09 Fix storing invalid item height values in ItemList
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.
2023-11-10 19:54:31 +01:00
bitsawer
0f66bc9ba6 Fix FogMaterial memory leak 2023-11-10 12:13:52 +02:00
kobewi
a3627b6e37 Assign temporary path to preloaded resources 2023-11-10 00:43:30 +01:00
Rémi Verschelde
0e6160a00f
Merge pull request #81525 from KoBeWi/tweening_the_impossible
Check if property exists before tweening
2023-11-09 20:03:53 +01:00
Rémi Verschelde
c2246a5a6f
Merge pull request #84668 from YuriSizov/gui-dont-warn-when-popup-subs-are-nameless
Allow auto-generated node names in `PopupMenu::add_submenu_item`
2023-11-09 18:10:35 +01:00
Rémi Verschelde
f7a701587e
Merge pull request #84662 from YuriSizov/gui-warn-about-autowrapping
Warn about autowrapped labels in containers
2023-11-09 18:09:25 +01:00
Rémi Verschelde
d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Yuri Sizov
edcad2ea88 Allow auto-generated node names in PopupMenu::add_submenu_item 2023-11-09 17:12:41 +01:00
Yuri Sizov
58a3cfa192 Warn about autowrapped labels in containers 2023-11-09 16:33:46 +01:00
kit
d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
Rémi Verschelde
cfcb0a1efc
Merge pull request #84605 from bruvzg/fix_list_al
[RTL] Fix list bullet alignment.
2023-11-08 19:10:47 +01:00
Rémi Verschelde
f0c52c0e35
Merge pull request #84576 from clayjohn/mesh-tangents-always
Create tangent array if mesh created without tangents
2023-11-08 19:09:36 +01:00
Rémi Verschelde
491160c33d
Merge pull request #83888 from KoBeWi/remove_all_properties_instead_of_adding_one
Fix TileMap layer reverts and defaults
2023-11-08 19:08:19 +01:00
bruvzg
e1c6dd522b
[RTL] Fix list bullet alignment. 2023-11-08 08:26:30 +02:00
clayjohn
031f221b9d Create tangent array if mesh created without tangents
This extends our previous change to ensure that compressed meshes have tangents

Now we ensure tangents are always used. This greatly simplifies our compression code at the cost of a small amount of bandwidth
2023-11-07 14:24:23 +01:00
Saracen
35c105e796 Fix generating terrain icon with certain image formats. 2023-11-06 22:19:54 +00:00
Roy Berube
a7b2e090ad Enable scrolling of output with UI scale changes 2023-11-06 12:17:49 -07:00
DinDotDout
15ec132ea2 Fix ColorPicker shape icon is invisible until shape is changed 2023-11-06 18:08:48 +01:00
Yuri Sizov
b7449a3d1a Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov
dfcbc1d758 Merge pull request #84405 from KoBeWi/no_escaping_the_RESET
Fix RESET not effective when saving inactive scene
2023-11-06 13:23:18 +01:00
Yuri Sizov
e5f1cbfe2a Merge pull request #84376 from YuriSizov/animation-unexpose-internal-property
Unexpose internal data property of `AnimationLibrary`
2023-11-06 13:23:15 +01:00
Yuri Sizov
623b905d2e Remove unused NOTIFICATION_NODE_RECACHE_REQUESTED notification 2023-11-06 12:16:32 +01:00
kobewi
8d71095622 Fix RESET not effective when saving inactive scene 2023-11-03 12:58:56 +01:00
Yuri Sizov
f1426a533d Merge pull request #84390 from TokageItLab/patch-packed-array-anim
Add `PackedArray` to the list of enforcing `Discrete` for `AnimationMixer`
2023-11-03 12:52:31 +01:00
Silc Lizard (Tokage) Renew
a33884943f Add PackedArray to the list of enforcing Discrete for AnimationMixer 2023-11-03 09:35:17 +09:00
Yuri Sizov
e4ea16e37f Merge pull request #84261 from KoBeWi/Schrödinger's_colliders
Fix rotated tile collision not working at runtime
2023-11-02 20:34:07 +01:00
Yuri Sizov
f2de1137d9 Unexpose internal data property of AnimationLibrary 2023-11-02 18:57:39 +01:00
Rémi Verschelde
c6c4728440
Merge pull request #84303 from bitsawer/fix_material_texture_updates
Fix several Material texture parameter updates
2023-11-01 22:33:23 +01:00
Rémi Verschelde
3d0041ff97
Merge pull request #84287 from bruvzg/rtl_img_resize_and_dropcap_flow
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-11-01 15:11:20 +01:00
Rémi Verschelde
cfbccdbf44
Merge pull request #84183 from jsjtxietian/fix-activate_item_by_event-crash
Fix `activate_item_by_event` infinite recursion crash
2023-11-01 15:10:08 +01:00
jsjtxietian
137b25cf53 Fix activate_item_by_event infinite recursion crash 2023-11-01 10:29:59 +08:00
bitsawer
1ec97a7b91 Fix several Material texture parameter updates 2023-11-01 03:10:46 +02:00
bruvzg
9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects. 2023-10-31 22:39:42 +02:00
kobewi
b63533bf3f Fix rotated tile collision not working at runtime 2023-10-31 18:22:26 +01:00
bruvzg
75d22aa816
[RTL] Fix underline/strikethrough line color changes. 2023-10-31 09:34:43 +02:00
Rémi Verschelde
17a575625e
Merge pull request #84159 from clayjohn/uv-compression
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde
bb997d787d
Merge pull request #84127 from quirkylemon/get-type-variations
Include empty type variations in `Theme::get_type_list`
2023-10-30 23:18:58 +01:00
clayjohn
3f5c16dd9e Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
QuirkyLemon
b3970336ce Added variations to get_type_list() 2023-10-30 10:27:38 -05:00
Rémi Verschelde
ceaa8333f3
Merge pull request #84028 from QbieShay/qbe/fix-damp-fric
Fix friction being in the correct if/else branch
2023-10-30 16:26:40 +01:00
QbieShay
8f2a2ece80 Fix friction being in the correct if/else branch
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-10-30 15:00:02 +01:00
Rémi Verschelde
2f1f1206a9
Merge pull request #84180 from bruvzg/text_mesh_offset
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:20:32 +01:00
Rémi Verschelde
5eb5a99379
Merge pull request #84165 from clayjohn/softbody-bug
Ensure SoftBody3D does not use compressed mesh format.
2023-10-30 10:19:43 +01:00
Rémi Verschelde
ad9297ee8c
Merge pull request #84097 from stoofin/plane-mesh-tangent
Fix PlaneMesh tangents for 'Face X' orientation
2023-10-30 10:18:57 +01:00
Rémi Verschelde
47101c0cb1
Merge pull request #84056 from QbieShay/qbe/fix-orbit-z
Fix wrong rotation matrix for orbit z velocity
2023-10-30 10:18:33 +01:00
Rémi Verschelde
e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
Reimport bone attachment fixes
2023-10-30 10:18:00 +01:00
bruvzg
2a06594ff2
[Text Mesh] Fix incorrectly cached glyph offsets. 2023-10-30 10:56:28 +02:00
clayjohn
1d9554103c Ensure SoftBody3D does not use compressed mesh format. 2023-10-29 22:45:47 +01:00
Rémi Verschelde
9144457484
Merge pull request #84103 from QbieShay/qbe/fix-turbulence
Fix turbulence post rework
2023-10-28 21:40:15 +02:00
Rémi Verschelde
214405350f
Merge pull request #84113 from BlueCube3310/texture2d-dropdown-fix
Change dropdown type filter from Texture to Texture2D in certain nodes
2023-10-28 18:36:32 +02:00
Rémi Verschelde
e2645d8a52
Merge pull request #84109 from clayjohn/disable-disable_2d
Revert "Add a Disable 2D property to Viewport"
2023-10-28 18:36:09 +02:00
Rémi Verschelde
191195a303
Merge pull request #84060 from AThousandShips/get_set_fix
Fix invalid return from some more `_get/_set`
2023-10-28 18:34:58 +02:00
Rémi Verschelde
a379beeaa8
Merge pull request #84029 from QbieShay/qbe/fix-last-flag
Fix damp as friction not updating shader code
2023-10-28 18:34:34 +02:00
QbieShay
3b9cd04e1f fixed turbulence post rework. 2023-10-28 18:31:01 +02:00
BlueCube3310
bd67e0a0bc Change dropdown type filter to Texture2D in certain nodes 2023-10-28 17:39:47 +02:00
QbieShay
a764e42860 fixed wrong rotation matrix for orbit z velocity 2023-10-28 15:03:36 +02:00
Rémi Verschelde
17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Rémi Verschelde
51875ac998
Merge pull request #83678 from qycyfjy/master
Fixing visual shader crash when arranging
2023-10-28 12:30:51 +02:00
stoofin
6099d9f3d1 Fixed PlaneMesh tangents for 'Face X' orientation 2023-10-27 21:43:54 -07:00
Saracen
4b671eec0e Reimport bone attachment fixes:
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +01:00
A Thousand Ships
3ef6314980 Fix invalid return from some more _get/_set
Invalidly returned `true` on the non-matched path
2023-10-27 21:26:13 +02:00
Rémi Verschelde
e65459294c
Merge pull request #84054 from AThousandShips/mesh_fix
Fix invalid return from some `_get/_set`
2023-10-27 17:45:48 +02:00
A Thousand Ships
b04cf8486d Fix invalid return from some _get/_set
Invalidly returned `true` on the non-matched path
2023-10-27 15:49:19 +02:00
clayjohn
f672198f5e Revert "Add a Disable 2D property to Viewport"
This reverts commit f6cc2603a1.
2023-10-27 14:45:59 +02:00
Rémi Verschelde
5664f09f78
Merge pull request #84047 from clayjohn/mesh-3x-upgrade-crash
Fix crash when upgrading meshes from 3.x format
2023-10-27 13:33:30 +02:00
clayjohn
1e3408c5b7 Fix crash when upgrading meshes from 3.x format 2023-10-27 12:21:00 +02:00
Rémi Verschelde
090f616998
Merge pull request #84006 from AThousandShips/particle_fix
[Particles] Fix invalid parameter ranges
2023-10-27 11:38:56 +02:00