Commit graph

13727 commits

Author SHA1 Message Date
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
Rémi Verschelde
924d861f6c
Merge pull request #84001 from chybby/83801-truncate-custom-icons
Fix TreeItem truncating node names too much when using a custom icon
2023-10-27 11:38:32 +02:00
Rémi Verschelde
ad5ebd7503
Merge pull request #83893 from kitbdev/save-current-tab
Save current tab in `TabBar` and `TabContainer`
2023-10-27 11:37:21 +02:00
Rémi Verschelde
d3fb6c17b6
Merge pull request #83560 from groud/allow_physics_for_hidden_tilemap
Allow TileMap physics/navigation to still work when hidden
2023-10-27 11:36:57 +02:00
QbieShay
aad644514f Fixed damp as friction not updating shader code 2023-10-27 01:02:23 +02:00
kit
8985a46bdd TabBar save current tab 2023-10-26 18:32:22 -04:00
Gilles Roudière
9d90f1774c Allow TileMap physics/navigation to still work when hidden 2023-10-26 16:54:35 +02:00
A Thousand Ships
5688bb1888 [Particles] Fix invalid parameter ranges 2023-10-26 16:14:58 +02:00
Rémi Verschelde
09946f79bd
Merge pull request #84004 from groud/support_y_sort_with_runtime_data
Fix Y-sort origin not working when set in TileMap runtime updates
2023-10-26 16:02:32 +02:00
Rémi Verschelde
23b1f213a8
Merge pull request #81616 from bitsawer/fix_multimesh_voxelgi_bake
Fix VoxelGI MultiMesh and CSG mesh baking
2023-10-26 15:58:29 +02:00
Rémi Verschelde
bf46ee144d
Merge pull request #77788 from gongpha/stop-posting-about-(re)importing-assets-whatever-dot-exr
Avoid reimporting lightmap textures every getter call
2023-10-26 15:57:46 +02:00
Gilles Roudière
3b5a288bc8 Fix Y-sort origin not working when set in TileMap runtime updates 2023-10-26 15:45:30 +02:00
Adam Chyb
1785978872 Fix TreeItem truncating node names too much when using a custom icon
Fixes #83801.
2023-10-27 00:30:48 +11:00
Rémi Verschelde
346459e9fb
Merge pull request #83986 from SaracenOne/skeleton_bones_renamed_check
Add method check for `_notify_skeleton_bones_renamed`.
2023-10-26 12:10:32 +02:00
Saracen
d0e5bff542 Add method check for _notify_skeleton_bones_renamed. 2023-10-26 10:22:59 +01:00
Rémi Verschelde
71bef69318
Merge pull request #83966 from kitbdev/fix-tabcontainer-drag
Fix `TabContainer` drag to rearrange issue
2023-10-26 09:01:09 +02:00
Rémi Verschelde
d2982000a4
Merge pull request #83961 from bruvzg/menu_bar_update_size
[Menu Bar] Update min. size when items are added/removed/changed.
2023-10-26 09:00:20 +02:00
Rémi Verschelde
cb167fd84c
Merge pull request #83952 from AThousandShips/popup_crash
Ensure input event is valid in `PopupMenu::activate_item_by_event`
2023-10-26 08:59:57 +02:00
Rémi Verschelde
70f50c9751
Merge pull request #83946 from timothyqiu/text-edit-placeholder
Translate TextEdit placeholder
2023-10-26 08:59:33 +02:00
Rémi Verschelde
e566167b48
Merge pull request #83925 from jsjtxietian/fix-timer-error-when-base-button-leave-tree-and-feedback
Fix BaseButton `shortcut_feedback`'s timer will raise error when the button is removed from the scene tree
2023-10-26 08:58:22 +02:00
Rémi Verschelde
8835db5f37
Merge pull request #83881 from jsjtxietian/fix-generated-particle-shader-use-noise-direction-before-define
Fix `noise_direction` variable used before initialized in particle shader when using turbulence with collisions
2023-10-26 08:57:59 +02:00
Rémi Verschelde
79e9e201e8
Merge pull request #82415 from Calinou/reflectionprobe-fix-high-max-distance-rendering-2
Clamp ReflectionProbe Max Distance to 262,144 to fix rendering issues
2023-10-26 08:57:35 +02:00
kit
b7884878fb Fix TabContainer drag to rearrange 2023-10-25 16:22:32 -04:00
Michael Alexsander
c3fc87964f
Fix disabled tabs being selected when removing the current one 2023-10-25 16:46:54 -03:00
bruvzg
961e8af8bb
[Menu Bar] Update min. size when items are added/removed/changed. 2023-10-25 22:27:44 +03:00
A Thousand Ships
f721b34b4e Ensure input event is valid in PopupMenu::activate_item_by_event 2023-10-25 17:45:01 +02:00
Haoyu Qiu
d53529f488 Translate TextEdit placeholder 2023-10-25 22:51:17 +08:00
bitsawer
cbb39f4b6e Fix VoxelGI MultiMesh and CSG mesh baking 2023-10-25 16:37:47 +03:00
jsjtxietian
cc14e0092a Fix noise_direction variable used before initialized in particle shader
when using turbulence with collisions, delete unused code
2023-10-25 19:35:16 +08:00
Rémi Verschelde
3f9af43e73
Merge pull request #83892 from Geometror/fix-gn-slot-index
Fix GraphNode slot index inconsistency.
2023-10-25 10:31:57 +02:00
Rémi Verschelde
8f1c350bb3
Merge pull request #83890 from groud/fix_get_used_cells
Fix `get_used_rect`, `get_used_cells` and `get_used_cells_by_id` in TileMap after a call to `clear()`
2023-10-25 10:31:10 +02:00
Rémi Verschelde
1a3db248d5
Merge pull request #83887 from groud/fix_tile_set_canvas_texture_issue
Fix normals in TileSet when using CanvasTextures
2023-10-25 10:30:46 +02:00
jsjtxietian
47d601b316 Fix BaseButton.shortcut_feedback's timer raises errors
when a button is removed from the scene tree
2023-10-25 14:47:25 +08:00
Hendrik Brucker
9391046c32 Fix GraphNode slot index inconsistency. 2023-10-24 16:19:33 +02:00
Gilles Roudière
a2bc599450 Fixes get_used_rect, get_used_cells and get_used_cells_by_id in TileMap after a call to clear() 2023-10-24 14:43:43 +02:00
kobewi
99262705a8 Fix TileMap layer reverts and defaults 2023-10-24 13:44:07 +02:00
Gilles Roudière
162286cff4 Fix normals in TileSet when using CanvasTextures 2023-10-24 13:10:06 +02:00
Rémi Verschelde
e8d57afaec
Merge pull request #83831 from QbieShay/qbe/fix-normal-point
Particles: Fix directed points not working, and fix friction formula
2023-10-24 11:39:17 +02:00
Rémi Verschelde
ea0ab441c8
Merge pull request #83861 from Calinou/lightmapgi-fix-editor-only-sky-only
Fix LightmapGI taking editor-only and sky-only lights into account
2023-10-24 10:54:56 +02:00
Rémi Verschelde
2dc932e62d
Merge pull request #83851 from Calinou/colorpicker-raw-mode-increase-precision
Increase precision of RAW mode in ColorPicker
2023-10-24 10:54:52 +02:00
Rémi Verschelde
bbade19822
Merge pull request #83749 from k0T0z/fix-enabling-particle-turbulence
Fix massive performance hit due to enabling collision
2023-10-24 10:54:27 +02:00
Rémi Verschelde
261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde
b629049b54
Merge pull request #83658 from RPicster/triplanar-world-normal-maps
Fixing incorrect normal map when using triplanar world mapping and mesh rotation
2023-10-24 10:54:15 +02:00
Rémi Verschelde
e02e38d2d5
Merge pull request #82055 from jsjtxietian/add-support-for-texture3d-serilization
Add support for ImageTexture3D serialization
2023-10-24 10:53:46 +02:00
Rémi Verschelde
f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn
8f9cd4e1e3 Some more fixes for compressed meshes
This cleans up a few more cases of uint32_t->uint64_t

Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
Rémi Verschelde
50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
Hugo Locurcio
e4d846378b
Fix LightmapGI taking editor-only and sky-only lights into account
These lights are not visible when running the project (or at all),
so they shouldn't affect the lightmap baking process.
2023-10-23 22:56:17 +02:00
clayjohn
318ef8461f Implementation of tool to automatically upgrade and re-save meshes 2023-10-23 22:39:48 +02:00
Hugo Locurcio
d335155b46
Increase precision of RAW mode in ColorPicker
This sets the slider step to `0.001` but keeps SpinBox arrow increments
at `0.01`.
2023-10-23 18:33:56 +02:00
Raffaele Picca
73918b0c70 Fixing incorrect normal map when using triplanar world mapping and mesh rotation 2023-10-23 14:53:59 +02:00
QbieShay
49fee5bc28 Fixed directed points not working, and fixig friction formula
Co-authored-by: RPicster <picster@pixelgod.net>
2023-10-23 14:06:23 +02:00
Rémi Verschelde
8f16d5f504
Merge pull request #83779 from AThousandShips/audio_pause
[Audio] Fix pausing stream on entering tree
2023-10-23 12:41:41 +02:00
Rémi Verschelde
e2dc96b66b
Merge pull request #83637 from kitbdev/tab-drag-fix
Fix `TabBar` and `TabContainer` dragging issues
2023-10-23 12:40:54 +02:00
Rémi Verschelde
8d7f3d6bc9
Merge pull request #83437 from SaracenOne/multiplayer_authority_debug
Display multiplayer authority ID in remote debugger
2023-10-23 12:39:43 +02:00
A Thousand Ships
72fccd82c5 [Audio] Fix pausing stream on entering tree
The paused notifications are only sent when pause status is changed,
this ensures that streams that are non-processing do not play when added
to the tree. Also ensures that the `process_mode` property applies
generally.
2023-10-22 22:35:32 +02:00
kit
701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
Saif Kandil
98db2b42f7 fix performance hit due to enabling collision
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-22 17:54:27 +03:00
Saracen
66ca317e2c Display multiplayer authority ID in remote debugger 2023-10-22 14:23:15 +01:00
Kongfa Waroros
c165f0cf2e Avoid reimporting lightmap textures every getter call 2023-10-22 16:32:08 +07:00
smix8
b7be45279d Solve race condition between AThousandShips and Akien
Solves race condition between AThousandShips and Akien.
2023-10-21 19:04:41 +02:00
Rémi Verschelde
d2cd907e28
Merge pull request #83705 from smix8/agent_y_velocity_.4x
Fix NavigationAgent3D stored y-axis velocity and make it optional
2023-10-21 15:51:53 +02:00
Rémi Verschelde
0dc915b480
Merge pull request #83701 from smix8/obstacle_height_4.x
Fix NavigationObstacle3D height
2023-10-21 15:51:30 +02:00
Rémi Verschelde
918da63797
Merge pull request #82593 from smix8/navobstacle_debug_transform_4.x
Fix NavigationObstacle3D debug being affected by rotation and scale
2023-10-21 15:51:02 +02:00
smix8
4771431b28 Fix NavigationAgent3D stored y-axis velocity and make it optional
Fixes NavigationAgent3D stored y-axis velocity and makes it optional.
2023-10-21 01:11:26 +02:00
smix8
b30b672649 Fix NavigationObstacle3D height
Fixes NavigationObstacle3D height.
2023-10-21 00:08:50 +02:00
Yuri Sizov
cd31407cb3 Clean up some Editor, OpenXR, VideoStream code
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
qycyfjy
91894a2a5d Fixing iterator invalidation 2023-10-20 22:13:46 +08:00
Rémi Verschelde
f333e4acf5
Merge pull request #83672 from mihe/6dof-suffixes
Fix unit suffixes for `Generic6DOFJoint`
2023-10-20 15:14:13 +02:00
Rémi Verschelde
68a183a2d9
Merge pull request #83626 from YuriSizov/control-less-is-more-as-in-less-excessive-notifications-is-more-performance
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-20 15:12:11 +02:00
Rémi Verschelde
55fc347efd
Merge pull request #83620 from clayjohn/particles-material-emission
Fix typo in particles process material when using emission color texture
2023-10-20 15:11:48 +02:00
Rémi Verschelde
37d3cb1b04
Merge pull request #83604 from SaracenOne/orphaned_node_crashfix
Fix crash on recovered orphaned nodes.
2023-10-20 15:10:14 +02:00
Rémi Verschelde
a434062e2c
Merge pull request #81724 from jsjtxietian/fix-line-edit-secret-char-hard-to-change
Make LineEdit secret character easier to change and enter
2023-10-20 15:07:29 +02:00
Mikael Hermansson
a977199a3c Fix unit suffixes for Generic6DOFJoint 2023-10-20 13:33:34 +02:00
Yuri Sizov
215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
clayjohn
1b80f21abf Fix typo in particles process material when using emission color texture 2023-10-19 17:29:46 +02:00
jsjtxietian
6950aab078 Make LineEdit secret character easier to change and enter
1. Allow values longer than 1 character in the property,
    but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
    so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
Saracen
a16cbf6869 Fix crash on recovered orphaned nodes. 2023-10-19 11:15:57 +01:00
Rémi Verschelde
f8818f85e6
Merge pull request #83568 from mrTag/navigationregion2d_fix
Fixing "Navigation map synchronization error" when using NavigationRegion2D
2023-10-19 00:27:25 +02:00
Rémi Verschelde
c781694a82
Merge pull request #83488 from QbieShay/qbe/fix-particle-pause
Fixed multiple particle issues: division by zero, color ramp override, scale dependent on amount ratio
2023-10-18 21:32:50 +02:00
Dominik
b915e788a4 Removed navigation_mesh instantiation from constructor of NavigationPolygon 2023-10-18 19:04:08 +02:00
Rémi Verschelde
0f710e688c
Merge pull request #83517 from YuriSizov/for-NON-separator-items-add-some-padding-for-the-content
Fix incorrect offset of `PopupMenu` separator icons
2023-10-18 16:54:52 +02:00
Rémi Verschelde
65e7ddadd7
Merge pull request #83489 from groud/implement_tile_map_normals
Allow normal maps on TileMaps that use texture padding
2023-10-18 16:54:44 +02:00
Rémi Verschelde
680b59954b
Merge pull request #81638 from jsjtxietian/fix-spinBox-reset-text-when-redraw
Fix SpinBox will reset unsubmited text when redrawing
2023-10-18 16:54:32 +02:00
Gilles Roudière
73f72409f5 Allow normal maps on TileMaps that use texture padding 2023-10-18 14:55:44 +02:00
Rémi Verschelde
024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Yuri Sizov
ccb989569d Fix incorrect offset of PopupMenu separator icons 2023-10-17 20:38:35 +02:00
Mathias
d4ced2506d Fix unit suffix for HingeJoint3D's target velocity 2023-10-17 18:53:55 +02:00
Rémi Verschelde
ab8fad1b24
Merge pull request #83475 from Eoin-ONeill-Yokai/bug/tilemap-materials
Fix bug where TileMap wouldn't update material correctly on assignment
2023-10-17 16:13:12 +02:00
Rémi Verschelde
3e8dc9df0a
Merge pull request #83286 from bronsonholden/fix-text-edit-hscroll-jitter
Remove vertical scrollbar padding from line width calc
2023-10-17 16:12:58 +02:00
QbieShay
cbf75f9076 Fixed division by zero in particle process, initial ramp, and amount ratio+scale 2023-10-17 15:41:47 +02:00
Eoin O'Neill
f17a569ccf Fix bug where TileMap will not update material correct on assignment
This seemed to be a simple case of a missing condition in an if
statement with a few different flags. I'm not super familiar with the
tilemap code but hopefully this is the correct place to add this check.

Fixes #83474
2023-10-16 21:02:46 -07:00
Raul Santos
ae9ac5c76e
Remove AnimationMixer bindings only bound in the editor 2023-10-16 17:56:14 +02:00
Rémi Verschelde
2ba83f2578
Merge pull request #83427 from kleonc/camera2d-screen-center-position-when-rotated
Fix screen center position returned for rotated Camera2D
2023-10-16 13:01:23 +02:00
Rémi Verschelde
cbfa941061
Merge pull request #83365 from Malcolmnixon/fix-disabled-nav-region
Fix enabling NavigationRegion3D saved disabled
2023-10-16 13:00:35 +02:00
Rémi Verschelde
75b4fd84e3
Merge pull request #83323 from Rindbee/fix-not-update-remote-local-transform-in-2d
Fix cannot update remote after disabling `use_global_coordinates` in `RemoteTransform2D`
2023-10-16 13:00:12 +02:00