1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00
Commit Graph

76124 Commits

Author SHA1 Message Date
Alexander Hartmann
4e25e4406e Fix: Canceling save dialog on editor exit 2025-07-17 19:35:10 +02:00
h1v9
33a199d1cb Calculate md5 of import files when cache is missing. Prevents "forced" reimport 2025-07-17 19:26:21 +03:00
Wilson Kazuo Mizutani
b400633dc2 Show detach script button when added via inspector
Fixes #107059.

The SceneTreeDock was not tracking script changes in selected nodes in any capacity as far as I could assess. To do
that, my solution essentially connects the "script_changed" signal from selected nodes to
"SceneTreeDock::_update_script_button()" whenever the selection changes. It actually queues the update to make sure it
happens only once no matter how many nodes are selected.

However, only connecting that signal would leave previously selected nodes with a signal connection that should no
longer exist. To properly disconnect previously selected nodes, we have to store the list of currently selected nodes so
we can disconnect them when the selection changes.

The commit also includes some improvements to the SceneTreeDock class:

1. Remove unnecessary initialization in SceneTreeDock

This field is already initialized in the line that declares it. As such, initializing it on the constructor as well as
is redundant.

2. Queue script button updates in scene tree dock

Since we now have the option to defer the script button update and make sure it only runs once per frame, it's always
best to use the queued version of the update from a performance perspective. I'm not entirely sure if there could be any
unexpected side effects but it is a minor self-contained UI update, so it's likely a relatively safe change.

The replacement includes the bindings since it is a requirement for the other replacements in the class to work
(UndoRedo needs their method names registered in the class DB). It should be OK to remove the old non-queued bindings
too even though they are accessible in the public API because it is a "unofficial" method starting with an underscore.
2025-07-17 13:09:50 -03:00
Thaddeus Crews
f92f1ce9c0 Merge pull request #108699 from bruvzg/sp_slice_decomp
[SpriteFramesEditor] Decompress texture before auto slicing sprite sheet.
2025-07-17 10:34:50 -05:00
Thaddeus Crews
4b8e025023 Merge pull request #108696 from bruvzg/maco_full_headless
[macOS] Do not use NSApplication main loop for headless mode.
2025-07-17 10:34:49 -05:00
Thaddeus Crews
24ad16c2fc Merge pull request #108472 from bruvzg/win_proj_ver
[Windows export] Use project version as fallback.
2025-07-17 10:34:49 -05:00
Thaddeus Crews
25dcf7d2a0 Merge pull request #108306 from Chaosus/gds_fix_super_completion
Fix lookup symbol for `super()`
2025-07-17 10:34:48 -05:00
Thaddeus Crews
ca374f91a2 Merge pull request #108624 from bruvzg/mac_emb
[macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode.
2025-07-17 10:34:47 -05:00
Thaddeus Crews
2ef2e24582 Merge pull request #108655 from gongpha/manifold-76208dc
Update manifold to upstream commit 76208dc
2025-07-17 10:34:46 -05:00
Thaddeus Crews
9ba44cb613 Merge pull request #108364 from Rindbee/use-inotify-to-detect-devices-on-Linux
Use inotify to detect devices for better reliability on Linux
2025-07-17 10:34:45 -05:00
Thaddeus Crews
4b844f06ca Merge pull request #108684 from simpkins/unique_name
Fix releasing the old unique name when renaming a Node
2025-07-17 10:34:44 -05:00
Thaddeus Crews
8702b38c7f Merge pull request #108196 from beicause/spinbox-custom-arrow-step-snap
SpinBox: Fix `custom_arrow_step` by snapping it to `step`
2025-07-17 10:34:43 -05:00
kobewi
1f4044c0f1 Fix inconsistent column in Tree click detection 2025-07-17 14:29:44 +02:00
Pāvels Nadtočajevs
eac8e9d1cd [SpriteFramesEditor] Decompress texture before auto slicing sprite sheet. 2025-07-17 10:51:44 +03:00
Pāvels Nadtočajevs
8b045ca8fe [macOS] Do not use NSApplication main loop for headless mode. 2025-07-17 08:42:55 +03:00
Adam Simpkins
254fa6c642 fix releasing the old unique name when renaming a Node
This fixes `Node::set_name()` to release the old unique name before
performing the rename.  #76560 changed the code to update `data.name`
before calling `_release_unique_name_in_owner()`, causing to incorrectly
try releasing the new name instead of the old name.

Fixes #108683
2025-07-16 14:21:50 -07:00
Anish Mishra
d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
Thaddeus Crews
7826b6b13f Merge pull request #108664 from clayjohn/TAA-motion-vectors-alpha
Never overwrite motion vectors in the transparent pass
2025-07-16 11:27:57 -05:00
Thaddeus Crews
e0577598fa Merge pull request #108630 from QbieShay/qbe/fix-108233
Sort bent normal output at the bottom to prevent visual shader breakage
2025-07-16 11:27:56 -05:00
Thaddeus Crews
68495871b0 Merge pull request #108661 from bruvzg/nix32
[Linux] Fix narrowing conversion error in 32-bit builds.
2025-07-16 11:27:55 -05:00
Thaddeus Crews
64c58c225a Merge pull request #107473 from m4gr3d/address_transparency_feedback
Address remaining feedback on Android background transparency
2025-07-16 11:27:54 -05:00
Thaddeus Crews
fc1e61ad94 Merge pull request #108312 from KoBeWi/deselect_deselected_just_to_be_sure
Fix filtered out nodes not getting deselected
2025-07-16 11:27:53 -05:00
Thaddeus Crews
129143355f Merge pull request #108463 from kitbdev/fix-text-theme-issues
Fix some Text Editor theme issues and clean up
2025-07-16 11:27:52 -05:00
Thaddeus Crews
12c8c140a4 Merge pull request #108642 from Changryy/auto-load-naming
Fix new autoload scripts using file name instead of user defined name
2025-07-16 11:27:52 -05:00
Alexander Hartmann
7697b70df2 Prompt to save modified scene missing when quitting editor with running project. 2025-07-16 15:44:08 +02:00
clayjohn
17b9469bac Never overwrite motion vectors in the transparent pass 2025-07-16 04:58:39 -07:00
Lindo
529a5a3512 Fix error when dragging non-resource file 2025-07-16 11:23:09 +02:00
Pāvels Nadtočajevs
80b39cd1bd [Linux] Fix narrowing conversion error in 32-bit builds. 2025-07-16 09:34:38 +03:00
Kongfa Waroros
b4762468cc manifold: Update to upstream commit 76208dc 2025-07-16 09:31:53 +07:00
Thaddeus Crews
7c472e655f Merge pull request #108638 from Ivorforce/range-float
Use `double` consistently in `Range::get_as_ratio`.
2025-07-15 16:58:38 -05:00
Thaddeus Crews
16dde54635 Merge pull request #108637 from bruvzg/lto_fix_sse42
[Windows] Fix SSE4.2 detection with LTO build.
2025-07-15 16:58:37 -05:00
Thaddeus Crews
0f23b7b420 Merge pull request #108632 from aryan-11825114/add-min-scale-to-shader-list
Add minimum scale to shader list
2025-07-15 16:58:36 -05:00
Thaddeus Crews
7f110a6c3e Merge pull request #108558 from KoBeWi/variant_of_the_lost
Fix Variant properties losing value upon script update
2025-07-15 16:58:35 -05:00
Thaddeus Crews
00b9e53ecf Merge pull request #108649 from bruvzg/xcode16_sel
[CI] Use Xcode 16 for macOS build.
2025-07-15 16:58:35 -05:00
Thaddeus Crews
f44c4907d3 Merge pull request #108584 from shiena/fix/linux-camera-flag
Fix camera removal detection after toggling monitoring on Linux
2025-07-15 16:58:34 -05:00
Pāvels Nadtočajevs
daf2c88928 [CI] Use Xcode 16 for macOS build. 2025-07-16 00:05:54 +03:00
Lindo
90327dcbec Fix new autoload scripts using file name instead of user defined name 2025-07-15 20:27:31 +02:00
kit
7e9e3b767c Fix some Text Editor theme issues and clean up 2025-07-15 13:43:30 -04:00
Lukas Tenbrink
37e0c9b5c4 Use double consistently in Range::get_as_ratio. 2025-07-15 16:39:24 +02:00
Pāvels Nadtočajevs
6ec518dfc4 [Windows] Fix SSE4.2 detection with LTO build. 2025-07-15 17:23:35 +03:00
Thaddeus Crews
1d8e738499 Merge pull request #108511 from lyuma/htcx_wrist_ankle
Add missing OpenXR paths to /user/vive_tracker_htcx
2025-07-15 08:04:29 -05:00
Thaddeus Crews
20606b1d4d Merge pull request #108477 from KoBeWi/grid_burn-in
Fix lingering grid from TileMapLayer editor
2025-07-15 08:04:28 -05:00
Thaddeus Crews
af4e96b1b3 Merge pull request #108604 from deralmas/fitting-shenanigans
Wayland: Workaround tooltip issues
2025-07-15 08:04:27 -05:00
Thaddeus Crews
281ce842fd Merge pull request #108442 from limuy2022/master
Fix incorrect anchor preset when custom offset is set
2025-07-15 08:04:26 -05:00
Thaddeus Crews
897d41ca9d Merge pull request #108597 from bruvzg/rtl_pad_cell
[RTL] Fix text selection offset in padded cells.
2025-07-15 08:04:26 -05:00
Thaddeus Crews
e1e2277f5a Merge pull request #108530 from mihe/physics-debug-perf
Fix performance regression when rendering collision shapes
2025-07-15 08:04:25 -05:00
Thaddeus Crews
ff15cb479e Merge pull request #108494 from precup/fix-sphere-gizmo-handle
Fix sphere gizmo handle position
2025-07-15 08:04:24 -05:00
Thaddeus Crews
121c311d61 Merge pull request #108302 from aaronfranke/gltf-buffer-nasty
GLTF: Fix nasty bug with incorrect buffer indices on export
2025-07-15 08:04:23 -05:00
Thaddeus Crews
f859d13035 Merge pull request #108332 from WhalesState/templates
Fix remaining physics and navigation disabling issues.
2025-07-15 08:04:22 -05:00
Thaddeus Crews
e8d527045e Merge pull request #108618 from stuartcarnie/fix_debug_server_arg
Editor: Fix crash when specifying `--debug-server`
2025-07-15 08:04:22 -05:00