Commit Graph

14198 Commits

Author SHA1 Message Date
jsjtxietian
4e615b162d
Fix infinite loop when calculating zoom level if tile_size * max_zoom < default
(cherry picked from commit 42c672afd6)
2024-03-11 16:24:17 +01:00
kobewi
01c51db41c
Copy track update mode when adding reset key
(cherry picked from commit d96fca371b)
2024-03-11 16:14:31 +01:00
Mika Viskari
2eda411cca
Do not call _validate_script if editor is not enabled
(cherry picked from commit 0fbc857e3f)
2024-03-11 16:11:13 +01:00
Ricardo Subtil
e5add91a46
Prevent race condition on initial breakpoints from DAP
(cherry picked from commit 485342408b)
2024-03-11 16:10:56 +01:00
aXu-AP
a05e15944e
Fix opening docs writing extra navigation history
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.

(cherry picked from commit 0506d6f192)
2024-03-11 16:08:20 +01:00
Hakim
9547818cc0
Do not reflect the origin lines in a mirror
(cherry picked from commit 59c75b074a)
2024-03-11 15:00:44 +01:00
David Snopek
e46cba13ed
Remove GI methods in parentheses from light baking options
(cherry picked from commit ce488930ea)
2024-03-11 15:00:44 +01:00
clayjohn
6ba9c6bf6d
Avoid singularity when generated tangents and validate that tangents are good enough when using compression
(cherry picked from commit 781cd27fe4)
2024-03-11 15:00:43 +01:00
K. S. Ernest (iFire) Lee
43eae4312d
Add obj importer changes to use ImporterMesh.
(cherry picked from commit 1430f0b67d)
2024-03-11 15:00:43 +01:00
Danil Alexeev
34010bf4d2
Editor: Fix _parse_category() is not called for custom categories
(cherry picked from commit 547f03b6d7)
2024-03-11 15:00:43 +01:00
Ricardo Subtil
6451422e72
Add missing variablesReference field to DAP evaluate request
(cherry picked from commit c07991ef36)
2024-03-11 15:00:43 +01:00
Rémi Verschelde
7eb4e71147
Fix reporting exit code when command line export fails
Fixes #83042.

(cherry picked from commit 51bfda9446)
2024-03-11 15:00:43 +01:00
Rémi Verschelde
d534c67d91
Linux: Handle export preset forward compat with 4.3+ platform name 2024-03-01 15:50:46 +01:00
A Thousand Ships
36e611fa83
Prevent threading problems in TileMap 2024-02-27 16:02:54 +01:00
Rémi Verschelde
0dcadaf02a
i18n: Sync translations with Weblate
Last sync for 4.2, then moving to 4.3.
2024-02-21 15:25:20 +01:00
Rémi Verschelde
474589eb83
Merge pull request #87782 from aaronfranke/4.2-fix-crash-mesh-root
[4.2] Fix crash when previewing a scene with a mesh as the root node
2024-02-07 10:08:57 +01:00
Rémi Verschelde
991454b8bd
i18n: Sync translations with Weblate
Still tracking 4.2 translations for now.
2024-02-02 10:47:57 +01:00
Aaron Franke
424a6a6bf5
[4.2] Fix crash when previewing a scene with a mesh as the root node 2024-01-31 07:43:25 -06:00
Haoyu Qiu
beadc92e4f Clear sub-resources list when no sub-resource exists
(cherry picked from commit 6e49ff91c0)
2024-01-25 18:32:37 +01:00
Yuri Sizov
eb25ef6062 Optimize scanning routines in the project manager
(cherry picked from commit 3d4b33df33)
2024-01-25 18:32:37 +01:00
jsjtxietian
bce0ada5f4 Prompt require editor restart to user when gizmo color changed
(cherry picked from commit b0ccd5c84f)
2024-01-25 18:32:37 +01:00
kobewi
06a94ecc14 Load project metadata file only when needed
(cherry picked from commit 3dc47b0b84)
2024-01-25 18:32:36 +01:00
Saracen
49031b24e5 Fix setting bezier track handle mode from inspector.
(cherry picked from commit 09a4aa3ce8)
2024-01-25 18:32:36 +01:00
kobewi
1f677eb279 Properly select the newly duplicated file
(cherry picked from commit 0ae1241304)
2024-01-25 18:32:36 +01:00
Nancy Zhang
88526a23a5 Fix unable to deselect audio effects
(cherry picked from commit cf39cc985b)
2024-01-25 18:32:36 +01:00
wilto938
6a2a048753 Reset TileMap editor drag_type by using the _stop_dragging() function when the toolbar mode is not selected
(cherry picked from commit 5a3de5bc30)
2024-01-25 18:32:36 +01:00
detomon
4bc567d27a Fix creating and updating plugin with dot in folder name
(cherry picked from commit 46253bd9e9)
2024-01-25 18:32:36 +01:00
Yuri Sizov
5dbe105f22 Fix theme access in the Groups editor
(cherry picked from commit 0244f8318f)
2024-01-25 18:32:36 +01:00
kevmorg
8633f7bcdb Hide Node dock successfully on undo/redo and deletion
Fixes #84530.

(cherry picked from commit da84489b27)
2024-01-25 18:32:35 +01:00
Yuri Sizov
dd665988d7 Correctly enforce minimum window size in editor
Also set the maximum size for the language
picked in the project manager.

(cherry picked from commit 416e594eb3)
2024-01-25 18:08:45 +01:00
jsjtxietian
5a7c19f6c4 Fix "Class name cannot be empty" error when sorting no import files by type
(cherry picked from commit 5b57db2637)
2024-01-25 18:08:45 +01:00
MewPurPur
28818d1d6c Add Texture2D and Texture3D icons
(cherry picked from commit 6cdd406c3d)
2024-01-25 18:08:45 +01:00
clayjohn
771db18a5d Uses screen-aligned quads for origin lines to avoid issues on NVidia
While we are add it, use alpha-antialised lines to make them look nice

(cherry picked from commit 5591f289d7)
2024-01-25 18:08:44 +01:00
风青山
f5ecaec1a4 Set an appropriate minimum size for labels in windows that display incorrectly
When the label's `autowrap_mode` is `AUTOWRAP_WORD_SMART` and the initial `text`
is set at the same time, it may have a higher height.

Set an appropriate minimum size for labels in windows that display incorrectly
so that these controls display properly.

(cherry picked from commit f932c6548e)
2024-01-25 17:19:42 +01:00
A Thousand Ships
79179351a3 [Editor] Fix threading problems with TileMap preview
(cherry picked from commit dbcd82ba67)
2024-01-25 17:03:57 +01:00
jsjtxietian
d41639a4cb Use render method from OS in compositor RD; Update related UI
(cherry picked from commit 453c2246b6)
2024-01-25 17:03:57 +01:00
Raul Santos
e6ea82344a Ignore directory entries in TPZ
Zip files may contain directory entries, they always end with a path
separator and zip entries always use forward slashes for path separators.

There's no need to create the directories included in the zip file,
since they'll already be created when creating the individual files.

(cherry picked from commit 59a5a1eb70)
2024-01-24 16:38:28 +01:00
Lyuma
80bf0cff65 gltf: fix three bugs which prevented extracted textures from being refreshed.
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.

(cherry picked from commit fea4165ca8)
2024-01-24 16:38:28 +01:00
Bartłomiej T. Listwon
c8bb637c57 Prevent overriding file info of another file when reimport creates files
(cherry picked from commit aae48ac2b6)
2024-01-24 16:38:28 +01:00
A Thousand Ships
b7c01ed6e9 Fix invalid 3-to-4 renames of add_animation to add_animation_library
This rename breaks `SpriteFrames` and also isn't valid as the new method
takes an `AnimationLibrary`, not an `Animation`

(cherry picked from commit 4b7ea9fe47)
2024-01-24 16:38:09 +01:00
Hugo Locurcio
16b6190408 Make the rendering method dropdown also affect mobile if compatible
This prevents visual discrepancies between desktop and mobile platforms
after switching rendering methods using this dropdown.

The restart dialog now displays which rendering methods will be used,
and the dropdown tooltip also lists caveats related to specific platforms.

(cherry picked from commit 57f3bdb1e5)
2024-01-24 16:01:58 +01:00
Rémi Verschelde
ed06389a34 Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3)
2024-01-24 15:57:59 +01:00
Ricardo Subtil
74374b02a7 Fix DAP breakpoints being cleared on closed scripts
(cherry picked from commit 760ff2e933)
2024-01-24 15:56:51 +01:00
kit
c4383c0d47 fix dock visibility issues
(cherry picked from commit a2674463fa)
2024-01-24 15:56:50 +01:00
Rémi Verschelde
1dee633c91
i18n: Sync translations with Weblate 2023-12-11 22:08:59 +01:00
Rémi Verschelde
daeb1c7292
i18n: Sync translations with Weblate 2023-12-07 11:13:02 +01:00
Yuri Sizov
7931c04544
Fix size and visuals of the InputEventConfigurationDialog
(cherry picked from commit 44ec0d19d8)
2023-12-07 10:27:09 +01:00
aXu-AP
351bede5ae
Fix UV editor not showing polygon correctly
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.

(cherry picked from commit a45db4d616)
2023-12-07 10:27:09 +01:00
jsjtxietian
2167526f2f
Fix SnapGrid is almost invisble in light theme
(cherry picked from commit 926e22d2ab)
2023-12-07 10:27:09 +01:00
Yuri Sizov
511b4f822a
Make sure Window's title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.

(cherry picked from commit d9677be0ca)
2023-12-07 10:27:08 +01:00