Commit graph

59709 commits

Author SHA1 Message Date
Haoyu Qiu
cc3984f359 Avoid punning enum names in documentation 2023-11-09 17:16:30 +08:00
bruvzg
4fda7e14be
[macOS] Fix fullscreen <-> exclusive fullscreen transition. 2023-11-09 08:02:56 +02:00
clayjohn
2b9e6d2972 Use render pass uniform set to store viewport samplers.
This fixes a bugs where per-viewport samplers were being used for internal texture fetches (probes, sky, etc.).

This also fixes a bug when using multiple viewports in the same scene.

This also fixes a bug where the texture bias would override the bias from 3D scale.
2023-11-08 23:26:08 +01:00
Rémi Verschelde
e5bacbc471
Merge pull request #84628 from KoBeWi/no_meta_only_path
Don't store shader edit path in metadata
2023-11-08 19:18:55 +01:00
kobewi
9c810ef061 Don't store shader edit path in metadata 2023-11-08 19:14:16 +01:00
Rémi Verschelde
57a0ac27d5
Merge pull request #84614 from YuriSizov/editor-set-shader-shortcut-context
Correctly set up shortcut context in the shader editor
2023-11-08 19:11:10 +01:00
Rémi Verschelde
cfcb0a1efc
Merge pull request #84605 from bruvzg/fix_list_al
[RTL] Fix list bullet alignment.
2023-11-08 19:10:47 +01:00
Rémi Verschelde
ae20b74ad5
Merge pull request #84597 from KoBeWi/zeroed_existence
Keep Variant type after `zero()`
2023-11-08 19:10:23 +01:00
Rémi Verschelde
2cfb5ff23a
Merge pull request #84585 from clayjohn/GL-instance-id
Properly rename ``INSTANCE_ID`` and ``VERTEX_ID`` in canvas item shaders in the compatibility backend
2023-11-08 19:09:59 +01:00
Rémi Verschelde
f0c52c0e35
Merge pull request #84576 from clayjohn/mesh-tangents-always
Create tangent array if mesh created without tangents
2023-11-08 19:09:36 +01:00
Rémi Verschelde
7efe2e3d82
Merge pull request #84317 from clayjohn/RD-samplers
Use default samplers in base uniform set when rendering to reflection probes
2023-11-08 19:09:12 +01:00
Rémi Verschelde
84e16de8eb
Merge pull request #84099 from BastiaanOlij/fix_openxr_samplecount
Fix OpenXR sample count
2023-11-08 19:08:48 +01:00
Rémi Verschelde
491160c33d
Merge pull request #83888 from KoBeWi/remove_all_properties_instead_of_adding_one
Fix TileMap layer reverts and defaults
2023-11-08 19:08:19 +01:00
kobewi
55f7d493ee Remove AnimatedSprite pointer when clearing editor 2023-11-08 18:09:42 +01:00
Yuri Sizov
0924ae0167 Resolve collisions in reference anchors added for methods
While the anchors themselves were sufficiently unique,
when converted to HTML all underscore characters are
replaced. This created collisions between, say, Object._get and
Object.get, where the latter would get a generic unique
anchor identifier, e.g. id1.
2023-11-08 15:16:35 +01:00
Yuri Sizov
b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov
e7dba3b064 Correctly set up shortcut context in the shader editor 2023-11-08 13:07:31 +01:00
kobewi
275e9d7028 Keep Variant type after zero() 2023-11-08 12:13:36 +01:00
bruvzg
e1c6dd522b
[RTL] Fix list bullet alignment. 2023-11-08 08:26:30 +02:00
Saracen
7559eb1667 Script path type support in editor:
Allow script path type hints to be used in drag and drop
and scene tree popup.
2023-11-08 00:18:40 +00:00
Juan Linietsky
c430ff2396 Comment the shader template light function by default
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
2023-11-07 23:20:45 +01:00
clayjohn
9c5adac342 Properly rename INSTANCE_ID and VERTEX_ID in canvas item shaders in the compatibility backend 2023-11-07 17:55:51 +01:00
clayjohn
a74cfc2629 Use default samplers in base uniform set when rendering to reflection probes 2023-11-07 17:46:05 +01:00
clayjohn
031f221b9d Create tangent array if mesh created without tangents
This extends our previous change to ensure that compressed meshes have tangents

Now we ensure tangents are always used. This greatly simplifies our compression code at the cost of a small amount of bandwidth
2023-11-07 14:24:23 +01:00
rsburke
76377230ac Fixed CPUParticle tangential force to match GPUParticle implimentation 2023-11-07 08:02:43 -05:00
Yuri Sizov
3e7f638d7b Merge pull request #84570 from clayjohn/editor-headless-scan
Scan the filesystem in the first frame when using headless mode
2023-11-07 12:54:41 +01:00
Yuri Sizov
a956f2f21c Merge pull request #84551 from KoBeWi/manage_animations_like_a_proper_human_being
Change AnimationLibEditor's mixer to actual Mixer
2023-11-07 12:54:38 +01:00
Yuri Sizov
30bae5b782 Merge pull request #84539 from synalice/issue-84433
Fix pressing Enter being ignored in "Create Shader" dialogue
2023-11-07 12:54:35 +01:00
Yuri Sizov
c3111c3e1a Merge pull request #84535 from DinDotDout/ColorPicker-shape-icon-fix
Fix `ColorPicker` shape icon is invisible until shape is changed
2023-11-07 12:54:31 +01:00
Yuri Sizov
37ae21966d Merge pull request #84521 from bruvzg/mac_icon_export
[macOS export] Improve icon generation.
2023-11-07 12:54:28 +01:00
Yuri Sizov
4c5c0414c8 Merge pull request #84491 from scgm0/andorid-no-show-splash-image
Fix Android disabling splash screen Show Image
2023-11-07 12:54:24 +01:00
Yuri Sizov
cfc9263130 Merge pull request #84414 from m4gr3d/fix_editor_crash_after_backing_from_game
Fix Android editor crash issue
2023-11-07 12:54:20 +01:00
Yuri Sizov
326899226f Merge pull request #84408 from m4gr3d/update_input_event_magnify_gesture_android_description
Update the description for the `InputEventMagnifyGesture` and `InputEventPanGesture` gestures
2023-11-07 12:54:17 +01:00
jsjtxietian
716fd3edfc Add shadows_disabled macro in Compatibility renderer 2023-11-07 18:55:26 +08:00
clayjohn
95fbb2ecb2 Scan the filesystem in the first frame when using headless mode 2023-11-07 10:46:56 +01:00
Haoyu Qiu
aca6855ef2 Sync changes between ShapeCast and RayCast class references 2023-11-07 16:49:51 +08:00
kobewi
01bd005a1f Change AnimationLibEditor's mixer to actual Mixer 2023-11-06 23:27:44 +01:00
Saracen
35c105e796 Fix generating terrain icon with certain image formats. 2023-11-06 22:19:54 +00:00
Roy Berube
a7b2e090ad Enable scrolling of output with UI scale changes 2023-11-06 12:17:49 -07:00
Fredia Huya-Kouadio
b737ac1e1d Update the description for the InputEventMagnifyGesture and InputEventPanGesture gestures
Mention the requirement to enable those gestures on Android
2023-11-06 11:02:39 -08:00
Andreia Gaita
8fad157dbb r128: Update to include latest fix for intrinsics being incorrect included.
https://github.com/fahickman/r128/pull/15 is needed to build on platforms
that define R128_STDC_ONLY
2023-11-06 18:09:20 +01:00
DinDotDout
15ec132ea2 Fix ColorPicker shape icon is invisible until shape is changed 2023-11-06 18:08:48 +01:00
scgm0
7771936df5 Fix Andorid disabling splash screen Show Image 2023-11-07 00:22:22 +08:00
Nikita Krasnov
c0a18e17ba Fix pressing Enter being ignored in "Create Shader" dialogue 2023-11-06 19:20:18 +03:00
Yuri Sizov
4c96e9676b Merge pull request #84494 from Calinou/fastnoiselite-tweak-property-hints
Tweak FastNoiseLite property hints for better slider usability
2023-11-06 15:43:28 +01:00
Yuri Sizov
d3e9033868 Merge pull request #83931 from clayjohn/DOCS-material
Fill out Material documentation and clarify `render_priority` and `next_pass` sorting
2023-11-06 15:43:25 +01:00
Yuri Sizov
14cc639bc3 Merge pull request #81018 from jsjtxietian/return-use-friendly-info-in-scriptStackVariable-serialize
Fix `_get_debug_tooltip` crash if tooltip string is too large
2023-11-06 15:43:21 +01:00
bruvzg
03662020a9
[macOS export] Improve icon generation. 2023-11-06 15:04:12 +02:00
Yuri Sizov
b7449a3d1a Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov
dfcbc1d758 Merge pull request #84405 from KoBeWi/no_escaping_the_RESET
Fix RESET not effective when saving inactive scene
2023-11-06 13:23:18 +01:00