1
0
Fork 0
Commit Graph

16483 Commits

Author SHA1 Message Date
Rémi Verschelde 65b81646a4 Merge pull request #102688 from caleb98/master
Fix TileMapLayer bug where dirty cells could be marked twice
2025-02-11 10:54:39 +01:00
Rémi Verschelde 5460fe3994 Merge pull request #102653 from lawnjelly/fti_fix_client_ticking_4
Physics Interpolation - Fix client interpolation pump
2025-02-11 10:54:21 +01:00
Rémi Verschelde ea0226c65d Merge pull request #102652 from lawnjelly/fti_auto_reset_mode_change_4
Physics Interpolation - Auto-reset on `set_physics_interpolation_mode()`
2025-02-11 10:54:18 +01:00
Pāvels Nadtočajevs ecff011671 [FileDialog] Update filename/buttons state when first item is selected on folder/filter change. 2025-02-11 11:18:23 +02:00
Caleb Cassady 7404873b66 Fix TileMapLayer bug where dirty cells could be marked twice
When using runtime data in a TileMapLayer, calling notify_runtime_tile_update
can cause error messages to be printed to the console if the same cell has been
set or erased in the same frame. This could be partially worked around by using
call_deferred on notify_runtime_tile_update, but the problem could re-emerge if
those updates were being made in coroutines.

This commit addresses the issue by adding an additional check to the dirty cell
marking of the TileMapLayer when notify_runtime_tile_update is called. This
check ensures that the cell has not already been added to the dirty cell list,
preventing the condition that causes the error message.
2025-02-10 22:18:10 -05:00
Thaddeus Crews c89ded23a6
Merge pull request #102603 from havi05/itemlist-fix-textoverrun-fixed-icon
Itemlist: Fix `text_overrun` when using `fixed_icon_size`
2025-02-10 12:21:34 -06:00
A Thousand Ships 5dcab0e606
Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
lawnjelly 3286b7fb37 Physics Interpolation - fix client interpolation pump
Client interpolation pump is moved AFTER the physics tick, after physics objects have been moved.
This is necessary because the `current` transform is also updated during the pump.
2025-02-10 10:40:23 +00:00
havi05 e43756c559 Itemlist - fix `text_overrun` when using `fixed_icon_size` 2025-02-10 11:34:45 +01:00
lawnjelly e46993f0db Physics Interpolation - Auto-reset on `set_physics_interpolation_mode()`
Fixes historical bug where auto-reset wasn't working correctly.
Also fixes process modes on Cameras when mode is changed.
2025-02-10 10:19:54 +00:00
Rémi Verschelde c4e15e212d Merge pull request #102433 from akien-mga/unexpose-AnimationNodeStartState-EndState
Don't expose AnimationNodeStartState and AnimationNodeEndState as internal, this triggers a ClassDB bug
2025-02-10 10:49:14 +01:00
Pāvels Nadtočajevs 09822ea1a9 Forward color picker preview mouse button events to the window underneath. 2025-02-08 10:16:03 +02:00
Thaddeus Crews 568d6286e0
Merge pull request #102132 from Ivorforce/optimize-font-internal-cow
Optimize `Font` calculations by avoiding unnecessary copy-on-write.
2025-02-07 14:50:41 -06:00
Pāvels Nadtočajevs 7da0767f35 [TextEdit] Update syntax highlighting when IME composition string is updated. 2025-02-07 11:54:56 +02:00
Rémi Verschelde e87f4f67b0 Merge pull request #100913 from larspet/tooltip-hover-oob
Prevent tooltip from showing when hovering past the end of script line
2025-02-07 01:39:11 +01:00
Thaddeus Crews 0d14ae58b0
Merge pull request #101109 from clayjohn/multimesh-err-msg
Add explicit error messages to Multimesh functions
2025-02-05 18:22:21 -06:00
clayjohn e1af7b65b2 Add explicit error messages to Multimesh error functions to make errors easier to understand.
Previously the RenderingServer errors filtered up to end users, but they are unclear and not helpful
2025-02-05 23:48:01 +01:00
Pāvels Nadtočajevs b50d9742c2 Fix `is_valid_float`, `Variant` parser, `Expression` parser, script highlighter, and `TextServer` not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
Thaddeus Crews f899138337
Merge pull request #102400 from bruvzg/bin_hex_cap
Fix uppercase B and X parsing in the integer literals.
2025-02-05 10:27:32 -06:00
bruvzg 3be46a69c4 Fix uppercase B and X parsing in the integer literals. 2025-02-05 16:02:06 +02:00
James 80096e9e62 Fix a crash bug in LightmapGI::_assign_lightmaps triggered after reparenting
After reparenting the LightmapGI node, the following `node` would be
initialized to null:

Node *node = get_node(light_data->get_user_path(i));

Which would then crash when de-referenced further down. This fix detects
which the node has been reparented and clears its users.
2025-02-05 12:18:56 +01:00
Rémi Verschelde 84af48767e Merge pull request #102432 from akien-mga/revert-101548
Revert "Use `AHashMap` for `RBMap` nodes and `HashMap` `input_activity`"
2025-02-05 11:34:23 +01:00
Rémi Verschelde 954ce8643f Merge pull request #102405 from QbieShay/qbe/fix_rnd_git
Fix seed not randomizing for particles. Fix seed being stored when fixed seed is off
2025-02-05 11:34:12 +01:00
Rémi Verschelde 7f4097a83a Merge pull request #102116 from Giganzo/tree-get_item_rect
Fix `get_item_area_rect` when tree is scrolled
2025-02-05 11:33:58 +01:00
Rémi Verschelde ede3d21519 Don't expose AnimationNodeStartState and AnimationNodeEndState as internal, this triggers a ClassDB bug
Fixes #99534.
2025-02-04 22:19:56 +01:00
Rémi Verschelde 6d4c2d002d Revert "Use AHashMap for RBMap nodes and HashMap input_activity"
This reverts commit c91c604eaa.

This caused a critical regression:

- Fixes #102374.
2025-02-04 20:41:29 +01:00
Thaddeus Crews ea2770eb4f
Merge pull request #101947 from Rudolph-B/Issue-101750
Add Heightfield mask to GPUParticlesCollisionHeightField3D
2025-02-04 09:04:11 -06:00
Thaddeus Crews 07464479ff
Merge pull request #102296 from kitbdev/fix-te-remove-range-line-count
Fix TextEdit visible line count when setting text
2025-02-04 09:04:10 -06:00
Thaddeus Crews 92ebcd2343
Merge pull request #102079 from bruvzg/emb_nmenu
Fix native popup menus position in embedded windows.
2025-02-04 09:04:09 -06:00
Thaddeus Crews 4186f57fe8
Merge pull request #102344 from bruvzg/rtl_reg
[RTL] Fix updating region without updating texture.
2025-02-04 09:04:06 -06:00
Thaddeus Crews c9887d25e3
Merge pull request #102342 from bruvzg/no_font_set
Make `CharFXTransform.font` property read only, add some extra documentation notes.
2025-02-04 09:03:58 -06:00
Qbieshay 2f3f6f69d9 Fix seed not randomizing for particles. Fix seed being stored when fixed seed is off 2025-02-04 12:17:21 +01:00
Rudolph Bester b162c59097 Fix GPUParticlesCollisionHeightField3D adding collisions excluded by its layer_mask
Co-authored-by: Yahia Zakaria <yahiazakaria13@gmail.com>
2025-02-04 08:02:44 +02:00
Thaddeus Crews 654b5993e2
Merge pull request #99890 from Sauermann/fix-vp-mouse-notifications
Introduce `Viewport` functions for keeping the mouse over state consistent
2025-02-03 11:14:42 -06:00
Thaddeus Crews 61808e9c98
Merge pull request #91778 from kitbdev/selection-cancel
Fix TextEdit mouse selection and scroll cancel
2025-02-03 11:14:39 -06:00
Thaddeus Crews 0f40078a8b
Merge pull request #102349 from Giganzo/color-picker-raw-a-slider
Fix ColorPicker RAW alpha slider theme
2025-02-03 11:14:38 -06:00
Thaddeus Crews 3e34c4be96
Merge pull request #102262 from KoBeWi/outer_tree_is_void
Don't return Tree items outside visible rect
2025-02-03 08:15:59 -06:00
Giganzo e50f509b3d Fix ColorPicker RAW alpha slider theme 2025-02-03 01:48:29 +01:00
Pāvels Nadtočajevs 5b57904bef [RTL] Fix updating region without updating texture. 2025-02-03 00:06:55 +02:00
Pāvels Nadtočajevs 50740c4e91 Make `CharFXTransform.font` property read only, add some extra documentation notes. 2025-02-02 23:08:35 +02:00
Michael Alexsander 4c32d27e8e
Fix runtime crash with 3D selection with no camera 2025-02-02 13:58:38 -03:00
kobewi 886e5d8084 Don't return Tree items outside visible rect 2025-02-02 00:17:41 +01:00
Pāvels Nadtočajevs 4b8cfc3040 Fix native popup menus position in embedded windows. 2025-02-01 21:31:03 +02:00
kit 0a19f89ee9 Fix TextEdit visible line count when setting text 2025-02-01 13:04:37 -05:00
Thaddeus Crews 96a6dc289f
Merge pull request #101548 from Nazarwadim/change_RBMap_and_input_activity_to_AHashMap
Use `AHashMap` for `RBMap nodes` and `HashMap input_activity`
2025-01-31 09:15:53 -06:00
Thaddeus Crews 3d6821b724
Merge pull request #101808 from markdibarry/parallax-remove-editor-offset-guard
Fix editor `Parallax2D` grid snap movement
2025-01-31 09:15:47 -06:00
Thaddeus Crews b1adcba5d9
Merge pull request #102208 from clayjohn/msdf-3d
Ensure albedo texture size is available for Label3D and Sprite3D
2025-01-31 09:15:44 -06:00
Thaddeus Crews 00564920d8
Merge pull request #101960 from Giganzo/colorpicker-swatches-menubutton
Fix ColorPicker load/save swatches button interactions
2025-01-31 09:15:37 -06:00
clayjohn caf235718e Ensure albedo texture size is available for Label3D and Sprite3D 2025-01-30 12:36:58 -08:00
Thaddeus Crews 97c472e43f
Merge pull request #102026 from TokageItLab/fix-save-reset
Add saving flag hack to Skeleton and revert reset timing of animation
2025-01-30 11:39:03 -06:00