Commit Graph

80742 Commits

Author SHA1 Message Date
Thaddeus Crews e256771e86 Merge pull request #108836 from aaronfranke/json-grisu
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-30 11:19:12 -05:00
Thaddeus Crews 54e8c8eecc Merge pull request #110948 from aaronfranke/const-ref-param-openxr
Use const ref parameters in the OpenXR module
2025-09-30 11:19:11 -05:00
Thaddeus Crews 0e7bb92b1d Merge pull request #110977 from aaronfranke/const-ref-param-webrtc
Use const ref parameters in the Web modules
2025-09-30 11:19:11 -05:00
Thaddeus Crews fdf32d1b2a Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
kobewi 084783e92b Reduce code duplication in material conversion 2025-09-30 16:56:05 +02:00
Pāvels Nadtočajevs 52fec34cab Fix Color precision error in the documentation generated on M3/M4 macOS. 2025-09-30 17:45:13 +03:00
devloglogan 8fef9a689e Implement motion vectors in compatibility renderer 2025-09-30 09:42:17 -05:00
kobewi 618afcffa6 Add pivot_offset_ratio property to Control 2025-09-30 15:27:52 +02:00
kobewi be53dd3d04 Fix Quick Open history 2025-09-30 14:26:14 +02:00
HolonProduction a9673e2bfc Remove unused multiplayer member from Node 2025-09-30 14:02:00 +02:00
Rémi Verschelde 6e33e3b7af makerst: Skip generated header for translations
This reduces diff size on branch updates for godot-docs-l10n.

(cherry picked from commit eca3785100cd9b42e000eafa22bf14b41d2e0223)
2025-09-30 13:32:46 +02:00
Rémi Verschelde cf6da2a12e i18n: Sync translations with Weblate
(cherry picked from commit d488e962df4675bdb1927e1027d8262c570cc310)
2025-09-30 13:32:35 +02:00
Rahi 5a0f29f316 Option to enable cvtt and betsy compression in exported builds 2025-09-30 09:19:59 +03:00
Kaleb Reid c79fe58939 Always show settings to enable DOF near + far 2025-09-29 22:29:24 -07:00
Haoyu Qiu d5738b5cdd Unix: Fix retrieval of PID exit code 2025-09-30 12:29:49 +08:00
clayjohn aa8bc0b56d Prompt editor restart when reflection probe size is updated
Also formally deprecate the RS function for updating an individual probes size. The functionality was removed in 4.0, but the function itself was mistakenly left exposed.
2025-09-29 18:35:34 -07:00
Kaleb Reid 5021b3e6e5 Sort render list correctly in RD renderers 2025-09-29 17:22:26 -07:00
MBCX f00df0ad1e Fix incorrect usage of Color::from_hsv() that was exposed by newer compiler warnings 2025-09-29 18:18:51 -04:00
Malcolm Anderson 2f1e8dad74 Add Instant Preview to Quick Open dialog
Add toggle for instant preview

Always keep search box selected so that keyboard navigation works

Add default setting for Instant Preview

Directly set property value for resource via Quick Load menu (no undo/redo or dirty-scene functionality yet)

Add undo/redo functionality

Update class reference

Update doc/classes/EditorSettings.xml

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Slight improvement(?) to wording of setting

Allow previewing without committing change

Address various suggestions/improvements

Only allow Instant Preview to be used if Quick Open menu is being used to modify a property

Only allow property-based Quick Load when resource to modify is defined (otherwise default to old behavior)

Apply suggestions from code review

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

Address comments/suggestions

Get rid of duplicated code and use original callback strategy

(Attempt to) fix Instant Preview for editing multiple nodes at once and undo/redo stack for single nodes

Fix cancelling Quick Open when multiple nodes are selected

Prevent initially selected item in Quick Open dialog from overwriting the currently selected property

Apply suggestions from code review

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

Make a few changes/improvements based on feedback

- Combine some duplicated code into `_finish_dialog_setup()`
- Move `ERR_FAIL_NULL(p_obj);` to top of checks
- Fix renaming of `is_instant_preview_enabled()` across code, and remove now-redundant conditions where it is used
- Make `EditorResourcePicker::property_path` be `StringName` not `String`
2025-09-29 15:12:21 -07:00
Malcolm Anderson 9ad608691b Kill subtweens when their parent tween is killed
# Conflicts:
#	scene/animation/tween.h
2025-09-29 15:11:19 -07:00
Ryan 6ebef31b3c Make Node::orphan_node_count thread-safe 2025-09-29 17:54:41 -04:00
Stuart Carnie 65e8b0951b Renderer: Move reflect_spirv to RenderingShaderContainer
This change introduces a new protected type, `ReflectedShaderStage` to
`RenderingShaderContainer` that derived types use to access SPIR-V and
the reflected module, `SpvReflectShaderModule` allowing implementations
to use the reflection information to compile their platform-specific
module.

* Fixes memory leak in `reflect_spirv` that would not deallocate the
  `SpvReflectShaderModule` if an error occurred.
* Removes unnecessary allocation when creating `SpvReflectShaderModule`
  by passing `NO_COPY` flag to `spvReflectCreateShaderModule2`
  constructor function.
* Replaces `VectorView` with `Span` for consistency
* Fixes unnecessary allocations in D3D12 shader container in
  `_convert_spirv_to_nir` and `_convert_spirv_to_dxil` which implicitly
  converted the old `VectorView` to a `Vector`
2025-09-30 06:40:14 +10:00
HolonProduction 743e0edfd7 Remove unused import_path member from Node 2025-09-29 21:40:01 +02:00
Marc Gilleron 0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
kobewi 97b398cba1 Rework editor docks 2025-09-29 17:30:41 +02:00
Jonas Seidl d1246b099e Fix d3d12 stencil buffer not clearing 2025-09-29 13:16:29 +02:00
Pāvels Nadtočajevs 3f84820711 [TextServer] Enforce zero width spaces and joiners to actually be zero width and not fallback to regular space. 2025-09-29 00:52:34 +03:00
Hugo Locurcio 90a171d278 Document compress() not being supported in exported builds in Image
This also clarifies various parts of the Image class reference.
2025-09-28 23:02:15 +02:00
kobewi 65a00fc60a Delete "Activate now?" button 2025-09-28 22:46:30 +02:00
Pāvels Nadtočajevs 2914a870af [TextServer] Do not add extra spacing to zero-width glyphs. 2025-09-28 21:39:44 +03:00
Aaron Franke ac2e01684c Use const ref parameters in the Web modules 2025-09-28 08:13:13 -07:00
Aaron Franke c3e6002c6e Use const ref parameters in the OpenXR module 2025-09-28 08:10:03 -07:00
Thaddeus Crews 8d8041bd4d Merge pull request #107391 from BastiaanOlij/openxr_spatial_entities_ext
OpenXR: Add support for spatial entities extension
2025-09-28 10:07:49 -05:00
Thaddeus Crews ef4863ab97 Merge pull request #109764 from ydeltastar/android-fragment-fix
Android: Ensure proper cleanup of the fragment
2025-09-28 10:07:48 -05:00
Thaddeus Crews 781a37420f Merge pull request #110867 from Repiteo/core/deprecate-skip-cr
Core: Remove `skip_cr` argument from `String`
2025-09-28 10:07:47 -05:00
Thaddeus Crews f6fc2f4a08 Core: Remove skip_cr argument from String 2025-09-28 10:07:24 -05:00
Pāvels Nadtočajevs e59a55e645 Fix text servers build with disabled FreeType. 2025-09-28 17:08:51 +03:00
xuhuisheng 800ff0e01e fix snap Polygon2D editor 2025-09-28 12:52:13 +08:00
Silc Lizard (Tokage) Renew f3db297fd1 Make extended SkeletonModifiers retrieve interpolated global transform 2025-09-28 13:35:10 +09:00
Haoyu Qiu 12f8c78231 X11: Fix minimization of maximized windows 2025-09-28 12:19:54 +08:00
GlitchedCode922 587c3134fb Fix permission handling for backup on write files 2025-09-27 18:49:39 +00:00
Thaddeus Crews b4472f4670 Merge pull request #110970 from Repiteo/gui/fix-nullptr-deref
GUI: Fix `nullptr` deref in TextServer
2025-09-27 13:42:32 -05:00
Pāvels Nadtočajevs 9a1fbff651 [RTL] Fix outline_size=0 and font/otf tags with invalid arguments breaking tag stack and spamming errors. 2025-09-27 20:42:05 +03:00
Thaddeus Crews 720dfdde7d GUI: Fix nullptr deref in TextServer 2025-09-27 10:56:01 -05:00
Pāvels Nadtočajevs 9318466183 Open translation CSV in the text editor instead of printing errors. 2025-09-27 17:29:25 +03:00
Mikael Hermansson a285ab6bcf Fix crash when calling move_and_collide with a null jolt_body 2025-09-27 13:30:04 +02:00
clayjohn 14b60f2264 Optimize vertex shader using mat3x4 to reduce bandwidth, load/store operations and ALUs 2025-09-26 23:20:08 -07:00
Bastiaan Olij eeac57075c OpenXR: Implement spatial entities extension 2025-09-27 12:23:33 +10:00
Aaron Franke 754d49ac81 Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
DallasHuff 3d16ea88c6 Add New File Shortcuts in FileSystem Dock
It currently takes several clicks to create a file in the filesystem dock. This
change adds the option to create shortcuts for creating files,
greatly reducing the number of inputs required to do so.
2025-09-26 18:52:30 -05:00