Commit Graph

80742 Commits

Author SHA1 Message Date
lawnjelly c7764ef26b FTI - Optimize SceneTree traversal 2025-05-24 17:38:33 +01:00
Jorge Korgut Junior f165ee211b Fix Ignore External Changes Bug
Fix Issue #106410 : Add a new list `disk_changed_scenes()` and a boolean `disk_changed_project` to keep track of modfied scenes and the project. Save them only if they are in the list or the boolean value is true, when ignoring external changes.
2025-05-24 14:44:53 +02:00
nobbele acc8fbee34 project_manager: Display last edited time using local timezone instead of UTC 2025-05-24 13:51:30 +02:00
Lazy-Rabbit-2001 3a7e45c0e7 Reintroduce the dragging method of Sprite2D's region_rect 2025-05-24 19:41:05 +08:00
Ryan e3db0d62a8 Allow running EditorScripts from the FileSystemDock
Apply suggestions from code review

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-24 00:04:07 -04:00
David Nikdel 33c83a3257 Fix for directory duplication
This change makes it so if you duplicate a folder, the asset references between resources in that folder will point to the new duplicated files.

For instance, if you had dir-a/foo.tscn and dir-a/foo.png where your scene references the png. Previously duplicate would copy both of them to dir-b but dir-b/foo.tscn would still be referencing dir-a/foo.png!
2025-05-23 21:18:30 -05:00
Joel Kuntz 2cf64cc971 Make FindInFiles globally accessible
- Make ScriptEditor expose open_find_in_files_dialog to allow opening from anywhere
- Add FindInFiles to EditorNode as a keyboard shortcut, command, and menu option
- Change all find_in_files commands to be editor/find_in_files
2025-05-23 19:19:16 -03:00
Stuart Carnie fbe560a97c Metal: Disable MetalFX Temporal for mobile rendering method
It isn't supported, as `mobile` can't provide motion vectors. We can
revisit once it is supported via #100283.
2025-05-24 06:48:05 +10:00
uno1982 d79258c2e7 Fix: Windows OS.get_unique_id() null termination issue
use ascii for encoding-neutral
check buffer size as well
2025-05-23 15:05:41 -05:00
Pāvels Nadtočajevs d609cf62a0 Implement get_filesystem_type on macOS and Linux. 2025-05-23 23:05:06 +03:00
chansoen cf7e88f6ac Fix option_button.cpp not updating selected when out of bounds 2025-05-23 13:00:31 -07:00
Mikael Hermansson 92da11f69c Change JoltShapeInstance3D to use move semantics 2025-05-23 21:39:55 +02:00
PiCode fe3aaa2ae3 Add functions to apply impulse and force to SoftBody on GodotPhysics and JoltPhysics 2025-05-23 22:04:52 +03:00
Pāvels Nadtočajevs 0aae67b6bb Add hardcoded baseline offset for Apple Color Emoji. 2025-05-23 22:00:39 +03:00
aaronp64 ba68e2a1e8 Update time.cpp year/unix time conversions to be constant time
Added functions to convert between year and day from unix timestamps in constant time, to avoid having to iterate one year at a time.
2025-05-23 14:02:14 -04:00
kojurohan42 12ad9ed4e0 Add support for exporting to Google Play Instant 2025-05-23 22:00:14 +05:45
Yufeng Ying 8773f95e40 Optimize and simplify sarray. 2025-05-23 23:47:57 +08:00
Travis Lange a350e01dc7 Fix ios and android plugin always invalid due to null ConfigFile 2025-05-23 11:41:13 -04:00
Yufeng Ying 3545e945f6 Simplify implementation of errarray. 2025-05-23 23:14:59 +08:00
Thaddeus Crews 45fc515ae3 Merge pull request #106749 from KoBeWi/hard-coding_is_bad_for_your_health
Don't hard-code test path when deleting test data
2025-05-23 09:46:16 -05:00
Thaddeus Crews 7bc33bda64 Merge pull request #106748 from BlueCube3310/mobile-lightmaps
Mobile: Move `_setup_lightmaps` before `_fill_render_list`
2025-05-23 09:46:16 -05:00
Thaddeus Crews fa967cb4ae Merge pull request #104436 from Arnklit/bezier-box-scaling-cursor-improvement
Add correct cursors when scaling bezier keys with box scaling
2025-05-23 09:46:15 -05:00
Thaddeus Crews 42abcff772 Merge pull request #106740 from zeux/meshopt-bump
Update meshoptimizer to v0.23
2025-05-23 09:46:14 -05:00
Thaddeus Crews a9b09fc305 Merge pull request #106739 from timothyqiu/particles-selection
Fix heap-use-after-free when closing a scene with 2D particle nodes selected
2025-05-23 09:46:13 -05:00
Thaddeus Crews 274ed34ac4 Merge pull request #93836 from aaronfranke/capsule-mid-height
Add mid height property to CapsuleShape2D/3D
2025-05-23 09:46:13 -05:00
Thaddeus Crews cc452f9019 Merge pull request #104490 from arkology/The-Return-of-the-QuickOpen-Button
`EditorResourcePicker`: Add `Quick Load` button
2025-05-23 09:46:12 -05:00
Thaddeus Crews a5e87dd202 Merge pull request #106725 from mihe/jolt/silent-degenerate-soft-bodies
Remove error for degenerate soft body faces when using Jolt Physics
2025-05-23 09:46:11 -05:00
Thaddeus Crews ee82adcf04 Merge pull request #105413 from HolonProduction/gdscript-recover-match
GDScript: Do phrase level recovery for match
2025-05-23 09:46:10 -05:00
Anish Mishra 0312a0cc9e Android: Add export option for custom theme attributes
- Regenerates the `GodotAppMainTheme` and `GodotAppSplashTheme` during Android export. Any manual changes to these styles will be cleared and replaced with default theme attributes.

- Adds a new export option `gradle_build/custom_theme_attributes` for injecting custom theme attributes directly via the export window, avoiding the need to manually modify themes.xml.
2025-05-23 20:00:47 +05:30
kobewi e7d9df33a5 Assign base path when creating Resource 2025-05-23 16:09:19 +02:00
kobewi e7d31635dd Don't hard-code test path when deleting test data 2025-05-23 15:29:10 +02:00
BlueCube3310 546b40eee2 Mobile: Move _setup_lightmaps before _fill_render_list 2025-05-23 14:28:45 +02:00
HolonProduction f6e26d01d5 GUI: Use TabContainer material for internal TabBar 2025-05-23 13:58:01 +02:00
Kasper Arnklit Frandsen 7b4560b1dc Add correct cursors when scaling bezier keys with box scaling 2025-05-23 11:55:20 +02:00
Rémi Verschelde aef0065e09 Merge pull request #106737 from clayjohn/GL-blit-macos
Ignore destination alpha when blitting to window in compatibility renderer
2025-05-23 10:25:24 +02:00
nikitalita 6909309ca0 Bump script bytecode version after token enum change 2025-05-23 00:33:49 -07:00
Arseny Kapoulkine 4c530cb6a9 Update meshoptimizer to v0.23
Also remove the reference to a patch that was removed in a prior commit.

This includes improvements to simplification wrt attribute metric for certain
edge cases.
2025-05-23 06:08:25 +01:00
LuoZhihao 8a9409257b ColorPicker: Add intensity slider
Add intensity slider to all color modes. Replace raw mode by linear mode, which uses linear color space.

When color is overbright, automatically switch hex text to script text. Allow executing expression in script text field to set color. Add the "script" icon to the default theme.
2025-05-23 12:45:29 +08:00
Haoyu Qiu f16378a8de Fix heap-use-after-free when closing a scene with 2D particle nodes selected 2025-05-23 12:20:20 +08:00
clayjohn eb4f3a82a3 Ignore destination alpha when blitting to window in compatibility renderer 2025-05-22 22:21:32 -04:00
Lukas Tenbrink ea6fbd6687 Use OkHSV for rainbow labels. 2025-05-22 22:53:32 +02:00
Lukas Tenbrink 4371aa864d Simplify Memory::memnew_arr_placement to always initialize memory, to force callers to make the decision of whether to initialize. 2025-05-22 22:25:12 +02:00
Mikael Hermansson d153a267b0 Remove error for degenerate soft body faces when using Jolt Physics 2025-05-22 20:17:47 +02:00
Thaddeus Crews 7a0ab9d561 Merge pull request #106485 from limbonaut/fix-release-backtrace-line-numbers
Fix script backtrace reporting wrong line numbers in release exports
2025-05-22 12:15:10 -05:00
Thaddeus Crews ce400a93b5 Merge pull request #106613 from Calinou/doc-string-subsequence-contains
Clarify `String.is_subsequence_of()` working differently from `String.contains()`
2025-05-22 12:15:09 -05:00
Thaddeus Crews 63070dd61e Merge pull request #106224 from lawnjelly/fti_scenetree_faster_children
`SceneTreeFTI` faster access to `Node` children
2025-05-22 12:15:09 -05:00
Thaddeus Crews 452dc667fb Merge pull request #106592 from beicause/shader-fix-editor-mat-default
Shader: Fix the default behavior when mat uniforms are null
2025-05-22 12:15:08 -05:00
Thaddeus Crews 5b2525673a Merge pull request #102360 from berarma/theora_seek
Implement seek operation for Theora video files, improve multi-channel audio resampling.
2025-05-22 12:15:07 -05:00
Thaddeus Crews 8085fd3102 Merge pull request #93142 from clayjohn/z_clip_scale
Add new shader built ins: `Z_CLIP_SCALE` and `PERSPECTIVE_SCALE`
2025-05-22 12:15:06 -05:00
Thaddeus Crews f129e542da Merge pull request #106708 from bruvzg/nohang_exitcode
Fix `execute_with_pipe` / `create_process` exit code.
2025-05-22 12:15:06 -05:00