Commit graph

13982 commits

Author SHA1 Message Date
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
Rarysson Guilherme
beeca2ae82 Make ProgressBar show the real percent when allow greater/lesser is checked 2023-11-11 11:18:41 -03:00
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
rsburke
76377230ac Fixed CPUParticle tangential force to match GPUParticle implimentation 2023-11-07 08:02:43 -05:00
Hugo Locurcio
079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +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
jsjtxietian
d920bdeda5 Fix visual shader's screen_uv input preview uses position of node
rather than a sample area like uv
2023-11-06 11:20:42 +08:00
warriormaster12
de1dc6c8d4 Fix node property duplication 2023-11-04 10:45:38 +02: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
Arseny Kapoulkine
2b8215a196 Fix dramatically overallocated normal weights
The weight is per-attribute scalar (X, Y, Z), not per-vertex; this was
the case even before the library update so this appears to be an
oversight.
2023-11-02 14:17:41 -07:00
Arseny Kapoulkine
c5f73a1783 Update thirdparty/meshoptimizer to v0.20
Note: this change completely overwrites the meshoptimizer library source
(from git SHA c21d3be6ddf627f8ca852ba4b6db9903b0557858)
without including any patches; a distance error metric patch is still
needed and will be reapplied in the next commit.

The changes elsewhere are due to a signature change for
meshopt_simplifyWithAttributes.
2023-11-02 14:10:39 -07: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
Aitor Guevara
6b45694836 Trigger zoom from pan gestures when pressing ctrl
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.
2023-11-01 17:49:04 +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
Michael Alexsander
62ab9bf1c4
Fix NOTIFICATION_WM_SIZE_CHANGED firing if the size hasn't changed 2023-10-31 22:58:12 -03: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
kit
a2674463fa fix dock visibility issues 2023-10-30 10:52:07 -04: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
aXu-AP
16e0fcd04a Show selected end of line in TextEdit
Continues selection box at the end of line if eol/carriage return is selected.
2023-10-30 12:49:30 +02: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
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
clayjohn
9251821c97 Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial
These are needed to tweak sky exposure separately from background
2023-10-25 14:12:22 +02: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
smix8
618d9492d9 Fix missing NavigationObstacle property updates in constructor
Fixes missing NavigationObstacle property updates in constructor.
2023-10-23 05:10:58 +02:00
smix8
9640179f93 Fix missing NavigationAgent property updates in constructor
Fixes missing NavigationAgent property updates in constructor.
2023-10-23 04:27:49 +02:00
smix8
2f1668804c Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.
2023-10-23 01:43:55 +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
BlueCube3310
982ce34a58 Improve Curve3D Debug Drawing 2023-10-21 11:56:05 +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
Rémi Verschelde
72b14b54a1
Merge pull request #73502 from Kurble/text-edit-scrolling-precision
Fix code editor scrolling experience on track pads
2023-10-16 12:58:57 +02:00
Rémi Verschelde
aa0be93a89
Merge pull request #83417 from Rubonnek/show-animation-mixer-warning-when-relevant
Show AnimationMixer warning for non-numeric types only when relevant
2023-10-16 10:43:26 +02:00
Rémi Verschelde
e551d5f523
Merge pull request #83327 from AThousandShips/doc_suggestion
Make error suggestion less ambiguous
2023-10-16 10:41:46 +02:00
Rémi Verschelde
c106ff8b35
Merge pull request #83296 from Wierdox/fix_phantom_tab_right_button
Fix phantom tab right button
2023-10-16 10:40:59 +02:00
Rémi Verschelde
7c088f246e
Merge pull request #82846 from SaracenOne/network_authority_instance_placeholders
Copy network authority when instancing placeholders
2023-10-16 10:38:34 +02:00
kleonc
836d80b306 Fix screen center position returned for rotated Camera2D 2023-10-16 09:02:49 +02:00
Wilson E. Alvarez
4c8497092a
Show AnimationMixer warning for non-numeric types only when relevant 2023-10-15 20:53:33 -04:00
Malcolm Nixon
0646b230e4 Fix enabling NavigationRegion3D saved disabled
This PR fixes issue #83364 by always registering the region when it enters the tree, and instead using region_set_enabled to control whether its enabled. The same logical changes have been applied to NavigationRegion2D.
2023-10-14 23:17:57 -04:00
风青山
30904ed3bc Fix cannot update remote after disabling use_global_coordinates in RemoteTransform2D
Due to the optimization in `CanvasItem`, `global_transform` is only
updated when `get_global_transform()` is called, and then notify
`NOTIFICATION_TRANSFORM_CHANGED`. That is, in the case where
`global_transform` is not obtained, the notification will not be sent.

So we use `NOTIFICATION_LOCAL_TRANSFORM_CHANGED` in this case. Use in
combination to prevent certain optimizations.

Same change for `RemoteTransform3D`, to prevent the same optimization
from being used in `Node3D` in the future.
2023-10-15 00:16:52 +08:00
A Thousand Ships
bea7cc784d Make error suggestion less ambiguous 2023-10-14 14:56:05 +02:00
Wierdox
7b33ad354a Fix phantom tab right button. 2023-10-13 16:34:05 -07:00
Rémi Verschelde
1d3854665f
Merge pull request #83273 from groud/disable_tilemap_navigation
Allow disabling the built-in tilemap navigation
2023-10-13 22:19:48 +02:00
Rémi Verschelde
135fa1ef5d
Merge pull request #83179 from clayjohn/tangents-sanitize
Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader
2023-10-13 22:17:02 +02:00
Rémi Verschelde
afa262ae6b
Merge pull request #82068 from DarioSamo/lightmapper-indirect-bounces
Rewrite the GPU Lightmapper's indirect logic to match Godot 3.5's CPU Lightmapper.
2023-10-13 22:16:13 +02:00
Rémi Verschelde
74d7796dbd
Merge pull request #80916 from ajreckof/fix-deferred-mode-not-working-for-color-picker-sliders
Fix ColorPicker deferred mode not working for sliders.
2023-10-13 22:15:45 +02:00
Bronson Holden
ed16df1807 Remove vertical scrollbar padding from line width calc
Visibility of the vertical scrollbar is already accounted for in
`_update_wrap_at_column` which in turn affects max line width of
the text area.
2023-10-13 10:50:01 -07:00
Dario
a9a197d2dc Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Gilles Roudière
c820c8d1e6 Allow disabling the built-in tilemap navigation 2023-10-13 17:42:28 +02:00
clayjohn
e3d31837eb Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader 2023-10-13 08:54:49 -06:00
ajreckof
3160add2b0 Fix ColorPicker deferred mode not working for sliders. 2023-10-13 14:35:47 +02:00
bruvzg
9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde
cd9fd6ddfd
Merge pull request #83216 from dalexeev/code-editor-fix-region-doc-comment
Code Editor: Fix regression with using doc comments for code regions
2023-10-13 11:46:44 +02:00
Rémi Verschelde
cbb95bc8ab
Merge pull request #83211 from clayjohn/cleanup-mesh-stuff
Cleanup instances of using uint32_t for mesh formats
2023-10-13 11:46:20 +02:00
Rémi Verschelde
111a91a09f
Merge pull request #83194 from jsjtxietian/fix-bool-varying-code-gen
Fix bool varying's generated code will be modified with flat
2023-10-13 11:45:09 +02:00
Danil Alexeev
881fe67d94
Code Editor: Fix regression with using doc comments for code regions 2023-10-13 09:38:03 +03:00
Clay
acb65377cd Cleanup instances of using uint32_t for mesh formats
And tidy up some leftovers from the attribute compression PR
2023-10-12 22:01:41 +02:00
jsjtxietian
0f7a97eba0 Fix bool varying's generated code will be modified with flat 2023-10-12 19:42:18 +08:00
Bram Buurlage
1cf6b2cc2e
Put cheaper condition first
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-12 12:27:35 +02:00
jsjtxietian
0ecef0e236 Fix parameter shader node not declared when only connected to a VaryingSetter 2023-10-12 17:53:26 +08:00
Rémi Verschelde
f2f6f99241
Merge pull request #83169 from clayjohn/Mesh-format
Fix a few cases where surface format is still 32 bits
2023-10-11 23:54:40 +02:00
clayjohn
1df50c78df Fix a few cases where surface format is still 32 bits 2023-10-11 14:56:19 -06:00
Rémi Verschelde
9e02dcd44c
Merge pull request #82100 from bitsawer/fix_shader_globals_override
Fix ShaderGlobalsOverride property handling
2023-10-11 22:50:08 +02:00
Rémi Verschelde
9957f1ad4e
Merge pull request #83151 from kleonc/tile-map-layer-draw-index-update
Update `TileMap` layer draw index when it's dirty
2023-10-11 18:31:12 +02:00
Rémi Verschelde
05d6183dee
Merge pull request #83145 from bitsawer/fix_basematerial3d_update
Fix BaseMaterial3D update with certain material settings
2023-10-11 18:31:06 +02:00
kleonc
a529bf81b8 Update TileMap layer draw index when it's dirty 2023-10-11 16:55:19 +02:00
Gilles Roudière
a3bfd9b797 Warn users when TileMap is set as Y-sorted but no layer is 2023-10-11 13:44:28 +02:00
bitsawer
45f2ef4c0f Fix BaseMaterial3D update with certain material settings 2023-10-11 13:51:52 +03:00
Rémi Verschelde
d0301fcadd
Merge pull request #83100 from kleonc/immediate-mesh-vertex-buffer-size-fiz
Fix incorrect vertex data size calculation in `ImmediateMesh`
2023-10-10 22:50:53 +02:00
Rémi Verschelde
49cdd330be
Merge pull request #81034 from garychia/open_folder
FileDialog: Avoid selecting the first item automatically in Open Folder Mode
2023-10-10 22:49:16 +02:00
Rémi Verschelde
55282ddc10
Merge pull request #79527 from QbieShay/qbe/particles-rework
Particle internal refactor and additions for more artistic control
2023-10-10 22:48:50 +02:00
QbieShay
c228fe1a0d Particle internal refactor and additions for more artistic control
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: Mew Pur Pur <85438892+MewPurPur@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-10-10 20:03:35 +02:00
kleonc
b588d1ab8d Fix incorrect vertex data size calculation in ImmediateMesh 2023-10-10 13:23:53 +02:00
Rémi Verschelde
6f8b7e9895
Merge pull request #83065 from KoBeWi/tree_works_in_mysterious_ways
Allow clicking buttons of non-selectable TreeItems
2023-10-10 12:34:22 +02:00
Rémi Verschelde
added7d154
Merge pull request #83062 from bruvzg/no_dup_es
Do not apply extra spacing twice.
2023-10-10 09:12:17 +02:00
kobewi
7fb0cf2bd9 Allow clicking buttons of non-selectable TreeItems 2023-10-09 22:41:36 +02:00
bruvzg
100565a0c9
Do not apply extra spacing twice. 2023-10-09 21:38:23 +03:00
Rémi Verschelde
42425baa59
Merge pull request #83035 from bitsawer/fix_voxelgi_bake_memory_leak
Fix VoxelGI bake memory leak
2023-10-09 15:40:38 +02:00
Rémi Verschelde
1e55eeb91d
Merge pull request #83030 from TokageItLab/patch-misc-blending
AnimationMixer: Fix non-numeric misc type (`Resource`, `Dictionary` & etc.) values cannot be blended with `UpdateMode.UPDATE_CONTINUOUS`
2023-10-09 15:40:14 +02:00
Rémi Verschelde
a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde
336260b7b3
Merge pull request #83002 from AThousandShips/safety_check
Replace `sanity` with `safety` for checks
2023-10-09 15:36:49 +02:00