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
Rémi Verschelde
c4279fe3e0
Merge pull request #91725 from RandomShaper/cmd_queue_avoid_skip
...
`CommandQueueMT`: Fix sync command awaiters missing the chance
2024-05-09 02:06:34 +02:00
Pedro J. Estébanez
a4014a2f78
CommandQueueMT: Fix sync command awaiters missing the chance
2024-05-08 18:56:58 +02:00
Rémi Verschelde
cff016d6dd
Merge pull request #91714 from DeeJayLSP/qoalen-fix
...
Use data length on QOA checks instead of min size
2024-05-08 18:23:05 +02:00
Rémi Verschelde
4778b24366
Merge pull request #91597 from Repiteo/ci/pre-commit-handle-everything
...
CI: Overhaul static checks to use `pre-commit`
2024-05-08 18:22:59 +02:00
Rémi Verschelde
15d20000fa
Merge pull request #91174 from Calinou/editor-gizmo-icons-tweak-rendering
...
Tweak appearance of 3D editor gizmo icons
2024-05-08 18:22:55 +02:00
Rémi Verschelde
68422ab342
Merge pull request #90913 from RandomShaper/wtp_servers_pro
...
Apply additional fixes to servers' threading
2024-05-08 18:22:48 +02:00
Pedro J. Estébanez
1589433e8f
Apply additional fixes to servers' threading
2024-05-08 17:41:40 +02:00
Pedro J. Estébanez
6f0760beb3
CommandQueueMT: Fix command cleanup (revive destructor call + plus handle buffer realloc)
2024-05-08 17:41:40 +02:00
Pedro J. Estébanez
b834037841
Object: Add missing lock
2024-05-08 17:41:40 +02:00
Pedro J. Estébanez
755c7494c2
OpenGL: Honor separate management of RT's backbuffer FBO and texture upon clear
2024-05-08 17:41:40 +02:00
Pedro J. Estébanez
fc08eca524
DisplayServer: Avoid deadlocks while issuing input events and recursive main loop iterations
2024-05-08 17:41:40 +02:00
Thaddeus Crews
df969ff742
CI: Overhaul static checks to use pre-commit
2024-05-08 10:30:24 -05:00
Hugo Locurcio
e52c9cd9f1
Tweak appearance of 3D editor gizmo icons
...
- Use alpha scissor to resolve transparency sorting issues with gizmo
icons relative to other transparent materials in the scene.
This also makes gizmos visible in `screen_texture`, which means
gizmos can now be seen through refractive materials.
Lastly, this reduces the amount of artifacts visible around gizmo
outlines (although they are still present at times).
- Make icons darker when not selected to be less intrusive
(and easier to distinguish when selected).
2024-05-08 17:13:14 +02:00
DeeJayLSP
97a70cbd6e
Use data length on QOA checks instead of min size
2024-05-08 12:05:21 -03: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
Rémi Verschelde
1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
...
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde
b8255b148f
Merge pull request #91555 from AlexanderFarkas/master
...
Remove error messages caused by Save on Focus feature
2024-05-08 14:35:37 +02:00
Rémi Verschelde
2c8a1f0c77
Merge pull request #91544 from MewPurPur/add-translation-server-note
...
Add notes in Object documentation about TranslationServer methods
2024-05-08 14:35:33 +02:00
Rémi Verschelde
0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
...
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
Rémi Verschelde
2fb9da093b
Merge pull request #91708 from KoBeWi/imagine_testing_your_changes 🙄
...
Revert `as_sortable_control()` change in SplitContainer
2024-05-08 14:35:20 +02:00
kobewi
a880b2dcba
Improve transition enabled header in interactive music editor
2024-05-08 14:19:11 +02:00
kobewi
eb570463a2
Revert as_sortable_control() change in SplitContainer
2024-05-08 13:36:49 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn
2024-05-08 12:48:01 +02:00
AlexanderFarkas
bc19b79776
Remove error messages caused by Save on Focus feature
...
Fixes #73765 .
2024-05-08 13:42:45 +03: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
281fe39929
Merge pull request #91699 from KoBeWi/buff_tree_folding
...
Fold TreeItems when clicking to the left of fold icon
2024-05-08 12:31:39 +02:00
Rémi Verschelde
a7f4860b72
Merge pull request #91698 from bruvzg/mingw_exe_size
...
[MinGW] Restore executable size check.
2024-05-08 12:31:36 +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
Rémi Verschelde
8debe8d859
Merge pull request #91613 from KoBeWi/unified_sort_of_control
...
Add `as_sortable_control()` to unify Container checks
2024-05-08 12:31:16 +02:00
kobewi
5c28814b39
Add as_sortable_control() to unify Container checks
2024-05-08 11:45:52 +02:00
bruvzg
15d37ed2a8
[MinGW] Restore executable size check.
2024-05-08 12:43:02 +03:00
kobewi
9bc5a85b2b
Fold TreeItems when clicking to the left of fold icon
2024-05-08 11:30:26 +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
Rémi Verschelde
17a81260cb
Merge pull request #91684 from Chubercik/embree4_aftermath
...
Fix `builtin_embree=no` build linking the wrong version of Embree
2024-05-08 09:54:24 +02:00
Rémi Verschelde
4c30718102
Merge pull request #91615 from Frozenfire92/remap-doc-nan-note
...
Add docs note about remap returning undefined when istart == istop
2024-05-08 09:54:20 +02:00
Rémi Verschelde
63ed5749ac
Merge pull request #91104 from RandomShaper/simple_type_cpp
...
Redefine `GetSimpleTypeT<>` in terms of `<type_traits>`
2024-05-08 09:54:16 +02:00
Rémi Verschelde
4509404ed8
Merge pull request #90162 from YeldhamDev/pot_future_proof
...
Improve string extraction of ETR POT file
2024-05-08 09:54:03 +02:00
David Snopek
de654d9846
OpenXR: Fix composition layers not having correct play space
2024-05-07 20:49:46 -05:00
Michael Alexsander
7bdae7559d
Improve string extraction of ETR POT file
2024-05-07 22:12:40 -03:00
Haoyu Qiu
9c7e4031c0
Merge pull request #91687 from akien-mga/ci-web-emscripten-3.1.59
...
CI: Use Emscripten 3.1.59 for Web platform
2024-05-08 09:01:16 +08:00
Rémi Verschelde
8ee0851816
CI: Use Emscripten 3.1.59 for Web platform
...
Works around CI failure due to mismatch between current emsdk and older releases.
2024-05-08 01:10:23 +02:00
Rémi Verschelde
a65cc6b62a
Merge pull request #91678 from KoBeWi/quackernion 🦆
...
Fix temporary Euler when editing quaternion
2024-05-08 00:41:42 +02:00
Jakub Marcowski
7699d678c4
Fix builtin_embree=no
build linking the wrong version of Embree
2024-05-08 00:40:45 +02:00
Joel Kuntz
26feefa91c
Add notes for remap's return when istart and istop are the same
...
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-05-07 19:37:29 -03:00