Commit graph

64758 commits

Author SHA1 Message Date
wojtekpil 53e68ecbd4 Fix depth clear value for uv2 baking in compatibility renderer 2024-06-07 23:25:49 +02:00
kobewi 20d67aac67 Remove unused order variable from EditorResourcePreview 2024-06-07 15:54:47 +02:00
Per Melin 9b191f669c Fix NavigationServer3D.get_closest_point_to_segment() with use_collision 2024-06-07 14:24:39 +02:00
jsjtxietian 8d888807f7 Sync visual shader's distance fade using circular fade 2024-06-07 11:32:27 +08:00
aaronp64 73343a2e7f Fix VisualShaderNodeVaryingGetter expanded ports adding ".x" to shader
When VisualShaderNodeVaryingGetter type was Vector2/Vector3/Vector4, expanding the output ports and connecting an individual value to a scalar input would add ".x" to the assignment in the generated shader.  This was due to `VisualShaderNodeVarying::get_port_type` ignoring the port number, and always returning the associated vector type.  Added checks for `p_port == 0` to return either the vector type, or scalar for expanded ports, matching similar logic in other nodes, like `VisualShaderNodeColorConstant::get_output_port_type`.

Fixes #92832
2024-06-06 15:21:21 -04:00
kit 9a2ffd74d3 Update Add Scene button after TabBar resizes 2024-06-06 14:59:15 -04:00
Anni Ryynänen ae1e2182ec
Stop color picker tooltip from stealing input events
Input events go to the tooltip because it's added to `popup_list` in
DisplayServer `popup_open`. I think there's no harm in tooltips being omitted
from the list, so this commit blocks non-popup windows from being added if they
have `FLAG_NO_FOCUS` and `FLAG_MOUSE_PASSTHROUGH`.

I'm not happy with this way of detecting tooltips. It'll also catch other
windows where this behavior may or may not be wanted.

I thought about adding `FLAG_TOOLTIP`, but went with the smaller change for
now.

Fixes #79500.
2024-06-06 20:00:05 +03:00
风青山 85a1662e3b
Call EditorNode::set_edited_scene() manually instead of via the replacing_by signal
Cannot change `scene_root`'s child node in `EditorNode::set_edited_scene()`
if replaced later using `replace_by`.
2024-06-06 22:44:13 +08:00
Micky 5749007f47 Add pre-4.3 Editor theme color names for compatibility 2024-06-06 13:43:07 +02:00
bruvzg 28ec2240c4
Improve native menu and status indicator icons conversion and checks. 2024-06-06 07:46:09 +03:00
alula 3cc3c0bd95
fix building glslang on platforms without <filesystem> 2024-06-06 01:54:54 +02:00
Rémi Verschelde e96ad5af98
Merge pull request #92742 from Hilderin/fix-windows-activate-process
Fix Windows Activate Process
2024-06-06 00:44:36 +02:00
Rémi Verschelde 56a8db109c
Merge pull request #92808 from bruvzg/fix_ci_updates
Fix excessive canvas items updates.
2024-06-06 00:30:06 +02:00
aaronp64 3bf5fa9aea Fix Keep/Skip File import selection crash
Added is_valid() and "params" key checks before trying to access ConfigFile's "params" section in ImportDock::_update_options, to handle case where selecting "Keep File" or "Skip File" importer passes in a null ConfigFile.

Fixes #92785
2024-06-05 16:50:54 -04:00
kobewi 5514b2c70c Use subfolder for temporary test files 2024-06-05 20:31:42 +02:00
bruvzg 864a93fdbf
Fix excessive canvas items updates. 2024-06-05 21:01:30 +03:00
bruvzg 1f7bf27780
[macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
Michael Alexsander 078fe1aa84
Ignore Kate's build file 2024-06-05 12:54:33 -03:00
Danil Alexeev ae737d8cd9
Editor: Hide GDScript internal functions from method selectors 2024-06-05 18:24:59 +03:00
Logan Lang a64b0d3830 Set XRHandTracker property has_tracking_data to true only when palm joint is tracked 2024-06-05 17:22:45 +02:00
Raul Santos 44d4f637a1
C#: Skip method name when checking CallError
When invoking `call`, the arguments contain the method name. This argument must be skipped; otherwise, the `error.argument` index will be off.
2024-06-05 16:53:21 +02:00
kobewi d1d7762a9f Add Globals tab to reorganize Project Settings dialog 2024-06-05 16:11:34 +02:00
Yuzhao Wang 2e4d573c3c Remove the limit on the number of the SignalInfo function parameters
Update platform/android/api/jni_singleton.h

Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
2024-06-05 09:21:30 +08:00
kleonc 91e995e704 Fix creating cursor image from AtlasTexture 2024-06-05 01:44:05 +02:00
Silc Lizard (Tokage) Renew 4f6fb8ee81 Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-06-05 05:44:24 +09:00
Travis Lange 093718899f Fixed use of undeclared identifier '__cpuidex' error on mingw 2024-06-04 16:16:53 -04:00
markdibarry f0983f1b1c Add cull fix for scale repeat 2024-06-04 11:52:34 -04:00
Valentin Cocaud c31111f5ec Editor: Focus value editor on type change in Dictionary and Array editors 2024-06-04 16:51:29 +02:00
Rémi Verschelde 96a386f3c4
Merge pull request #92753 from bruvzg/lto_32_fix
[Windows] Fix 32-bit MinGW LTO build.
2024-06-04 16:51:24 +02:00
Rémi Verschelde 5b13d71738
Merge pull request #92751 from dalexeev/editor-pm-swap-date-and-version
Editor: Swap last edited date and version/warning in Project Manager
2024-06-04 16:51:21 +02:00
Rémi Verschelde 92ea322802
Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
Thomas ten Cate 6e45eb91c3
Remove note about night sky in PhysicalSkyMaterial
A night sky texture has been supported for quite some time now: https://github.com/godotengine/godot/pull/38791 So the instruction to use your own shader for this seems to be outdated.
2024-06-04 15:34:27 +02:00
Silc Lizard (Tokage) Renew b83dc9b25b Fix unstable AnimationTrackEditor snapping value 2024-06-04 22:06:40 +09:00
bruvzg d8e1ab085a
[Windows] Fix 32-bit MinGW LTO build. 2024-06-04 13:46:03 +03:00
Danil Alexeev 12430f9dce
Editor: Swap last edited date and version/warning in Project Manager 2024-06-04 12:43:59 +03:00
Rémi Verschelde 7b63ac488e
Merge pull request #92722 from rune-scape/fix-callable-crash
Fix callable not clearing freed pointer
2024-06-04 10:16:14 +02:00
Rémi Verschelde 7c2d65ff66
Merge pull request #92745 from bruvzg/rtl_list_fix
[RTL] Fix nested ordered lists inside unordered lists.
2024-06-04 10:10:34 +02:00
Rémi Verschelde 0242e3ca9f
Merge pull request #92740 from bruvzg/subvp_ime_activation
Fix IME activation in subviewports.
2024-06-04 10:10:30 +02:00
Rémi Verschelde 228564c64b
Merge pull request #92739 from TokageItLab/fix-blend2d-sync
Fix BlendSpace2D sync flagging line
2024-06-04 10:10:26 +02:00
Rémi Verschelde 4bf961e007
Merge pull request #92733 from raulsntos/core/memdelete-engine-later-but-not-that-late
Release Engine before unregistering core types
2024-06-04 10:10:21 +02:00
Rémi Verschelde 241d45d063
Merge pull request #92731 from bruvzg/vp_oversmpling_upd
Force canvas item update on oversampling change.
2024-06-04 10:10:17 +02:00
Rémi Verschelde 2f26842d86
Merge pull request #92707 from GrahameGW/vector_normalized_docs
Clarify the results of `VectorN.normalized()` in the docs
2024-06-04 10:10:13 +02:00
Rémi Verschelde 62b15238e5
Merge pull request #92704 from m4gr3d/update_android_editor_activity_layout
Consolidate the ProjectManager and Editor windows into a single Android Activity class
2024-06-04 10:10:08 +02:00
Rémi Verschelde d522c20186
Merge pull request #92465 from Frefreak/signal-connection-dialog-enhance
Make signal connections dialog method picker respect bind/unbind
2024-06-04 10:10:01 +02:00
Riteo 8f69f29694 EGL: Use EGL_EXT_platform_base whenever possible
This avoids any assumption from the driver, which would otherwise select
a specific platform and potentially mess up everything, resulting
usually in a display server failure.
2024-06-04 08:43:34 +02:00
bruvzg 5e616cedd4
[RTL] Fix nested ordered lists inside unordered lists. 2024-06-04 08:08:16 +03:00
Hilderin e201e5bf30 Fix Windows Activate Process 2024-06-03 19:33:41 -04:00
Grahame Watt 0560e890ca Clarify the results of VectorN.normalized() in the docs 2024-06-03 14:17:12 -07:00
bruvzg d45b896673
Fix IME activation in subviewports. 2024-06-04 00:03:02 +03:00
Silc Lizard (Tokage) Renew eacc122f32 Fix BlendSpace2D sync flagging line 2024-06-04 05:52:39 +09:00