Commit graph

53194 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
f67d7fa137 Make vulkan level 1 an optional requirement 2023-03-19 08:54:12 -07:00
Rémi Verschelde
4d5f10fc3a
Merge pull request #75074 from bruvzg/fix_unix_temp_files
Fix Unix temp file creations when using is_backup_save_enabled.
2023-03-19 00:37:33 -07:00
Rémi Verschelde
7752b52aa3
Merge pull request #74684 from clayjohn/export-tex
Delete unused compression formats from .import files when exporting
2023-03-19 00:06:04 -07:00
Adam Scott
fd1dfdb960 Set VehiculeWheel3D suspension_travel default value to a resonable one 2023-03-18 16:33:33 -04:00
Mikael Hermansson
ec6694ce3c Open up bounds of Shape3D.margin to support other physics engines 2023-03-18 20:52:13 +01:00
Mikael Hermansson
33a6c80abb Change documentation of Shape3D.margin to reflect current situation 2023-03-18 20:35:42 +01:00
bruvzg
ca58a5d56f
Fix Unix temp file creations when using is_backup_save_enabled. 2023-03-18 20:28:30 +02:00
Yuri Sizov
a7d0e18a31
Merge pull request #74861 from rburing/restore_trimesh_ccd
Revert attempted fix of trimesh CCD
2023-03-17 10:56:44 +01:00
bruvzg
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default. 2023-03-17 09:34:28 +02:00
Rémi Verschelde
1e0f7a12f7
Merge pull request #73121 from Scony/add-initial-navi-tests
Add initial navigation tests
2023-03-16 10:46:34 -07:00
Yuri Sizov
d418def752
Merge pull request #74564 from YuriSizov/inspector-is-simple-you-see-there-is-a-key-and-we-set-it-and-we-propagate-it-and-it-just-works
Update property keying state without a full Inspector rebuild
2023-03-16 17:42:31 +01:00
kleonc
224c66324b TileMapEditor Fix preview rendering and transform calculations 2023-03-16 14:52:38 +01:00
Yuri Sizov
2dc16f3c58
Merge pull request #74066 from m4gr3d/add_vulkan_version_filter_main
Add feature check to require min Vulkan api version 1.0 on Android
2023-03-16 13:08:09 +01:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
Yuri Sizov
21753b06a1
Merge pull request #74092 from KoBeWi/zero_reason_to_change
Add early return for changing TileMap properties
2023-03-16 13:04:31 +01:00
Yuri Sizov
ded38c5d75
Merge pull request #73839 from clayjohn/OUTPUT_IS_SRGB
Clean up OUTPUT_IS_SRGB redefinitions
2023-03-16 13:03:37 +01:00
Yuri Sizov
2d0497317e
Merge pull request #73519 from YuriSizov/fsdock-top-down-contextual-order
Reorganize context menu in FileSystem dock to put more used options higher
2023-03-16 12:49:44 +01:00
Yuri Sizov
7470514ae2
Merge pull request #74860 from lawnjelly/normalize_classref
Improve Vector2 / 3 / 4 normalized() classref.
2023-03-16 12:43:18 +01:00
Yuri Sizov
d4c3cc4146 Improve drawing and layout logic of the project list in the Project Manager 2023-03-16 12:36:27 +01:00
Yuri Sizov
aa47427cc7 Improve theming support in the Project Manager 2023-03-16 12:36:26 +01:00
Yuri Sizov
10420f91ba Reorganize ProjectManager code to be more idiomatic 2023-03-16 12:36:26 +01:00
Yuri Sizov
f2ea991792 Reorganize context menu in FileSystem dock to put more used options higher 2023-03-16 12:26:47 +01:00
Yuri Sizov
a2a524df71 Prevent crash in ItemList when checking for visible items
Also some light code refactoring to make the drawing logic more manageable.
We also store each item's column for more reliable checks.
2023-03-16 12:25:11 +01:00
lawnjelly
cca01afd82 Improve Vector2 / 3 / 4 normalized() classref.
Mention that the results will be unreliable with initial vector near zero.
2023-03-16 11:20:30 +00:00
Yuri Sizov
ac2e82463c
Merge pull request #74114 from dalexeev/editor-help-enable-context-menu
Enable `RichTextLabel` context menu if selection is enabled
2023-03-16 12:19:05 +01:00
Yuri Sizov
1182b6eaaa
Merge pull request #74626 from KoBeWi/one_line_that_changes_the_fate
Select the newly duplicated file
2023-03-16 12:17:40 +01:00
Yuri Sizov
ea31842b72
Merge pull request #73156 from gw2cc/safe_save
Create a safe temporary file with is_backup_save_enabled
2023-03-16 12:05:48 +01:00
Danil Alexeev
c0eeb32e38
GDScript: Fix false positive REDUNDANT_AWAIT warning 2023-03-16 14:04:14 +03:00
Yuri Sizov
bdefdc866b
Merge pull request #74910 from paddy-exe/fix-ndc-depth-gles3
Fix ndc calculation for LinearSceneDepth VS node in GLES3
2023-03-16 12:01:07 +01:00
Yuri Sizov
dd8841a8ec
Merge pull request #74892 from BastiaanOlij/fix_hw_srgb_conversion
XR: When an sRGB target is used, check hardware sRGB conversion
2023-03-16 11:59:50 +01:00
Yuri Sizov
44cc6e5c86
Merge pull request #74976 from smix8/navagent_fix_debug_path_duplicates_4.x
Fix NavigationAgent3D debug path duplicated points
2023-03-16 11:45:10 +01:00
Yuri Sizov
7d2080f81a
Merge pull request #74800 from smix8/navagent2d_thin_line_4.x
Allow negative NavigationAgent2D path debug line_width for thin lines
2023-03-16 11:44:34 +01:00
Yuri Sizov
a1c2f03055
Merge pull request #74898 from Spartan322/patch-1
Remove methods in header removed in c7eb814
2023-03-16 11:43:54 +01:00
Yuri Sizov
1befec9264
Merge pull request #74972 from timothyqiu/classref-fixes
Fix typos and inconsistencies in classref
2023-03-16 11:43:24 +01:00
Yuri Sizov
38a4c9a302
Merge pull request #74974 from timothyqiu/red-hot-kebab
Fix error when opening Inspector's dots menu
2023-03-16 10:15:51 +01:00
smix8
0b8798a995 Fix NavigationAgent3D debug path duplicated points
Fixes duplicated points in NavigationAgent3D debug path.
2023-03-16 09:19:04 +01:00
smix8
f6a10c0565 Allow negative NavigationAgent2D path debug line_width for thin lines
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
2023-03-16 09:04:53 +01:00
Haoyu Qiu
cb0fa0ed7b Fix error when opening Inspector's dots menu
When the inspector is empty, opening the "extra resource options" menu
produces a error:

> Condition "current_res.is_null()" is true.

Opening the mneu with no current resource is valid use case, so
`ERR_FAIL_COND` should not be used.
2023-03-16 15:06:57 +08:00
Bastiaan Olij
a1a52c5ba1 XR: When an sRGB target is used, check hardware sRGB conversion 2023-03-16 17:20:51 +11:00
Haoyu Qiu
57d4272984 Fix typos and inconsistencies in classref 2023-03-16 14:10:20 +08:00
George L. Albany
f3313ba4cd
Remove methods in header removed in c7eb814
c7eb814 missed these methods in the RichTextLabel's header
Remove set_override_selected_font_color from rich_text_label.h
Remove is_override_selected_font_color from rich_text_label.h
c7eb814 missed these methods in the TextEdit's header
Remove set_override_selected_font_color from text_edit.h
Remove is_override_selected_font_color from text_edit.h
2023-03-15 21:13:38 -04:00
Rémi Verschelde
e01b828575
Merge pull request #74964 from clayjohn/pm-file-safety
Disallow creating a project in the Home or Documents folder
2023-03-15 17:40:26 -07:00
clayjohn
45a26ff292 Disallow creating a project in the Home or Documents folder
Also don't prompt users to delete the project folder for now.

This is a temporary fix to ensure that users do not delete their entire home folders by mistake
2023-03-15 16:38:30 -07:00
ACB
345f5757e5 Create a safe temporary file with is_backup_save_enabled 2023-03-15 19:36:07 +01:00
Yuri Sizov
0c30a43d13
Merge pull request #63130 from snailrhymer/copy-duplication-fix
Stop pasted child nodes being assigned an owner when previously unowned
2023-03-15 16:36:46 +01:00
Yuri Sizov
eada333a0c
Merge pull request #67590 from cooperra/rename-node-undoredo-context-fix
Have the Rename Node action use the targeted Node for undo/redo context
2023-03-15 16:32:45 +01:00
Yuri Sizov
f08ffdc372
Merge pull request #74869 from fahadshihab/master
Added drag and drop support for shader include files in shader editor
2023-03-15 16:17:50 +01:00
Yuri Sizov
7b1b5117a6
Merge pull request #71307 from eskandrej/master
Fix for deselecting item when select_mode == SELECT_ROW
2023-03-15 16:15:21 +01:00
SnailRhymer
526d299623 Stop pasted child nodes being assigned an owner when previously unowned
Make copy and pasting match duplication's ownership transferral behavior by storing ownership information in the duplicated nodes on the node clipboard, then checking that information when setting owners for pasted nodes.
2023-03-15 16:12:51 +01:00
Robbie Cooper
907ba0d8f2 Have the Rename Node action use the targeted Node to determine the current undo/redo context
Formerly, we deduced context implicitly, but this failed and always used the global context instead of the context of the scene containing the Node.

This happened because the first argument to `add_do_method`, the SceneTreeEditor, is a descendant of Node and outside the current game scene's tree (it's part of the editor instead). This led the code in `EditorUndoRedoManager::get_history_id_for_object` to choose global context.

My solution is to explicitly use the renamed Node to deduce our context because it will always be in the current scene in this situation.

Fixes #67276
2023-03-15 16:03:30 +01:00