Commit Graph

80742 Commits

Author SHA1 Message Date
Rémi Verschelde a06e9ebe91 Merge pull request #99439 from aXu-AP/polygon-editor-bottom-dock
Move UV editor to bottom dock, rename to Polygon editor
2025-01-06 22:47:04 +01:00
Rémi Verschelde 11f95e7feb Merge pull request #99350 from bruvzg/fs_mime
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde 990416e90b Merge pull request #99296 from elpozewaunig/web_splash_properties
Add web support for all missing splash screen properties
2025-01-06 22:46:55 +01:00
Rémi Verschelde 30b20bc251 Merge pull request #99121 from dalexeev/gds-deprecate-inst-to-dict
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions
2025-01-06 22:46:52 +01:00
Rémi Verschelde ae205b0fc6 Merge pull request #98926 from YeldhamDev/out_all_of_you
Add toggle to hide filtered out parents in the "SceneTree" dock
2025-01-06 22:46:48 +01:00
Rémi Verschelde ba8a155551 Merge pull request #98909 from demolke/master
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
Rémi Verschelde c78d9d2fe7 Merge pull request #98660 from Meorge/tween-subtween
Add `Tween.tween_subtween` method for nesting tweens within each other
2025-01-06 22:46:40 +01:00
Rémi Verschelde be4678b836 Merge pull request #95750 from mosquitochang/fix-input-event-get-index
Fix `InputMap::event_get_index` to handle unmatched events correctly
2025-01-06 22:46:37 +01:00
Rémi Verschelde 4319d380d1 Merge pull request #94507 from akien-mga/variantparser-improve-error-reporting
VariantParser: Ensure all parse errors have an explanation
2025-01-06 22:46:31 +01:00
Rémi Verschelde f99a465956 Merge pull request #81532 from wlsnmrk/button-focus-loss-event-fix
Fix `button_up` and `button_down` signals with focus changes or multiple inputs
2025-01-06 22:46:26 +01:00
MewPurPur 4cadfd3eb9 Don't create an UndoRedo action if Autoload order doesn't change after Drag & Drop 2025-01-06 22:21:45 +01:00
arkology db4ae2a91c Show "transparent background" texture only behind actual texture in TexturePreview class + add borders for readability 2025-01-07 00:10:21 +03:00
Julian 5727eda0e1 GLTFDocument test case 2025-01-06 15:53:33 -05:00
Mikael Hermansson 053d92401e Improve performance of changing compound shapes when using Jolt Physics 2025-01-06 21:43:49 +01:00
jss2a98aj e9c1c44be2 Fix OpenGL 3 fallback wording
It should not say "both" where there are three APIs listed.
2025-01-06 10:58:22 -05:00
Michael Alexsander 753900188a Make Inspector search inside sub-resources 2025-01-06 12:30:55 -03:00
Stuart Carnie 501fc1a6ff Editor: Fix crash when using --import --verbose due to use-after-free 2025-01-06 07:46:51 -07:00
Anish Mishra d7532f0d31 Android Editor: Fix themed icon 2025-01-06 19:14:00 +05:30
Hilderin 2f061df7b0 Fix embedding not working intermittently 2025-01-06 08:04:57 -05:00
Stuart Carnie 11dc4f2e5e Metal: Add MetalFX upscaling support
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-06 06:03:18 -07:00
Flyn San 6fca974f63 Deselect all when renaming a node or deleting a node/connection 2025-01-06 22:28:14 +10:00
BlueCube3310 84e6ac9ecd Web: Export ASTC/BPTC compressed textures 2025-01-06 12:31:22 +01:00
Rémi Verschelde 1aaf20b1f1 Merge pull request #98488 from RandomShaper/lockless_rid_fetch_pro
Fix `RID_Owner` synchronization
2025-01-06 08:38:14 +01:00
Timo Schwarzer 87767f7c34 Fix ParticleProcessMaterial not using same offsets for emission textures 2025-01-05 23:32:22 +01:00
havi05 ab5176dfa5 Tree - fix cusor selection in multi selection-mode 2025-01-05 22:23:51 +01:00
Rémi Verschelde da4f9339ea Merge pull request #101072 from hpvb/thread-id-optimization
Optimize `Thread::get_caller_id()`
2025-01-05 14:52:18 +01:00
Hilderin db0fab8f8c Fix embedded game focus border 2025-01-05 08:35:44 -05:00
Hendrik Brucker c0eae103e2 Don't toast shader code 2025-01-05 13:19:45 +01:00
Rémi Verschelde 02e4605d6c Merge pull request #92563 from rsubtil/feature-oopsie_woopsie
Implement a "Recovery Mode" for recovering crashing projects during initialization
2025-01-05 11:13:50 +01:00
Silc Lizard (Tokage) Renew f1f152ea5a Move enum BoneAxis to SkeletonModifier from LookAtModifier 2025-01-05 14:14:36 +09:00
HP van Braam 32ef7306f4 Handle changing ItemLists from signals
We make sure we don't touch the ItemList's items array after signals are
emitted as a signal handler might change the item list, causing the
index we had to be invalid.

This fixes #100663
2025-01-05 02:10:28 +01:00
HP van Braam 7ce9c339b3 Make sure marked nodes are reset on scene change
The performance improvement on the SceneTreeEditor caused the previous
state of the SceneTreeEditor::marked HashSet to matter, when it
previously was always just overwritten when markings changed. The old
code thus had no reason to ever clear the marking list.

We now make sure that whether the SceneTreeEditor is hidden or not that
when the edited scene changes we always reset the entire state of the
editor, including the marked HashSet.
2025-01-05 01:58:14 +01:00
Pāvels Nadtočajevs e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
Hugo Locurcio 54a4a874fa Fix warning in CollisionPolygon2D documentation description
This was a copy-paste error from the CollisionShape2D documentation.
2025-01-04 17:53:19 +01:00
Danil Alexeev 4cef91e0f5 Editor: Fix Ctrl+Click on enum values ​​does nothing 2025-01-04 17:28:53 +03:00
LuoZhihao 9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
clayjohn 96ce5c0001 Ensure Sky with custom fov has correction matrix applied to it in RD renderers 2025-01-03 17:11:02 -08:00
clayjohn 7e8facc526 Update Light2D rect_cache even when not using shadows.
This also cleans up how the rect_cache is updated to make the steps more clear
2025-01-03 16:17:58 -08:00
Malcolm Anderson be266138d7 Add tween_subtween method for nesting Tweens
No actual functionality yet

Actual subtween functionality implemented

Added documentation for Tween.tween_subtween and SubtweenTweener

Implemented some additional functions

`set_ease`, `set_trans`, and `set_delay`
Documentation only for `set_delay` so far, since I have tested it

Removed set_ease and set_trans

Upon further investigation, the way they are implemented for Tween doesn't appear to work here

Fixed indentation in documentation

Reset subtween when parent loops

Fix return type of `SubtweenTweener.set_delay`

Add notes to documentation

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply some suggested changes

- Remove excessive documentation
- Add Tween constructor that takes in SceneTree
- Make `SubtweenTweener::subtween` public so that `Tween` doesn't have to be a friend class

Remove unneeded friend class SceneTree

Remove superfluous documentation describing subtween behavior

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply suggestions from code review

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Early return from `tween_subtween` if the subtween is `null`
2025-01-03 14:28:48 -08:00
Hugo Locurcio 4e888f9987 Make the GridMap editor cursor translucent
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
Hugo Locurcio 19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
kobewi f8fd15690c Don't show "Drawing rect" when not actually drawing 2025-01-03 22:54:26 +01:00
Adam Scott a12c1d3ddb Stop AudioStreamPlayback only if it's not playing 2025-01-03 16:26:08 -05:00
kobewi 3366f08a2c Don't print error when updating terrains tree without layer 2025-01-03 22:23:52 +01:00
aXu-AP 8318eda899 Move Polygon2D editor to bottom panel
Move UV editor to bottom panel to allow realtime preview of results. Rename the editor to Polygon editor.

Refactor enums and rename polygon editor members.
Remove "uv" prefixes and clarify some names. Reorder/regroup some members in header file.
2025-01-03 22:22:55 +02:00
Lukas Tenbrink 0e72967244 Consolidate Variant int and float conversion functions to reduce duplicate logic. 2025-01-03 20:16:43 +01:00
kobewi 685ff5be8f Fix converting root Sprite2D 2025-01-03 20:05:27 +01:00
Danil Alexeev 07f8935c69 GDScript: Deprecate inst_to_dict() and dict_to_inst() functions 2025-01-03 21:17:06 +03:00
arkology 3fa775b844 Speed up Line2D._edit_get_rect() 2025-01-03 20:32:08 +03:00
Elias Pozewaunig 8de13860e8 Added web support for all missing splash screen properties
show_image, fullsize and use_filter are now supported too.

bg_color, image and minimum_display_time were already supported previously.
2025-01-03 17:56:05 +01:00