Pedro J. Estébanez
5e144022e7
Enhance cache modes in resource loading
...
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008 ).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669 , #82830 ).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Aarni Koskela
20c563de40
Replace hand-written pre-commit hooks with pre-commit
Python tool
...
`pre-commit` can be installed with pip, and configured in the Godot repo with
`pre-commit install`. It can then easily be run both locally with
`pre-commit run`, and on CI, in a cross-platform way.
This makes it much easier for contributors to set up pre-commit hooks,
without having to manually copy files to their git folder.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-26 14:57:53 +01:00
Rémi Verschelde
b849d34012
Don't attempt shutting down adb on exit if not started
...
Fixes #88864 .
2024-02-26 13:37:06 +01:00
Rémi Verschelde
bb6b06c813
Merge pull request #50148 from aaronfranke/move-resources
...
Move 2D and 3D resources to their own folders
2024-02-26 13:13:11 +01:00
Lyuma
6a6bd2307c
Add rest fixer toggle to disable bone pose reset
...
Adds a "Reset All Bone Poses After Import" option to the Skeleton3D Rest Fixer settings.
Default value of true resets the bone poses to rest (usually a t-pose), matching previous behavior.
If disabled, keeps the bones posed as they would have been before silhouette adjustment.
2024-02-26 03:24:01 -08:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
Rémi Verschelde
8eb34cb78b
Merge pull request #88849 from ajreckof/Fix-paste-Value-can-empty-a-dictionary-depending-on-right-click-location
...
Fix paste Value can empty a dictionary depending on right-click location
2024-02-26 12:11:19 +01:00
Rémi Verschelde
2fb99c187e
Merge pull request #83133 from aaronfranke/2d-navigation
...
Move 2D-only and 3D-only navigation code to its own subfolder
2024-02-26 12:11:13 +01:00
Lyuma
652ef966f9
Add new scene import option to import as Skeleton
...
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Aaron Franke
138180fe01
Move 3D-only navigation code to its own subfolder
2024-02-26 04:19:12 -06:00
Aaron Franke
fd582dca62
Move 2D-only navigation code to its own subfolder
2024-02-26 04:18:13 -06:00
Rémi Verschelde
99addd6d9c
Merge pull request #88853 from dalexeev/gds-canonicalize-fqcn
...
GDScript: Canonicalize script path in FQCN
2024-02-26 10:49:44 +01:00
Rémi Verschelde
924e579f96
Merge pull request #88826 from mhilbrunner/net-fix-has-erase
...
Networking scene multiplayer: Fix removing connected peer during disconnection
2024-02-26 10:49:25 +01:00
Rémi Verschelde
a3b44bd89e
Merge pull request #88814 from RedMser/inherit-property-revert-inspector
...
Inspector `(N changes)` indicator propagates upwards
2024-02-26 10:49:22 +01:00
Rémi Verschelde
08a3493f07
Merge pull request #88811 from Sauermann/fix-focus-change-doc
...
Mention how Control focus loss affects `Viewport.gui_focus_change`
2024-02-26 10:49:19 +01:00
Rémi Verschelde
785c69d5e2
Merge pull request #88791 from MajorMcDoom/add-bone-index
...
Make `Skeleton3D::add_bone` return the new bone index
2024-02-26 10:49:15 +01:00
Rémi Verschelde
10694ea027
Merge pull request #88755 from stoofin/debug-draw-enum-names
...
Add all `Viewport.debug_draw` enum options to dropdown
2024-02-26 10:49:12 +01:00
Rémi Verschelde
f91e74a179
Merge pull request #88754 from BastiaanOlij/fix_openxr_eye_gaze_init
...
OpenXR: Register eye gaze even when disabled
2024-02-26 10:49:09 +01:00
Rémi Verschelde
762ea7a0b2
Merge pull request #88730 from raulsntos/dotnet/deprecated-message
...
C#: Add deprecated message to generated bindings
2024-02-26 10:49:05 +01:00
Rémi Verschelde
5059dd91f3
Merge pull request #88692 from nongvantinh/fix-88543
...
Fix Script Editor saves C# files as embedded scripts.
2024-02-26 10:49:01 +01:00
Rémi Verschelde
abe73c3db0
Merge pull request #88675 from MajorMcDoom/script-editor-redundancy
...
Remove some redundant method calls from ScriptEditor
2024-02-26 10:48:57 +01:00
Rémi Verschelde
7e567c4777
Merge pull request #88615 from Rindbee/add-h_separation-between-icons-in-CheckButton-and-CheckBox
...
Add a `h_separation` between icons in `CheckButton`/`CheckBox`
2024-02-26 10:48:54 +01:00
Rémi Verschelde
e7bf883068
Merge pull request #88611 from Alex2782/force_device_cpu_architecture
...
Display a warning if device CPU architecture is not active in the export preset.
2024-02-26 10:48:49 +01:00
Rémi Verschelde
63bde2feff
Merge pull request #88589 from RandomShaper/gl_preview_liveunlock
...
Rework viewport capture in preview generation
2024-02-26 10:48:44 +01:00
Rémi Verschelde
9509a9e8dd
Merge pull request #83691 from theraot/slidedocs
...
Expanded documentation for vector slide and project
2024-02-26 10:48:37 +01:00
Danil Alexeev
8ffc50ee8c
GDScript: Canonicalize script path in FQCN
2024-02-26 10:46:24 +03:00
bruvzg
dad4aae386
[TextEdit] Add support for optional wrapped line indentation.
2024-02-26 08:20:14 +02:00
ajreckof
a8173439ef
Fix paste Value can empty a dictionary depending on right-click location
2024-02-26 06:53:40 +01:00
clayjohn
294f16c862
Consistently use system_fbo instead of binding 0 as it is needed for iOS devices
2024-02-25 13:52:41 -08:00
Zi Ye
ea401f9853
Fixed the text editor theme not being applied on editor start.
2024-02-25 14:42:48 -06:00
RedMser
7a08b1fcd6
Inspector changes indicator propagates upwards
2024-02-25 21:12:17 +01:00
Micky
4d6bf44ca8
Fix toggling a plugin makes its name black
2024-02-25 18:54:27 +01:00
Max Hilbrunner
bd8380db55
Fix removing connected peer during disconnection
2024-02-25 18:44:02 +01:00
Nông Văn Tình
c5e6a5863d
Fix Script Editor saves C# files as embedded scripts
...
fixes : #88543
fixes : #88160
Because of the limitations of compiled programming languages like C#, when a newly created *.cs file hasn't been compiled, we don't have any information about its `Path` or `Type` in the `assemply`. This means we end up creating an invalid instance of this file whenever there's a request. Consequently, multiple instances of the script can exist. When a new instance takes over the path, it clears the `path_cache` of the previous instance, leading to undefined behavior.
2024-02-25 22:08:18 +07:00
Markus Sauermann
80d8907f01
Mention how Control focus loss affects Viewport.gui_focus_change
2024-02-25 13:17:54 +01:00
Zi Ye
995bc8d049
Make Skeleton3D::add_bone return the new bone index right away, instead of requiring an additional call to get_bone_count.
2024-02-25 05:24:48 -06:00
Rémi Verschelde
81f3d43cc1
Merge pull request #88785 from KoBeWi/list_cringe
...
Fix inefficient list iteration in Node
2024-02-25 11:50:16 +01:00
Rémi Verschelde
ec901ae16e
Merge pull request #88767 from AThousandShips/string_doc_fix
...
[Doc] Fix GDScript casing of `String.num_scientific`
2024-02-25 11:50:12 +01:00
Rémi Verschelde
83b32f990e
Merge pull request #88733 from ryevdokimov/Remove-word-duplicates
...
Remove word duplicates in comments and strings, and fix casing and punctuation
2024-02-25 11:50:09 +01:00
Rémi Verschelde
a030031408
Merge pull request #88694 from bruvzg/str_checks
...
[macOS] Add null checks for `NSString stringWithUTF8String`.
2024-02-25 11:50:05 +01:00
Rémi Verschelde
e69cdf3680
Merge pull request #87181 from Mickeon/doc-peeves-quaternion-i-keep-misspelling-it
...
Overhaul Quaternion documentation
2024-02-25 11:50:02 +01:00
Rémi Verschelde
d94827a60d
Merge pull request #85905 from bruvzg/win_app_id
...
[Windows] Set application user model ID to prevent editor / running project and different versions of editor taskbar icon stacking.
2024-02-25 11:49:57 +01:00
Rémi Verschelde
ee5ace10b7
Merge pull request #85501 from /remove-packed-scene-cache
2024-02-25 11:49:27 +01:00
Micky
38cd13c51a
Overhaul Quaternion documentation
2024-02-25 01:09:15 +01:00
kobewi
75ba837612
Fix inefficient list iteration in Node
2024-02-24 23:18:44 +01:00
Robert Yevdokimov
967d03ac5c
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-24 13:58:23 -05:00
A Thousand Ships
b384beccc5
[Doc] Fix GDScript casing of String.num_scientific
2024-02-24 17:51:21 +01:00
stoofin
b6c033fc39
Add all Viewport.debug_draw enum options to dropdown
2024-02-23 23:55:01 -08:00
Bastiaan Olij
6fd897973f
OpenXR: Register eye gaze even when disabled
2024-02-24 17:32:58 +11:00