Commit graph

54373 commits

Author SHA1 Message Date
Fabio Alessandrelli
f1e0d50841 [MP] Implement "watched" properties.
Checked at "delta_interval" (default = every frame), synchronized
(reliably) if changes are detected.
2023-05-24 05:21:41 +02:00
Juan Linietsky
5fdc1232ef Add the ability to look-at in model-space.
This is a much simpler attempt to solve the same problem as , but without breaking any compatibility.

* Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets.
* Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector.

The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
2023-05-24 10:10:24 +09:00
Theraot
3b9bcadb9e Fix GLTFSkin binding for the godot_sking property 2023-05-23 19:28:06 -05:00
Pedro J. Estébanez
e725b4b02b Allow threads to mark themselves as safe for nodes 2023-05-24 00:22:58 +02:00
João Pedro Braz
8b6e57256f Make sure to normalize subtags when parsing BBCode
This PR makes it so that all subtags are normalized before usage.
Normalization means removing any leading and/or trailing quotation marks
from any given subtag.

Fixes: https://github.com/godotengine/godot/issues/75501
2023-05-23 18:55:06 -03:00
Nana Sakisaka
3dbd47ecb6 Expose Control::_get_drag_data() as non-const function 2023-05-24 06:09:45 +09:00
Fredia Huya-Kouadio
831b4a5366 Improve startup benchmarking
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 -07:00
Dawid Marzec
9fe1d6aa27 Remove up/down input for text search in Tree 2023-05-23 21:41:10 +02:00
Rakka Rage
855d78e458 Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles. 2023-05-23 14:46:02 -04:00
mara
93248684b4 Add pattern index tooltip to tilemap and tileset editor
Just a little UI convenience feature. Knowing the index (without having
to count manually) is convenient when working with tile patterns
programmatically, especially when having lots of them.
2023-05-23 19:28:06 +02:00
Rémi Verschelde
f581f21dd6
Merge pull request from AThousandShips/rpc_convert_fix
Ensure quotes are escaped when converting builtin scripts
2023-05-23 19:15:17 +02:00
Rémi Verschelde
59a35194bf
Merge pull request from YuriSizov/editor-vshaders-delay-init
Delay initialization of the visual shader editor UI
2023-05-23 19:15:13 +02:00
Rémi Verschelde
09d3dc86c0
Merge pull request from bruvzg/update_ts_libs
Update HarfBuzz, ICU and FreeType
2023-05-23 19:15:08 +02:00
Rémi Verschelde
ea5322fce2
Merge pull request from RedworkDE/net-sendtodebugger-crash
C#: Fix `SendToScriptDebugger` crash
2023-05-23 19:14:59 +02:00
Rémi Verschelde
56a15a552d
Merge pull request from akien-mga/glad-2.0.4
glad: Re-generate files with glad 2.0.4
2023-05-23 19:14:55 +02:00
Rémi Verschelde
86d3f43063
Merge pull request from akien-mga/brotli-202302
brotli: Sync with upstream commit ed1995b6b
2023-05-23 19:14:51 +02:00
Rémi Verschelde
4d0ab5332b
Merge pull request from akien-mga/recastnavigation-1.6.0
recast: Update to upstream version 1.6.0
2023-05-23 19:14:47 +02:00
Rémi Verschelde
b50023ce6b
Merge pull request from akien-mga/wslay-202208
wslay: Sync with upstream 0e7d106ff
2023-05-23 19:14:44 +02:00
Rémi Verschelde
7f0488899e
Merge pull request from akien-mga/zstd-1.5.5
zstd: Update to upstream version 1.5.5
2023-05-23 19:14:41 +02:00
Rémi Verschelde
6b397bc88c
Merge pull request from akien-mga/tinyexr-1.0.2
tinyexr: Sync with upstream 1.0.2
2023-05-23 19:14:37 +02:00
Rémi Verschelde
4e9e5e85b6
Merge pull request from 44zb/skeleton-find-bone-performance
Improve `Skeleton3D::find_bone()` performance
2023-05-23 19:14:34 +02:00
Rémi Verschelde
8f9e0672fb
Merge pull request from puchik/popup-close-key-mapping
Use defined key mapping for closing popups and dialogs
2023-05-23 19:14:31 +02:00
Rémi Verschelde
7b802ed150
Merge pull request from Calinou/editor-log-highlight-decrease-padding
Disable padding around highlighted rich text in the editor Output panel
2023-05-23 19:14:27 +02:00
Rémi Verschelde
012541763d
Merge pull request from puchik/expose_get_window_id
Expose get_window_id() from Window class
2023-05-23 19:14:24 +02:00
Ninni Pipping
ef4422e3e1 Ensure quotes are escaped when converting builtin scripts 2023-05-23 17:05:14 +02:00
Artyom Lunchenkov
f645eee62e Improve Skeleton3D::find_bone() performance 2023-05-23 21:02:46 +06:00
Yuri Sizov
edf47f1ee4 Delay initialization of the visual shader editor UI
This makes sure that the theme is ready to be used before the
methods is called.
Also add missing icons (and update some existing).

Co-authored-by: Samuel Wilson <yokomeshi@gmail.com>
2023-05-23 15:20:42 +02:00
Rémi Verschelde
9dc286967f
X11: Fix vformat ambiguous int types for GCC 10
The build would fail with GCC 10 from our Linux SDK used for official builds.
2023-05-23 11:27:28 +02:00
Silc Lizard (Tokage) Renew
4e4259bd79 Fix 3D Viewport Axis button draw order bug 2023-05-23 16:21:19 +09:00
Silc Lizard (Tokage) Renew
4d3d800d33 Revert "Fix swapped front/rear view"
This reverts commit f995d6cd17.
2023-05-23 16:21:19 +09:00
bruvzg
b64df2bf74
Update HarfBuzz, ICU and FreeType
HarfBuzz: Update to version 7.3.0
ICU4C: Update to version 73.1
FreeType: Update to version 2.13.0
2023-05-23 03:26:16 +03:00
RedworkDE
fa14b6d212 C#: Fix SendToScriptDebugger crash 2023-05-23 00:00:32 +02:00
Rémi Verschelde
d5c1b9f883
Merge pull request from BastiaanOlij/fix_gi_and_fog_free
Conditionally free GI and FOG resources, they may not have been created
2023-05-22 22:37:12 +02:00
Rémi Verschelde
c3c1909429
Merge pull request from BastiaanOlij/fix_material_dependencies
Properly clear material slots on mesh instance when material is freed
2023-05-22 22:36:48 +02:00
Rémi Verschelde
061c6f2acf
Merge pull request from MewPurPur/optimize-svg-ellipses
Optimize and/or improve some SVG icons
2023-05-22 22:36:24 +02:00
Rémi Verschelde
0fac233874
Merge pull request from bruvzg/font_name_str
[TextServer] Add support for retrieving OpenType name strings.
2023-05-22 22:35:54 +02:00
VolTer
eef8c27a08 Optimize and/or improve some SVG icons 2023-05-22 21:15:27 +02:00
Yuri Sizov
903dda8337
Merge pull request from KoBeWi/that's_a_lot_of_files
Add scrolling to overwrite dialog
2023-05-22 20:17:26 +02:00
bruvzg
aaddec7cb8
[TextServer] Add support for retrieving OpenType name strings. 2023-05-22 18:08:34 +03:00
Rémi Verschelde
5dc093b19a
Merge pull request from RedworkDE/doctool-material-error-fix
Fix error in `BaseMaterial3D` when running doctool
2023-05-22 17:02:23 +02:00
Rémi Verschelde
ab935aaac6
Merge pull request from ajreckof/fix_window_unselectable_for_ViewportTexture_NodePath
Fix `Window` derived nodes being unselectable for `ViewportTexture` `NodePath`
2023-05-22 17:02:20 +02:00
Rémi Verschelde
6a3095acb8
Merge pull request from RandomShaper/avoid_first_import_error_spam
Avoid error spam on first opening of a not yet imported project
2023-05-22 17:02:16 +02:00
Rémi Verschelde
5d16efae9a
Merge pull request from JBrowne017/issue-77190
Allow up to INT32_MAX max size in Array/Dictionary editor
2023-05-22 17:02:09 +02:00
RedworkDE
69f2bc2751 Improve SelfList and fix error in BaseMaterial3D when running doctool 2023-05-22 16:38:57 +02:00
Rémi Verschelde
b137695b4c
glad: Re-generate files with glad 2.0.4
No change, just making explicit that we're up to date with upstream.
2023-05-22 15:22:34 +02:00
Rémi Verschelde
7770e4447d
brotli: Sync with upstream commit ed1995b6b
ed1995b6bd
2023-05-22 15:05:48 +02:00
Bastiaan Olij
1a128fcccd Properly clear material slots on mesh instance when material is freed 2023-05-22 23:00:00 +10:00
Rémi Verschelde
2058b63067
recast: Update to upstream version 1.6.0
Release notes:
- https://github.com/recastnavigation/recastnavigation/releases/tag/v1.6.0
2023-05-22 14:47:42 +02:00
Rémi Verschelde
adfc46db4d
wslay: Sync with upstream 0e7d106ff
0e7d106ff8

Just a couple style fixes. Updating only so we know we don't have to review changes
since upstream development seems dormant.
2023-05-22 14:42:26 +02:00
Rémi Verschelde
6100b4bd33
zstd: Update to upstream version 1.5.5
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.3
- https://github.com/facebook/zstd/releases/tag/v1.5.4
- https://github.com/facebook/zstd/releases/tag/v1.5.5
2023-05-22 14:32:14 +02:00