kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Rémi Verschelde
ba0dcf70f1
Merge pull request #91783 from ogapo/pr/gltf-export-fixes
...
GLTF export improvements
2024-05-13 12:05:42 +02:00
David Nikdel
522f035cb1
GLTF export improvements
...
- GLBs produced by godot don't pass validation when there's no data in the buffer segment. The segment is dropped but the size of the chunk_header is still reported in total length (incorrectly)
- Remove empty "extensions" JSON object being appended to all nodes (if it's still empty). This is just cutting down on unnecessary bloat and consistent with the rest of the file's attempts to not emit any keys that are equal to their default value.
- Allow the case where root_nodes is empty. This is permitted by the GLTF spec. Moreover it can happen fairly naturally when using the ROOT_NODE_MODE_MULTI_ROOT root node mode on a scene with only a root node (which is valid in godot).
- Don't create an initial buffer until we're ready to write data into it (buffers of byteLength=0 don't pass validation).
2024-05-11 21:42:05 -04:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
1cf283dd26
Merge pull request #91788 from akien-mga/thorvg-0.13.3
...
thorvg: Update to 0.13.3, add webp loader
2024-05-11 12:38:21 +02:00
Rémi Verschelde
da5714ad6e
Merge pull request #91775 from dsnopek/openxr-composition-layer-viewport-in-use-bug
...
Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor
2024-05-10 09:56:15 +02:00
Rémi Verschelde
d24403d056
Merge pull request #91763 from paulloz/dotnet/fix-stringextension-warnings
...
C#: Fix comparison warnings in `StringExtensions.cs`
2024-05-10 09:56:12 +02:00
Rémi Verschelde
6766404afa
Merge pull request #91745 from timothyqiu/destruct
...
Fix memory leak when ASTC compression fails
2024-05-10 09:56:03 +02:00
Rémi Verschelde
7704457434
Merge pull request #91645 from ZerxZ/dotnet/hint-string-fix
...
Fix C# Hint NodeType and ResourceType HintString
2024-05-10 09:55:54 +02:00
Rémi Verschelde
6fcdd24468
Merge pull request #91624 from Repiteo/scons/native-generation
...
SCons: Generate all scripts natively, implement wrapper function
2024-05-10 09:55:51 +02:00
Rémi Verschelde
b7783a43c5
Merge pull request #91564 from paulloz/huisedenanhai-fix_csharp_method_info
...
CSharpScript should not own method infos of the base class
2024-05-10 09:55:47 +02:00
Paul Joannon
af5f695a99
Fix comparison warnings in `StringExtensions.cs`
2024-05-10 09:42:58 +02:00
Rémi Verschelde
1cf9f37589
thorvg: Update to 0.13.3, add webp loader
...
Remove embedded png loader, we use the external (libpng) one.
2024-05-10 09:30:57 +02:00
David Snopek
a8a7110b90
Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor
2024-05-09 14:05:20 -05:00
Paul Joannon
1d7085571e
CSharpScript should not own base script signals
2024-05-09 13:46:25 +02:00
Haoyu Qiu
a35ff3c737
Fix memory leak when ASTC compression fails
2024-05-09 14:41:35 +08:00
Gaoyao Massimo Hu
06b716d8b3
Fix C# Hint NodeType and ResourceType HintString
2024-05-08 16:22:52 +01:00
Rémi Verschelde
2042420bd7
Merge pull request #91709 from KoBeWi/deawkwarding_labels
...
Improve transition enabled header in interactive music editor
2024-05-08 14:35:48 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
kobewi
a880b2dcba
Improve transition enabled header in interactive music editor
2024-05-08 14:19:11 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive `String::containsn`
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace `find` with `contains/has` where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
9ef50524d0
Merge pull request #91696 from akien-mga/style-file-format
...
Style: Trim trailing whitespace and ensure newline at EOF
2024-05-08 12:31:32 +02:00
Rémi Verschelde
f349418fc0
Merge pull request #91693 from timothyqiu/interactive-editor
...
Fix i18n in AudioStreamInteractive transition editor
2024-05-08 12:31:30 +02:00
Rémi Verschelde
c4cf2a8f90
Merge pull request #91686 from dsnopek/openxr-fix-composition-layers
...
OpenXR: Fix composition layers not having correct play space
2024-05-08 12:31:26 +02:00
Rémi Verschelde
6533c52706
Merge pull request #91670 from paulloz/dotnet/fix-godottools-openvisualstudio
...
C#: Specify a runtime rollforward for OpenVisualStudio
2024-05-08 12:31:23 +02:00
Haoyu Qiu
4a316c4ac8
Fix i18n in AudioStreamInteractive transition editor
...
- Don't translate user-defined clip names.
- Add missing i18n for some UI strings.
- Also fixed error when selecting top-right "From/To" cell.
- Also removed unused header includes.
2024-05-08 17:15:38 +08:00
Rémi Verschelde
7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
...
Found by apply the file_format checks again via #91597 .
2024-05-08 10:12:46 +02:00
David Snopek
de654d9846
OpenXR: Fix composition layers not having correct play space
2024-05-07 20:49:46 -05:00
Thaddeus Crews
34fb3f7730
SCons: Generate all scripts natively
2024-05-07 15:30:45 -05:00
Rémi Verschelde
316b87dc5f
Merge pull request #91485 from dsnopek/openxr-composition-layers-hole-punch
...
OpenXR: Allow composition layers to enable hole punching
2024-05-07 21:52:49 +02:00
Rémi Verschelde
d83586f1e4
Merge pull request #84492 from HolonProduction/reduce-const-arrays
...
Autocompletion: Mark datatype as constant for constant arrays
2024-05-07 21:52:40 +02:00
Paul Joannon
c2d72a691f
Specify a runtime rollforward for OpenVisualStudio
...
Use `LatestMajor`
Fixes #91638
2024-05-07 19:40:25 +02:00
David Snopek
666bf60e36
OpenXR: Allow composition layers to enable hole punching
2024-05-07 10:02:32 -05:00
Rémi Verschelde
ff018079a1
Merge pull request #84706 from HolonProduction/completion-get-child
...
Fix autocompletion after DOLLAR token
2024-05-07 16:49:13 +02:00
Rémi Verschelde
4db9103c2b
Merge pull request #91650 from akien-mga/codespell
...
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Rémi Verschelde
82e77eab35
Merge pull request #91529 from bqqbarbhg/ufbx-warnings
...
FBX: Print ufbx load warnings on import
2024-05-07 13:48:56 +02:00
Rémi Verschelde
e8d5bdd95d
Merge pull request #91528 from bqqbarbhg/ufbx-v0.14.0
...
FBX: Update ufbx to v0.14.0
2024-05-07 13:48:52 +02:00
Rémi Verschelde
0404e3a85e
Merge pull request #84148 from KANAjetzt/fix_crash_take_over_path_named_class
...
Fix crash when extending taken-over named class
2024-05-07 13:48:36 +02:00
bqqbarbhg
5cd7ae198d
Update ufbx to v0.14.0
2024-05-07 14:27:21 +03:00
bqqbarbhg
04db5cf063
Print ufbx load warnings on import
2024-05-07 12:43:48 +03:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
...
Using 2.2.7.dev217+g10c2abcf.
Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
2576addc28
Merge pull request #91636 from akien-mga/miniupnpc-disable-SET_SOCKET_TIMEOUT
...
miniupnpc: Disable socket timeout on Windows, matching upstream
2024-05-07 09:04:51 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Kai
f4192aad6f
Fix crash when extending taken-over named class
...
Added error handling in `_prepare_compilation()` to address cases where the `base_type` cannot be found, preventing a crash.
2024-05-07 08:07:11 +02:00
Rémi Verschelde
f695de7c68
miniupnpc: Disable socket timeout on Windows, matching upstream
...
Fixes #88471 .
2024-05-06 23:30:09 +02:00
A Thousand Ships
86de59d60a
[Core] Add `LocalVector::has` for convenience
2024-05-06 18:03:37 +02:00
huisedenanhai
c313312ff5
CSharpScript should not own method infos of the base class
2024-05-04 18:54:37 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Rémi Verschelde
4313524ae3
Merge pull request #91526 from bqqbarbhg/ufbx-bad-skin-fix
...
FBX: Fix handling missing skins using ufbx importer
2024-05-04 11:52:38 +02:00