Yuri Sizov
391eccca76
Validate code tags in documentation for potential params
...
Adds a check to make_rst to look for matches
between the text inside of the [code][/code] tag
and known param identifiers.
Fixes most of what was revealed.
2023-04-26 21:36:04 +02:00
Lasuch
0de6ad6a71
Add NoiseTexture3D
2023-04-26 20:00:18 +02:00
Yuri Sizov
26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
...
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
Ninni Pipping
f68beeb7fa
Improvements to GDScript identifier tokenization
2023-04-26 16:29:04 +02:00
George Marques
221deb1cc1
GDScript: Use default path in test generator if not provided
...
Since it's almost always used with the same path, assume it is running
from the Godot source root.
2023-04-26 11:12:47 -03:00
George Marques
abbdf80643
GDScript: Don't fail when freed object is return
...
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.
2023-04-26 10:57:22 -03:00
Rémi Verschelde
e1075e9c7c
Fix various typos with codespell
...
Also includes the grammar fix from #76206 .
Co-authored-by: Peter Anderson <BWPanda@users.noreply.github.com>
2023-04-26 13:57:09 +02:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
...
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
Rémi Verschelde
45cd5dcad3
Merge pull request #75885 from AThousandShips/compound_fix
...
[GDScript] Fix incorrect compound assignment
2023-04-25 16:17:02 +02:00
Rémi Verschelde
efb42c3101
Merge pull request #75447 from bruvzg/brotli_packedarray
...
Expose brotli decompression to the scripting API.
2023-04-25 16:16:56 +02:00
Rémi Verschelde
a98997bb45
Merge pull request #76404 from sodaJar/gdrep
...
Fix wrong file name on function call error
2023-04-25 10:00:19 +02:00
Rémi Verschelde
15d952147c
Merge pull request #74101 from RandomShaper/fix_gds_obj_temps
...
Fix edge cases of object lifetime when signals involved
2023-04-25 09:58:17 +02:00
Rémi Verschelde
be00dcd724
Merge pull request #73656 from TokageItLab/expose-3d-tracks
...
Expose interpolation methods for 3D track in `Animation` class
2023-04-25 09:57:52 +02:00
Rémi Verschelde
d5b8a0fc37
Merge pull request #69266 from aaronfranke/gltf-physics
...
Implement physics support in the GLTF module
2023-04-25 09:56:58 +02:00
Silc Renew
fac8a918f9
Expose interpolation methods for 3D track in Animation class
2023-04-25 01:45:14 +09:00
Rémi Verschelde
d45c6fd591
Merge pull request #76095 from adamscott/fix-rename-lsp-variables
...
[LSP] Fix GDScript inner method variable rename
2023-04-24 16:44:44 +02:00
Rémi Verschelde
54b0e8123e
Merge pull request #75605 from anvilfolk/type-base
...
Make GDScript type not found errors more informative.
2023-04-24 16:43:32 +02:00
sodaJar
464a299d2e
Fix wrong file on function call error
2023-04-24 15:30:51 +02:00
Adam Scott
10fe6f14bb
Fix GDScript LSP variable rename
2023-04-22 14:35:34 -04:00
ocean (they/them)
6783ff69c0
Improve and fix GDScript documentation generation & behavior
...
Removes documentation generation (docgen) from the GDScript compiler to
its own file. Adds support for GDScript enums and signal parameters and
quite a few other assorted fixes and improvements.
2023-04-21 10:17:30 -04:00
Rémi Verschelde
4abb7a6bac
Merge pull request #76288 from RedworkDE/net-glue-no-doccache
...
C#: Do not use DocCache when generating glue code
2023-04-20 18:09:10 +02:00
Rémi Verschelde
bf62af334b
Merge pull request #76286 from MystMagus/gdscript-mixed-tabs-and-spaces-fix
...
Fix for mixed tabs and spaces in gdscript
2023-04-20 18:08:47 +02:00
RedworkDE
692ad70fd7
C#: Do not use DocCache when generating glue code
2023-04-20 15:35:14 +02:00
MistMage
fecbc12d17
Fix for mixed tabs and spaces in gdscript
2023-04-20 12:08:23 +02:00
Danil Alexeev
dbc3c82043
GDScript: Add some checks for @tool
and @icon
2023-04-20 07:44:10 +03:00
Yuri Sizov
8a74d8438f
Extract editor run toolbar into its own component
...
- Simplify and update its logic.
- Simplify EditorScript.
- Improve EditorNode and other relevant includes.
- Fix scene-based path in the movie writer when
reloading a scene.
2023-04-19 17:12:28 +02:00
Rémi Verschelde
1b4b8934e0
Merge pull request #76212 from smix8/fix_heightmap_navmesh_4,x
...
Fix NavigationMesh baking for HeightMapShape
2023-04-18 23:41:44 +02:00
Rémi Verschelde
5bb46d6064
Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
...
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
smix8
71c453a426
Fix NavigationMesh baking for HeightMapShape
...
Fixes NavigationMesh baking for HeightMapShape.
2023-04-18 20:39:43 +02:00
Yuri Sizov
06f5b09ca4
Merge pull request #72896 from RedworkDE/net-include-scripts-export-option
2023-04-18 18:32:01 +02:00
Yuri Sizov
f3033da97d
Merge pull request #76170 from HolonProduction/string-highlight
...
Fix multi-line string highlighting with single quotes.
2023-04-18 18:01:02 +02:00
Yuri Sizov
9882af4880
Merge pull request #76197 from dalexeev/fix-error-macro-misuses
...
Fix misuses of error macros
2023-04-18 16:11:37 +02:00
Yuri Sizov
e31d391d56
Merge pull request #76090 from adamscott/fix-typo-lsp-parse-func-parameters
...
[LSP] Fix typo in parse function parameters
2023-04-18 15:57:08 +02:00
Yuri Sizov
be104df1c7
Merge pull request #66600 from RedMser/rich-text-effect-template
...
Add GDScript template for RichTextEffect
2023-04-18 14:42:52 +02:00
RedworkDE
34b4128004
C#: Make include scripts contents an export option
2023-04-18 14:27:15 +02:00
RedMser
2330ffb5a1
Add GDScript template to RichTextEffect
2023-04-18 14:02:04 +02:00
Kevin Simpson
c2b97ec1f7
Add the ability to set a custom C# editor
...
This allows users to still use the built-in Godot editor for GDScript.
2023-04-18 13:55:08 +02:00
Danil Alexeev
36bedd341a
Fix misuses of error macros
2023-04-18 10:20:48 +03:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Yuri Sizov
6596a6c1b5
Merge pull request #72979 from dalexeev/gds-annotation-parsing
...
GDScript: Fix and improve annotation parsing
2023-04-17 17:14:58 +02:00
Yuri Sizov
d220680bd0
Merge pull request #62830 from ajreckof/access-identifier-keywords
...
fix access to identifiers that are reserved keywords
2023-04-17 17:12:10 +02:00
HolonProduction
bdb7045e2c
Fix multi-line string highlighting with single quotes.
2023-04-17 15:58:39 +02:00
Adam Scott
879791e305
Fix typo when parsing LSP function parameters
2023-04-15 09:05:53 -04:00
ajreckof
ab9f60dd1a
fix access to identifiers that are reserved keywords
2023-04-14 20:37:24 +02:00
Danil Alexeev
5038a336be
GDScript: Fix and improve annotation parsing
2023-04-14 21:28:46 +03:00
Yuri Sizov
a7276f1ce0
Merge pull request #75691 from dalexeev/gds-fix-signature-generation
...
GDScript: Misc fixes and improvements for signature generation
2023-04-14 20:01:27 +02:00
Yuri Sizov
afca0b8fdd
Merge pull request #75879 from dalexeev/gds-fix-extends-crash
...
GDScript: Add missing member type check when resolving `extends`
2023-04-14 13:21:54 +02:00
Ninni Pipping
e5365da03c
[GDScript] Fix incorrect compound assignment
...
Reverts in-place compound assignments
Added test to ensure correctness
2023-04-14 11:28:44 +02:00
Rémi Verschelde
a19db2b037
Merge pull request #75990 from capnm/Fix_blend_shape_empty_names
...
Fix blend_shape (shapekey) empty name import.
2023-04-13 09:54:42 +02:00
Rémi Verschelde
ab5fab922e
Merge pull request #67608 from ScorpionInc/Add_BMP_16bpp_Support
...
Adds 16bpp support for BMP File Format
2023-04-13 09:52:15 +02:00
ScorpionInc
e74a0eff16
Adds some basic 16BPP BMP Support.
...
This commit adds some basic 16bpp support for BMP File Format.
Added support for reading and using of 16 bit mask values from file. All values are scaled to ARGB255 format based on bit depth of source color channel.
Removed warning, it's no longer required as 16 bit with alpha bit(s) are now supported.
Adjusted spacing, added spacing and brackets to make clang static check happy.
2023-04-12 19:27:23 -04:00
Martin Capitanio
8b6fa79eee
Fix blend_shape (shapekey) empty name import.
...
Corresponds to the Blender glTF-Importer PR
https://github.com/KhronosGroup/glTF-Blender-IO/pull/1902
2023-04-12 16:37:49 +02:00
Rémi Verschelde
fb3e4e7967
Merge pull request #75975 from bruvzg/bidi_and_log_errors
...
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 13:28:12 +02:00
bruvzg
282e4231c2
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 11:39:05 +03:00
bruvzg
d904516e55
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 10:08:51 +03:00
Rémi Verschelde
ab7cb2a95d
Merge pull request #72938 from dsnopek/webxr-frame-rate
...
[WebXR] Add support for getting and setting display refresh rate
2023-04-11 22:56:06 +02:00
Rémi Verschelde
fa2fdefc17
Merge pull request #75922 from bruvzg/bidi_error_handling
...
[TextServer] Improve BiDi error handling.
2023-04-11 19:40:56 +02:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
...
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
Rémi Verschelde
1eec25acf3
Merge pull request #73558 from Malcolmnixon/render-target-size-multiplier
...
Added render target size multiplier option
2023-04-11 19:40:02 +02:00
Adam Scott
1236302388
Add missing script_type
nullptr
check
...
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2023-04-11 12:36:28 -04:00
Pedro J. Estébanez
2f4168daeb
Fix edge cases of object lifetime when signals involved
2023-04-11 17:27:39 +02:00
Gonçalo Vasconcelos
b74d4f45bb
C#: Add Basis.LookingAt
2023-04-11 16:05:35 +01:00
George Marques
59b8c70007
GDScript: Don't use pool for reference types
...
Since they need to be properly initialized and finalized to adjust the
reference counter.
2023-04-11 16:46:31 +02:00
Fabio Alessandrelli
4ab0b38940
Merge pull request #75850 from rsubtil/bugfix-lsp_dap_connection_poll
...
Poll LSP/DAP clients for connection status updates
2023-04-11 10:19:24 +02:00
bruvzg
d8d88e1530
[TextServer] Improve BiDi error handling.
2023-04-11 10:07:00 +03:00
Danil Alexeev
66279b98b6
GDScript: Add missing member type check when resolving extends
2023-04-10 17:16:07 +03:00
Yuri Sizov
78e2479ef9
Merge pull request #75737 from MewPurPur/ 🐁 da 🐁
...
Fix mistakes in documentation and GDScript errors
2023-04-10 14:10:43 +02:00
Yuri Sizov
5243f5cece
Merge pull request #72152 from smix8/mcd_settings_4.x
...
Add Mesh ConvexDecompositionSettings wrapper
2023-04-10 12:52:23 +02:00
VolTer
f832eb92e4
Fix mistakes in documentation and GDScript errors
2023-04-10 10:00:09 +02:00
Ricardo Subtil
4be4eeea3a
Poll LSP/DAP clients for connection status updates
2023-04-09 12:36:01 +01:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
RedworkDE
27124ed8e5
C#: Discontinue GodotNuGetFallbackFolder
2023-04-07 19:22:43 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Danil Alexeev
9df96e97ea
GDScript: Misc fixes and improvements for signature generation
...
* Use type hints for `@GlobalScope` enums.
* Use plain `int` for `BitMask<T>`.
* Fix type hints for typed arrays.
* Use `Variant` and `void` type hints.
* Discard unnecessary class prefix.
2023-04-07 10:43:21 +03:00
Dmitrii Maganov
5dc717c5fd
GDScript: Fix unnecessary duplication of pointed out lines
2023-04-06 06:12:32 +03:00
Rémi Verschelde
b63c77aceb
Merge pull request #75034 from capnm/Fix_tvg_Picture_size
...
SVG: fix tvg::Picture->size() and scale based errors.
2023-04-05 20:21:04 +02:00
Martin Capitanio
bfc498f3d0
SVG: fix tvg::Picture->size() and scale based errors.
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-04-05 19:15:21 +02:00
bendn
ca0feabbb0
add hex_decode()
to String
2023-04-05 19:44:00 +07:00
Rémi Verschelde
44d539465a
Merge pull request #75675 from bruvzg/tvg_store_string
...
[SVG Font] Keep a copy of UTF-8 XML source string during the whole SVG processing.
2023-04-05 12:03:37 +02:00
Rémi Verschelde
4f4b5a2785
Merge pull request #73475 from YuriSizov/theme-is-busy-plz-come-back-later
...
Add a warning when accessing theme prematurely and fix surfaced issues
2023-04-05 12:03:15 +02:00
bruvzg
19179238fa
[SVG Font] Keep a copy of UTF-8 XML source string during the whole SVG processing.
2023-04-05 09:25:20 +03:00
Yuri Sizov
ba27db36e9
Merge pull request #75540 from Araraura/patch-1
...
Fix typo and slightly reword in @GDScript.xml
2023-04-03 18:14:38 +02:00
Yuri Sizov
9b500ab53c
Fix premature theme item access in editor tools
2023-04-03 18:01:11 +02:00
Rémi Verschelde
38094dfc4a
Merge pull request #74558 from smix8/navserver_real_t_4.x
...
Fix NavigationServer internals still using float instead of real_t
2023-04-03 16:00:42 +02:00
Pedro J. Estébanez
abc13dbd0b
Update HarfBuzz to 7.1.0
2023-04-03 09:13:48 +02:00
ocean (they/them)
5d164df4e1
Make type not found errors more informative.
...
This PR removes a check for whether a datatype is a meta type when
generating a datatype's to_string() result. This means that error
messages that fail to find the type will now print their class names,
which is much more useful when trying to identify errors.
2023-04-02 18:30:30 -04:00
smix8
184427196f
Fix NavigationAgent enable avoidance crash
...
Fixes NavigationAgent enable avoidance crash.
2023-04-01 12:52:15 +02:00
Araraura
e1c0df7048
Fix typo and slightly reword in @GDScript.xml
...
Fix "the every following property" to "then every following property" and change "is added" to "will be added".
2023-03-31 20:30:29 +00:00
Yuri Sizov
ce03630f34
Merge pull request #75477 from kleonc/csharp-fix-vector234i-from-floats-creation
...
C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
2023-03-31 13:01:48 +02:00
Yuri Sizov
8f6ce4c8f9
Merge pull request #71049 from alexdlm/dotnet-generator-selective-disable
...
Add fine-grained disabling of SourceGenerators
2023-03-31 12:56:03 +02:00
kleonc
f53d3382af
C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
2023-03-31 10:59:11 +02:00
Yuri Sizov
dbf1a7277f
Merge pull request #75357 from Redwarx008/fix-Godot.Collections.Array.AddRange-index-out-of-bounds
...
C#: Fix `Array.AddRange` index out of bounds
2023-03-30 18:37:37 +02:00
Yuri Sizov
c24d9823e3
Merge pull request #74552 from maiself/scene-repl-config-lists-fix
...
Fixups to list handling in SceneReplicationConfig
2023-03-30 18:27:16 +02:00
bruvzg
0e4bd964cc
Expose brotli decompression to the scripting API.
2023-03-29 22:43:36 +03:00
Yuri Sizov
e4eac1c734
Merge pull request #74928 from BastiaanOlij/fix_typo_pose_orientation
...
Fix typo in OpenXR pose orientation check
2023-03-29 16:24:12 +02:00
Dmitrii Maganov
8655d979a1
GDScript: Allow elements of a parent class in a typed array literal
2023-03-28 13:47:24 +03:00
Yuri Sizov
7d8398996c
Merge pull request #75304 from Calinou/gridmap-editor-change-floor-ctrl-only
...
Only change floors in GridMap editor when holding Ctrl/Cmd, not Shift
2023-03-27 16:03:26 +02:00
Redwarx008
eb1fb254a6
C#: Fix Array.AddRange index out of bounds
...
Fix Array.AddRange index out of bounds
2023-03-27 21:55:06 +08:00
Yuri Sizov
7ef4ada3a6
Merge pull request #75286 from AThousandShips/csharp_shadow
...
Fix "hides member" warnings in `csharp_script.cpp`
2023-03-25 16:15:25 +01:00
Yuri Sizov
d20c520d96
Merge pull request #74848 from BastiaanOlij/add_xr_system_info
...
Add a get_system_info method to XRInterface
2023-03-25 15:07:51 +01:00
Ninni Pipping
ff5d8c4a42
Fix "hides member" warnings in csharp_script.cpp
2023-03-25 14:44:12 +01:00
Hugo Locurcio
b78623dae6
Only change floors in GridMap editor when holding Ctrl/Cmd, not Shift
...
The Shift modifier frequently interfered with freelook's speed modifier,
which led to the floor level being accidentally changed.
2023-03-25 03:57:37 +01:00
Alex de la Mare
8ab3295e57
Add fine-grained disabling of SourceGenerators
...
This allows manual testing and/or alternate source generators to
provide functionality without conflict.
2023-03-25 13:46:12 +11:00
RedworkDE
42cf684837
C#: Do not print errors about missing references to intentionally ignored members
2023-03-24 20:21:55 +01:00
smix8
cc02007e30
Fix GridMap free navigation RID error spam
...
Fixes GridMap free navigation RID error spam.
2023-03-21 12:19:36 +01:00
Yuri Sizov
66ff25a3ec
Merge pull request #74893 from smix8/fix_agents_with_disabled_avoidance_4.x
...
Fix agents with disabled avoidance getting added to avoidance simulation
2023-03-21 12:06:22 +01:00
Yuri Sizov
58b803cb94
Merge pull request #74890 from smix8/gridmap_cell_size_disconnect_error_4.x
...
Fix GridMap signal "cell_size_changed" disconnect error
2023-03-21 12:04:03 +01:00
AleryBerry
0550f3682b
GDScript: Fix error message for Lua-style dictionary
2023-03-20 21:45:06 +00:00
Yuri Sizov
a008a06fcb
Merge pull request #72056 from resistor/master
...
[GDScript] Perform update-and-assign operations in place when possible.
2023-03-20 19:16:30 +01:00
Yuri Sizov
215893ebca
Merge pull request #74949 from dalexeev/gds-fix-await-warning
...
GDScript: Fix false positive `REDUNDANT_AWAIT` warning
2023-03-20 19:14:15 +01:00
Yuri Sizov
5461b9976c
Merge pull request #74844 from vonagam/change-class-extends-parsing
...
GDScript: Change parser representation of class extends
2023-03-20 19:13:23 +01:00
Yuri Sizov
a5f34744a2
Merge pull request #74842 from vonagam/fix-builtin-shadow
...
GDScript: Fix missing warning for shadowing of built-in types
2023-03-20 19:10:13 +01:00
Yuri Sizov
5cb37b725d
Merge pull request #75110 from Calinou/doc-color8
...
Improve Color8 documentation
2023-03-20 15:27:46 +01:00
bruvzg
09465f3fe6
Remove (or make verbose only) various debug prints.
2023-03-20 08:14:18 +02:00
Hugo Locurcio
4e4555bea5
Improve Color8 documentation
...
This documents in which situations Color8 is most suited and its
precision limitations.
2023-03-19 17:42:15 +01:00
Dmitrii Maganov
5d0b183822
GDScript: Allow usage of literal false in assert without a warning
2023-03-17 05:37:56 +02:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
...
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
Danil Alexeev
c0eeb32e38
GDScript: Fix false positive REDUNDANT_AWAIT
warning
2023-03-16 14:04:14 +03:00
Yuri Sizov
dd8841a8ec
Merge pull request #74892 from BastiaanOlij/fix_hw_srgb_conversion
...
XR: When an sRGB target is used, check hardware sRGB conversion
2023-03-16 11:59:50 +01:00
Bastiaan Olij
a1a52c5ba1
XR: When an sRGB target is used, check hardware sRGB conversion
2023-03-16 17:20:51 +11:00
Haoyu Qiu
57d4272984
Fix typos and inconsistencies in classref
2023-03-16 14:10:20 +08:00
Yuri Sizov
b5845f87fc
Merge pull request #74556 from AThousandShips/text_adv_svg_freetype
...
[TextServer] Make sure Freetype is enabled for ot-svg
2023-03-15 15:04:01 +01:00
Yuri Sizov
c981a305a5
Merge pull request #73144 from chutchinson/bug/openxr-init-alert-dialog
...
Replaced OpenXR operating system alert dialog with a warning log message
2023-03-15 14:07:05 +01:00
Bastiaan Olij
e15358dc67
Fix incorrect HTC action map entries
2023-03-15 14:11:13 +11:00
Bastiaan Olij
cdd9de28a8
Fix typo in OpenXR pose orientation check
2023-03-15 13:40:44 +11:00
Bastiaan Olij
e31c2e4277
Add a get_system_info method to XRInterface
2023-03-15 13:11:48 +11:00
smix8
d8bad3eef5
Fix GridMap signal "cell_size_changed" disconnect error
...
Fixes GridMap signal "cell_size_changed" disconnect error.
2023-03-14 04:21:37 +01:00
smix8
64ce93cee9
Fix agents with disabled avoidance getting added to avoidance simulation
...
Fixes that agents with disabled avoidance were getting added to avoidance simulation.
2023-03-14 04:20:57 +01:00
Dmitrii Maganov
4e34cf238a
GDScript: Change parser representation of class extends
2023-03-13 01:40:13 +02:00
Dmitrii Maganov
703274fd04
GDScript: Fix missing warning for shadowing of built-in types
2023-03-13 00:49:34 +02:00
Zac Luzader
d3b26b3261
OpenXR: Enable access to the Valve Index grip force sensing
2023-03-12 07:55:25 -06:00
Rémi Verschelde
567dc78e62
Merge pull request #74689 from vonagam/fix-autocomplete-after-type-test
...
GDScript: Fix autocomplete inside a block with a type test condition
2023-03-10 22:47:55 +01:00
George Marques
d76b3f2a4c
GDScript: Allow boolean operators between any types
...
To make consistent with previous behavior. Mostly to be used in
conditions for `if` and `while`.
2023-03-10 16:01:17 -03:00
Rémi Verschelde
fcbb3e6388
Merge pull request #74702 from bruvzg/ts_inv_font_metrics
...
[TextServer] Add invalid font scaling check, restrict Linux/BSD system fonts lookup to TrueType/CFF only.
2023-03-10 14:06:14 +01:00
Rémi Verschelde
aadd2c43a1
Merge pull request #74565 from YuriSizov/theme-scripted-styleboxes-rejoice
...
Prevent crashing on startup if project has scripted theme types
2023-03-10 14:03:07 +01:00
bruvzg
8d501a2dc3
[TextServer] Add invalid font scaling check, restrict Linux/BSD system fonts lookup to TrueType/CFF only.
2023-03-10 09:36:17 +02:00
Aaron Franke
639b8e7dc7
Implement physics support in the GLTF module
2023-03-09 20:02:05 -06:00
Dmitrii Maganov
e289a4ab2c
GDScript: Fix autocomplete inside a block with a type test condition
2023-03-09 23:53:27 +02:00
Rémi Verschelde
b201db0cc1
Merge pull request #74638 from timothyqiu/typora
...
Fix various typos in the classref
2023-03-09 12:21:09 +01:00
Haoyu Qiu
03fcac3aa5
Fix various typos in the classref
2023-03-09 14:56:23 +08:00
Yuri Sizov
496bd94c21
Prevent cache corruption when saving resources in the editor
2023-03-08 19:46:55 +01:00
Yuri Sizov
8402927d3f
Prevent crashing on startup if project has scripted theme types
...
Also avoid order of operation conflicts by moving C# binding generation hook to main.cpp
2023-03-08 11:17:21 +01:00
Rémi Verschelde
9eaaeef76d
Merge pull request #73410 from MewPurPur/Fixin-error-spam-2-Electric-Boogaloo
...
Fix error spam when naming a func at the end of the script
2023-03-08 08:54:57 +01:00
VolTer
07dd627728
Fix error spam when naming a func at the end of the script
2023-03-07 23:42:40 +01:00
smix8
217a27014b
Fix NavigationServer internals still using float instead of real_t
...
Fixes that some NavigationServer internals still used float instead of real_t in some parts.
2023-03-07 22:10:48 +01:00
Ninni Pipping
3a5d7a4b54
[TextServer] Make sure Freetype is enabled for ot-svg
2023-03-07 16:27:24 +01:00
Mai Lavelle
74edbdd4bc
Fixups to list handling in SceneReplicationConfig
...
Wrong paths were being inserted leading to duplicates / missed properties.
2023-03-07 09:41:42 -05:00
Rémi Verschelde
13ad374102
Merge pull request #74496 from juliuse98/master
...
Fix blend-file import when using custom color management in blender
2023-03-07 08:39:43 +01:00
Rémi Verschelde
eb60042fad
Merge pull request #74477 from bruvzg/jst_punct
...
[TextServer] Fix justification on punctuation characters.
2023-03-07 08:39:20 +01:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
juliuse98
7a0d12182e
Fix blend-file import when using custom color management in blender
...
When using custom color management in blender the --version command will
output additional information infront of the "normal" output and this
prevented the import.
Fixes #74439 .
2023-03-06 22:36:03 +01:00
RedworkDE
6019f497b8
C#: Fix building projects for MSBuild before 17.3
2023-03-06 17:58:20 +01:00
bruvzg
016b2f3555
[TextServer] Fix justification on punctuation characters.
2023-03-06 12:39:08 +02:00
Rémi Verschelde
6941ffaef3
Merge pull request #74293 from akien-mga/fbx-dialog-disable-importer
...
FBX: Disable importer when canceling FBX2glTF setup
2023-03-06 10:55:21 +01:00
Rémi Verschelde
d35aa6a39b
Merge pull request #74433 from smix8/fix_server_free_error_msg_4.x
...
Fix NavigationServer free error print
2023-03-06 10:52:04 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00
Hakim
e14fa5532b
Get the unlit / unshaded extension when importing GLTF and set it when exporting
2023-03-05 22:34:04 +01:00
Danil Alexeev
ea5fd3d732
Fix GDScript code style regarding colon
2023-03-05 17:03:20 +03:00
smix8
73dc680fc1
Fix NavigationServer free error print
...
Fixes error print for NavigationServer free when a RID can not be found.
2023-03-05 14:11:35 +01:00
Rémi Verschelde
5dccc940e7
Merge pull request #74375 from raulsntos/dotnet/ignore-explicit-interface-implementations
...
C#: Ignore explicit interface implementations
2023-03-05 13:39:45 +01:00
Rémi Verschelde
b2622218f9
Merge pull request #74330 from aleksrutins/csharp-identifier-validation
...
Ensure that C# script names (and therefore class names) are valid identifiers
2023-03-05 13:29:26 +01:00
Rémi Verschelde
afc9d381d5
Merge pull request #74312 from raulsntos/dotnet/godot-project-dir-base64
...
C#: Encode GodotProjectDir as Base64 to prevent issues with special characters
2023-03-05 13:28:14 +01:00
Rémi Verschelde
dd1b158ff3
Merge pull request #74280 from RedworkDE/net-get-singleton-core-name
...
C#: Get singleton instances using the Core name
2023-03-05 13:26:21 +01:00
Rémi Verschelde
a0134f7fbc
Merge pull request #74147 from vonagam/fix-call-await-check-in-compiler
...
GDScript: Fix checking if a call is awaited in compiler
2023-03-05 13:23:27 +01:00
Raul Santos
f949e94991
C#: Encode GodotProjectDir as Base64 to prevent issues with special characters
2023-03-04 23:33:30 +01:00
Raul Santos
0372bd56b6
C#: Ignore explicit interface implementations
2023-03-04 19:16:48 +01:00
Aleks Rutins
ae8752a731
Validate that C# class names are valid identifiers
2023-03-04 10:30:40 -05:00
RedworkDE
16a2a164fe
C#: Get singleton instances using the Core name
2023-03-03 16:30:18 +01:00
Rémi Verschelde
d81e6ee024
FBX: Disable importer when canceling FBX2glTF setup
...
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319 .
2023-03-03 13:53:03 +01:00
Rémi Verschelde
326c0f324a
Merge pull request #74184 from MewPurPur/fix-number-highlighting-in-wrong-places
...
Make GDScript Number highlighting stricter
2023-03-03 11:07:04 +01:00
Rémi Verschelde
eaca689118
Merge pull request #74167 from aaronfranke/gltf-node-doc
...
Document GLTFNode and some of GLTFState
2023-03-03 11:06:39 +01:00
Rémi Verschelde
a8d2e7f342
Merge pull request #73987 from bruvzg/ft_lock
...
[TextServer] Add mutex for FreeType face creation/deletion operations.
2023-03-03 11:04:07 +01:00
Rémi Verschelde
7e142e04f5
Merge pull request #73669 from bruvzg/icu_static_data
...
[TextServer] Ensure ICU data is initialised only one and cleaned only at exit.
2023-03-02 11:26:02 +01:00
Rémi Verschelde
1c39cc5ff8
Merge pull request #74018 from Abdul-AZ/master
...
Fix glTF mesh importer not freeing nodes correctly on import
2023-03-02 11:24:39 +01:00
Rémi Verschelde
526f115752
Merge pull request #73904 from raulsntos/dotnet/tools-popup
...
C#: Always show "Create C# solution" option
2023-03-02 11:22:59 +01:00
Rémi Verschelde
880247ad54
Merge pull request #74127 from RedworkDE/net-debug-crash
...
C#: Fix crash when errors occur before language initialization.
2023-03-02 11:20:26 +01:00
VolTer
952703d921
Make GDScript number highlighting stricter
2023-03-01 21:27:32 +01:00
Aaron Franke
2cc22fb964
Document GLTFNode and some of GLTFState
2023-03-01 10:25:23 -06:00
Dmitrii Maganov
55a2ad25bf
GDScript: Fix checking if a call is awaited in compiler
2023-03-01 09:31:35 +02:00
bruvzg
8459aeaab0
[Font] Implement get_char_from_glyph_index
function.
2023-03-01 09:29:11 +02:00
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
RedworkDE
c0ebc28136
C#: Fix crash when errors occur before language initialization.
2023-03-01 00:00:33 +01:00
Rémi Verschelde
491ded1898
Minor typo and docs URL fixes
2023-02-28 13:38:01 +01:00
George Marques
5b49382d38
GDScript: Fix wrong increment for disassembly of lambda
2023-02-27 11:19:22 -03:00
Rémi Verschelde
ec8475af5e
Merge pull request #74028 from voidedWarranties/scriptlanguage_unused
...
Remove unused `ScriptLanguage` methods
2023-02-27 08:31:01 +01:00
Rémi Verschelde
745e994fc0
Merge pull request #74010 from lyuma/fix_last_basis_lod
...
Loop over the last mipmap lod in basis universal
2023-02-27 08:25:01 +01:00
voidedWarranties
bd5ab9f9b4
Remove unused ScriptLanguage
methods
2023-02-26 22:30:56 -08:00
Abdulrahman Al Zeidi
5e0641ea9a
Fix glTF mesh importer not freeing nodes correctly on import
2023-02-27 02:44:23 +00:00
Lyuma
0addf38047
basisu: Loop over the last mipmap lod
2023-02-26 16:01:54 -08:00
Aaron Franke
9a031806bd
GLTF: Delete unused skeleton_to_node
2023-02-26 15:16:31 -06:00
Rémi Verschelde
35557e4410
Merge pull request #73990 from bruvzg/ts_dext_fix
...
Fix text server GDExtension build.
2023-02-26 21:38:00 +01:00
Rémi Verschelde
30884ee3cc
Merge pull request #73948 from V-Sekai/mip-map-basisu
...
Fix basisu texture mipmaps
2023-02-26 20:26:01 +01:00
Rémi Verschelde
c0f1ed57c4
Merge pull request #73915 from vonagam/fix-conversions-from-native-member
...
GDScript: Fix conversions from native members accessed by identifier
2023-02-26 19:02:27 +01:00
bruvzg
bbc77b6d29
Fix text server GDExtension build.
2023-02-26 18:38:22 +02:00
bruvzg
c950a1ab94
[TextServer] Add mutex for FreeType face creation/deletion operations.
2023-02-26 17:55:04 +02:00
Rémi Verschelde
1bd0b296e1
Merge pull request #73964 from vonagam/fix-coroutine-compiler-type
...
GDScript: Fix address type for coroutine results
2023-02-26 16:00:17 +01:00
Rémi Verschelde
92d47f84fe
Merge pull request #73957 from vonagam/fix-binary-op-safety
...
GDScript: Fix wrong unsafety mark for binary operator
2023-02-26 15:59:54 +01:00
Rémi Verschelde
c118790eb9
Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand
...
GDScript: Initialize all defaults beforehand in implicit constructor
2023-02-26 15:59:27 +01:00
Davi
4a7c93708e
Patch VideoStreamPlaybackTheora::set_file
to only look for header packets of one stream type
2023-02-26 09:20:49 -03:00
Dmitrii Maganov
4efaf15605
GDScript: Fix address type for coroutine results
2023-02-26 08:30:46 +02:00
Raul Santos
a1a2fc2255
C#: Always show "Create C# solution" option
...
Prevents ending up with an empty C# menu.
The option to create the C# solution no longer disappears, to avoid confusing users.
If an user tries to use it when a C# solution already exists they are warned that it will override their sln and csproj files.
2023-02-26 02:56:34 +01:00
Dmitrii Maganov
638aa4f811
GDScript: Fix wrong unsafety mark for binary operator
2023-02-26 01:35:53 +02:00
K. S. Ernest (iFire) Lee
add503e71d
Fix basisu mipmaps
...
Previously basisu was storing mip maps as an array of basisu in the internal format for Texture. The new work makes sense and it generates smaller files with one image.
This pull request fixes the basisu decompression and keep the approach of 1 image. If we need to change the format in 4.x, we can still support the old format with some limitations too. Basisu from gltfpack can only output with mipmaps.
The single image will not work for StreamedTexture. We should support both approaches for CompressedTexture we use one, and for StreamedTexture we use another.
Additional error checking for hdr images and for nullptr.
2023-02-25 13:48:51 -08:00
George Marques
eba984a44f
Revert "GDScript: Fix groups and categories been seen as members"
...
This reverts commit 6f2a8434c6
.
The commit introduces a bug where it creates spurious entries for member
information.
2023-02-25 13:40:31 -03:00
Dmitrii Maganov
281c8c75d3
GDScript: Fix conversions from native members accessed by identifier
2023-02-25 10:53:36 +02:00
George Marques
0e6aa6fc38
GDScript: Initialize all defaults beforehand in implicit constructor
...
Set all the default values for typed variables before actually trying to
initialize them, including `@onready` ones.
This ensures that if validated calls are being used there will be a
value of the correct type, even if the resolution is done out of order
or deferred because of `@onready`.
2023-02-24 22:01:06 -03:00
Rémi Verschelde
3863199ab9
Merge pull request #73881 from vnen/max-min-only-for-numbers
...
Make max() and min() global functions only accept numbers
2023-02-25 01:36:19 +01:00
George Marques
defa46bfd1
GDScript: Don't use validated call for vararg methods
...
Since they may have runtime type validation, we cannot use the validated
call.
2023-02-24 14:06:02 -03:00
Raul Santos
3730d8e343
C#: Check if a class is a singleton using the Core name
...
Use the name of the class in Core, rather than the C# rename, when checking if a class is registered as a singleton.
2023-02-24 18:02:31 +01:00
Rémi Verschelde
a6baebc7c2
Fixup GDScript test using non-deterministic ids
...
Follow-up to #73870 .
2023-02-24 14:31:36 +01:00
Rémi Verschelde
7e00cc1f7a
Merge pull request #73870 from vnen/gdscript-dont-reference-group-properties
...
GDScript: Fix groups and categories been seen as members
2023-02-24 14:08:20 +01:00
George Marques
6f2a8434c6
GDScript: Fix groups and categories been seen as members
2023-02-24 10:03:12 -03:00
Rémi Verschelde
49e5e0ed79
Merge pull request #73841 from vonagam/fix-range-regression
...
GDScript: Fix range regression
2023-02-24 13:29:49 +01:00
Dmitrii Maganov
55c5774be9
GDScript: Fix range regression
2023-02-24 00:35:11 +02:00
smix8
624426f32e
Fix GridMap 'cell_size_changed' signal not disconnecting properly
...
Fixes that a GridMap node would not disconnect from the 'cell_size_changed' signal when the new selected node is another valid GridMap.
2023-02-23 21:17:37 +01:00
Rémi Verschelde
e0de3573f3
Merge pull request #73815 from RedworkDE/net-missing-editor-message
...
C#: Fix editor crashing without a message when .NET is not installed
2023-02-23 13:56:06 +01:00
Rémi Verschelde
09c8957f9d
Merge pull request #73811 from Vsono/master
...
Fix WebSocketMultiplayerPeer server crash when a client tries to connect.
2023-02-23 13:55:20 +01:00
Rémi Verschelde
76d80c2cba
Merge pull request #73798 from vonagam/fix-bad-continue-in-lambda
...
GDScript: Fix parsing unexpected break/continue in lambda
2023-02-23 13:54:56 +01:00
Rémi Verschelde
486b0b690d
Merge pull request #73796 from vonagam/fix-enum-in-range-call
...
GDScript: Fix usage of enum value as range argument
2023-02-23 13:54:33 +01:00
RedworkDE
6b050a3502
C#: Fix editor crashing without a message when .NET is not installed
2023-02-23 13:52:45 +01:00
Vsono
5cb60dff96
Fix WebSocketMultiplayerPeer server crash
2023-02-23 20:00:00 +09:00
Fabio Alessandrelli
72f5bbde82
[MP] Fix replication config not updating sync/spawn props from code.
2023-02-23 10:03:19 +01:00
Dmitrii Maganov
b0b1eaeb6d
GDScript: Fix parsing unexpected break/continue in lambda
2023-02-23 10:49:06 +02:00
Dmitrii Maganov
7ee011051a
GDScript: Fix usage of enum value as range argument
2023-02-23 10:38:53 +02:00
mashumafi
2a12213c31
Fix: Typed arrays aren't working with +
2023-02-22 18:42:26 -05:00
Rémi Verschelde
19c9fd6926
Merge pull request #73715 from clayjohn/HDR-import
...
Use multiple threads to import HDR images
2023-02-22 22:47:49 +01:00
clayjohn
2cf5927920
Use multiple threads to import HDR images
2023-02-22 09:35:15 -08:00
Danil Alexeev
a98a0f5d34
Document @GDScript.is_instance_of
method
2023-02-22 17:06:55 +03:00
Rémi Verschelde
56622b8ec3
Merge pull request #73709 from vonagam/fix-error-message-unfound-type
...
GDScript: Fix error message for unfound type
2023-02-21 23:36:29 +01:00
Rémi Verschelde
d4bec5855e
Merge pull request #73705 from anvilfolk/doublewoopsie
...
Added check for null objects in gdscript typed assign.
2023-02-21 23:36:06 +01:00
Rémi Verschelde
49c1902a04
Merge pull request #73689 from vnen/gdscript-fix-inheritance-native-class
...
GDScript: Fix setting native type with script inheritance
2023-02-21 23:35:18 +01:00
Dmitrii Maganov
2a08739f30
GDScript: Fix error message for unfound type
2023-02-21 23:00:29 +02:00
ocean (they/them)
9ddf482a06
Added check for null objects in gdscript typed assign.
2023-02-21 15:29:07 -05:00
Rémi Verschelde
253396ba39
Merge pull request #73693 from vnen/gdscript-fix-script-signature-check
...
GDScript: Fix override signature check of script inheritance
2023-02-21 21:19:39 +01:00
Rémi Verschelde
31726fa945
Merge pull request #73680 from vnen/gdscript-div-by-zero-crash-fix
...
GDScript: Avoid validated division operation to test for zero
2023-02-21 21:19:15 +01:00
George Marques
1731010774
GDScript: Fix override signature check of script inheritance
...
Avoid treating the super class as a meta type for signature check, since
it is looking at the instance level for that.
2023-02-21 14:37:08 -03:00
George Marques
d076c76551
GDScript: Fix setting native type with script inheritance
...
Sometimes the inheritance tree is compiled out of order and the base
don't have yet a native type set. This is now changed to not rely on the
base script but use the native type set in the datatype, which is
already resolved by the analyzer.
2023-02-21 14:09:10 -03:00
George Marques
0866e6af2d
GDScript: Avoid validated division operation to test for zero
...
The validated operations for integer division and modulo do not check
for division by zero. This avoids validated operation in these cases to
make sure the check is performed and avoid crashing the engine.
2023-02-21 11:12:45 -03:00
George Marques
91b93465d5
GDScript: Fix crash when autoload script can't be found
2023-02-21 10:45:24 -03:00
Rémi Verschelde
fe08570ac5
Merge pull request #73667 from aaronfranke/gltf-unused-joint-bool
...
Remove unused joint boolean in GLTFNode
2023-02-21 08:47:15 +01:00
bruvzg
7f24433e15
[TextServer] Ensure ICU data is initialised only one and cleaned only at exit.
2023-02-21 09:43:54 +02:00
Rémi Verschelde
f03784d8f7
Merge pull request #73654 from V-Sekai/fbx_base_dir
...
fbx: Set base_dir correctly in append_from_scene
2023-02-21 08:20:31 +01:00
Aaron Franke
84658b47ca
Remove unused joint boolean in GLTFNode
2023-02-21 00:48:02 -06:00
mashumafi
8eb837dc3d
Add test for const class references
2023-02-20 23:01:32 -05:00
mashumafi
b39b4010bd
Fix: Get constructor as Callable
2023-02-20 22:05:54 -05:00
Lyuma
1c090d37b4
fbx: Set base_dir correctly in append_from_scene
2023-02-20 16:32:27 -08:00
Rémi Verschelde
0851debf45
Merge pull request #73639 from vnen/gdscript-limit-completion-recursion-depth
...
GDScript: Limit recursion depth for completion functions
2023-02-20 22:36:07 +01:00
bruvzg
b3c64675cc
[macOS] Replace all Alt/Option+Letter/Number
default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
George Marques
c9e49c487d
GDScript: Limit recursion depth for completion functions
...
Avoid crashing if the completion gets stuck in infinite recursion while
trying to guess the expression type.
2023-02-20 14:55:13 -03:00
Rémi Verschelde
dfdda96294
Merge pull request #73626 from Faless/mp/4.x_synced_signal
...
[MP] Add a "synchronized" signal to MultiplayerSynchronized.
2023-02-20 15:41:55 +01:00
Rémi Verschelde
2057d7344e
Merge pull request #73590 from vnen/gdscript-global-scope-enums
...
Make global scope enums accessible as types in GDScript
2023-02-20 15:41:45 +01:00
Rémi Verschelde
ea2bc9795c
Merge pull request #73544 from mashumafi/fix-func-arg-null
...
Fix: Func with typed args error when arg is null
2023-02-20 15:41:40 +01:00
Rémi Verschelde
561d949739
Merge pull request #73489 from vonagam/type-check-node
...
GDScript: Rework type check
2023-02-20 15:41:36 +01:00
Rémi Verschelde
6bf63a3542
Merge pull request #73291 from vonagam/fix-unsafe-weak-binop
...
GDScript: Fix missing unsafety mark for binary op with weak variables
2023-02-20 15:41:32 +01:00
Fabio Alessandrelli
522bddf63d
[MP] Add a "synchronized" signal to MultiplayerSynchronized.
...
Emitted upon receiving a valid sync packet after setting the variables
state.
2023-02-20 14:46:39 +01:00
mashumafi
30d4d3fa5e
Fix: Func with typed args error when arg is null
2023-02-19 21:47:48 -05:00
George Marques
75f16b8167
Make global scope enums accessible as types in GDScript
...
Add functions to CoreConstant so enums can be properly deduced. Also add
the enums in release builds to make consistent with ClassDB enums and
avoid differences in script compilation between debug and release.
2023-02-19 13:00:07 -03:00
RedworkDE
756a48023f
C#: Fix line position when opening file in VSCode
2023-02-19 12:43:15 +01:00
Malcolm Nixon
d91e75b6f7
Added render target size multiplier option.
...
Fix formatting
2023-02-18 10:58:06 -05:00
Yuri Sizov
78cd5d813b
Merge pull request #73501 from anvilfolk/oopsiedaisy
...
Fix inability to assign null regression
2023-02-18 04:38:47 +03:00
Yuri Sizov
24344de4f5
Merge pull request #73448 from RandomShaper/fix_sticky_stack
...
Avoid GDScript bookkeeping from referencing objects longer than necessary
2023-02-17 23:22:20 +03:00
Pedro J. Estébanez
5e9400fa50
Avoid GDScript bookkeeping from referencing objects longer than necessary
2023-02-17 18:59:17 +01:00
Dmitrii Maganov
8fe023ad93
GDScript: Rework type check
2023-02-17 19:57:18 +02:00
ocean (they/them)
9eb4d1e4bf
Fix inability to assign null regression
...
Co-authored-by: Dmitry Maganov <vonagam@gmail.com>
2023-02-17 11:45:56 -05:00
Yuri Sizov
6212da66e8
Merge pull request #72867 from vnen/gdscript-limit-call-depth
...
GDScript: Add limit to call depth
2023-02-17 17:00:46 +03:00
Yuri Sizov
6e0dd6beca
Merge pull request #72925 from vonagam/fix-enum-typed-array-error
...
GDScript: Fix error about enum typed arrays
2023-02-17 16:47:50 +03:00
Rémi Verschelde
cefe1e0654
Merge pull request #73441 from akien-mga/linux-unbundling-fixes
...
Fix includes of thirdparty libs which can be unbundled on Linux
2023-02-17 09:56:02 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
...
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
bruvzg
174e0837e0
[macOS] Re-add support for the _sc_ inside app bundle. Update docs.
2023-02-17 09:55:56 +02:00
Rémi Verschelde
68807165f4
Merge pull request #73398 from anvilfolk/fix-getter
...
Fix unset getter return types resulting in strange behavior
2023-02-17 00:31:42 +01:00
Rémi Verschelde
a845553898
Merge pull request #73364 from anvilfolk/fix-freed
...
Fix crash by freed object assign to typed variable
2023-02-17 00:31:19 +01:00
Rémi Verschelde
2527d4ce9b
Merge pull request #73458 from paulloz/csharp/actually-clean-solution
...
.NET: Clicking "Clean solution" should clean, not build
2023-02-17 00:30:55 +01:00
ocean (they/them)
c45970739e
Fix crash by freed object assign to typed variable
2023-02-16 15:17:46 -05:00
Rémi Verschelde
f3934d1bf5
Merge pull request #73238 from vonagam/fix-read-only-vars
...
GDScript: Fix infer on read-only property
2023-02-16 18:34:37 +01:00
Rémi Verschelde
5cb32d8476
Merge pull request #73392 from raulsntos/dotnet/vscode-open-solution
...
C#: Open the solution directory when using VSCode
2023-02-16 18:34:34 +01:00
Rémi Verschelde
e2fc0acd36
Fix includes of thirdparty libs which can be unbundled on Linux
...
Changes `builtin_icu` and `builtin_recast` to match the folder names in
`thirdparty`.
2023-02-16 15:52:13 +01:00
Dmitrii Maganov
5972ba17a4
GDScript: Fix infer on read-only property
2023-02-16 15:50:17 +02:00
Paul Joannon
5e3d114829
Clicking "Clean solution" should clean, not build
2023-02-16 11:45:33 +01:00
RedworkDE
fce8a05b58
C#: Fix internal source generator on the 7.0.200 SDK
2023-02-16 11:25:47 +01:00
ocean (they/them)
94dfac8da7
Add return type for GDScript getters
2023-02-15 17:54:38 -05:00
Raul Santos
d57cb460e2
C#: Open the solution directory when using VSCode
...
The solution directory used to be the same as the project
directory (`res://`). We now allow specifying a different
path for the solution and the other external editors already
use that (which seems more convenient for multi-project
scenarios).
2023-02-15 20:13:40 +01:00
Danil Alexeev
d15511725a
GDScript: Fix MIN_INT
not representable as numeric literal
2023-02-15 17:41:46 +03:00
Rémi Verschelde
1f6a5426e2
Merge pull request #73345 from TokageItLab/gltfimport
...
Fix gltf import generate_scene() option
2023-02-15 09:53:22 +01:00
Rémi Verschelde
204be35fc1
Merge pull request #73322 from fire/basisu-compress-black
...
For basisu avoid inserting to the image array twice.
2023-02-15 09:50:12 +01:00
Silc Renew
4970c27ff5
Fix gltf import generate_scene() option
2023-02-15 17:43:34 +09:00
K. S. Ernest (iFire) Lee
28a340bf3b
For basisu avoid inserting to the image array twice.
...
Basisu images were getting referenced incorrectly like set black or set as not transparent.
2023-02-14 17:22:36 -08:00
Danil Alexeev
8d3e682f52
GDScript: Fix default value of exported enum variable
2023-02-14 18:07:50 +03:00
Dmitrii Maganov
df6aae2eca
GDScript: Fix missing unsafety mark for binary op with weak variables
2023-02-14 17:01:21 +02:00
Rémi Verschelde
f9b043aad7
Merge pull request #73281 from Mickeon/doc-misc-oops
...
Slightly tweak `@GlobalScope` & `GDScript`'s documentation
2023-02-14 13:37:43 +01:00
Micky
436bbfebe2
Tweak @GlobalScope
& GDScript
's documentation
2023-02-14 13:26:18 +01:00
Fabio Alessandrelli
02dcf40162
Merge pull request #73216 from baptr/multiplayer
...
Fix multiplayer replication crash in on_sync_receive.
2023-02-14 13:18:19 +01:00
baptr
2eadbe7b78
Fix multiplayer replication crash in on_sync_receive.
...
A number of early continue cases applied the packet-provided `size`
without validation, allowing large uint32_t values to be treated as
negative offsets and leading to segfaults.
Now, we validate `size` against the buffer length immediately to avoid a
crash.
This could be triggered by receiving sync data for a synchronizer who's
root node had just been removed, since the code path that checked for
unusable sync state failed to advance the offset. Thus the next read
could interpret part of the payload as such an invalid `size`.
Now, we properly advance the read offset in that case (and raise a
better error).
2023-02-14 02:46:32 -08:00
Rémi Verschelde
1fcee45ae5
Merge pull request #73252 from smix8/navigationserver_improve_rid_not_found_error_4.x
...
Improve NavigationServer.free() error msg when RID not found
2023-02-14 11:04:40 +01:00
Chris Hutchinson
cb8e919243
Replaced operating system alert dialog with a warning log message,
...
toggled by a project setting.
Fixes #73141
2023-02-13 18:42:43 -05:00
Rémi Verschelde
4848877b80
Merge pull request #72659 from Calinou/doc-rendering-method-support
...
Document unsupported features in Mobile and Compatibility rendering methods
2023-02-13 23:45:12 +01:00
smix8
b51cab3411
Improve NavigationServer.free() error msg when RID not found
...
Improves the error msg when NavigationServer.free() does not find the RID e.g. because it was already deleted or did never exist in the first place.
2023-02-13 23:44:05 +01:00
Rémi Verschelde
02a9a31b1b
Merge pull request #73244 from vonagam/fix-int-in-float-typed-array
...
GDScript: Fix usage of ints with typed array of floats
2023-02-13 23:43:09 +01:00
Hugo Locurcio
42b7739321
Document unsupported features in Mobile and Compatibility rendering methods
2023-02-13 22:17:02 +01:00
Dmitrii Maganov
9cb2da89d6
GDScript: Fix usage of ints with typed array of floats
2023-02-13 22:06:38 +02:00
DESKTOP-9O27V4U\Navi
ac92704f39
Add compatibility code for CSGBox3D width/height/depth from Godot 3.x
...
Fixes #66420 .
2023-02-13 20:41:23 +01:00
Rémi Verschelde
d405392847
Revert "Fixed the jumping to function definition using 'Ctrl+LMB'."
...
This reverts commit 7eb6367d5c
.
Fixes #73058 .
Fixes #73167 .
This caused regressions, we'll retry with fixes for 4.1.
2023-02-13 17:58:59 +01:00
Haoyu Qiu
84aee17901
Improvements and fixes based on Weblate comments
...
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
* "Inclusive" and "Self" in the profiler.
* Places where it needs the context about being an editor progress label.
* "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
* Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
* Fix duplicated "if" in the description of `signf()`.
* Fix mismatched example output in `String.operator %()`.
* Fix typo in the description of `Decal.texture_emission`.
* Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
Rémi Verschelde
49e8a2fb66
Merge pull request #73026 from SirUppyPancakes/sync-context-send
...
Implement GodotSynchronizationContext.Send
2023-02-12 22:34:18 +01:00
Rémi Verschelde
34cc5fc03f
Merge pull request #54034 from pkowal1982/fix_53878
...
Improve GDScript error for method call on null/previously freed instance
2023-02-12 22:33:49 +01:00
Caleb Kemper
103cb4bee6
Implement GodotSynchronizationContext.Send
2023-02-12 14:12:09 -07:00
pkowal
be4d8a7b2e
Improve GDScript error for method call on null/previously freed instance
...
Fixes #53878 .
2023-02-12 21:52:05 +01:00
Fabio Alessandrelli
a77820ade0
[MP] Fix MultiplayerSpawner not connecting to child_entered_tree.
...
The connection used to happen during enter_tree, but this was causing
issues when setting the spawnable scenes from code.
The spawner now connects/disconnects to the signal during
add_spawnable_scene/clear_spawnable_scenes if the node is inside tree
and has a valid spawn_path.
2023-02-12 15:32:09 +01:00
Rémi Verschelde
cb2e73d578
Merge pull request #73033 from akien-mga/gdscript-fix-gd4-renames-build
...
Clean up ProjectConverter3To4 architecture, move renames map to separate file
2023-02-11 22:05:38 +01:00
Rémi Verschelde
5a79d55560
Merge pull request #73015 from raulsntos/dotnet/build-csproj
...
Build C# csproj instead of the solution
2023-02-11 15:35:32 +01:00
Rémi Verschelde
532381562e
Merge pull request #72654 from RandomShaper/ptrcall_ret_raw_obj
...
Avoid losing references to objects in the native-scripting boundary
2023-02-11 15:35:01 +01:00
Rémi Verschelde
7725a1a14c
Merge pull request #73068 from dsnopek/webxr-bounds-geometry-bug
...
Fix byte packing (and buffer overrun) in godot_webxr_get_bounds_geometry()
2023-02-11 14:35:29 +01:00
David Snopek
9e4d80e08e
Fix byte packing (and buffer overrun) in godot_webxr_get_bounds_geometry()
2023-02-10 19:33:18 -06:00
David Snopek
886f2270ed
[WebXR] Add support for getting and setting display refresh rate
2023-02-10 19:21:38 -06:00
Rémi Verschelde
ac68330130
Merge pull request #72045 from DeeJayLSP/update_libwebp
...
libwebp: Sync with upstream 1.3.0
2023-02-10 18:44:23 +01:00
Rémi Verschelde
e19e6b09b9
Clean up ProjectConverter3To4 architecture, move renames map to separate file
...
This allows properly limiting what features depend on the RegEx module
(doing the actual conversion) and what features only require the renames
data (GDScript suggestions).
Also better excludes the conversion command line options when actually
disabling deprecated code.
Fixes #73029 .
2023-02-10 14:35:22 +01:00
Danil Alexeev
220898a69f
GDScript: Remove treat_warnings_as_errors
project setting
2023-02-10 10:16:33 +03:00
Raul Santos
2a1523d751
Build C# csproj instead of the solution
2023-02-10 03:19:30 +01:00
Rémi Verschelde
dc7f08b556
Merge pull request #72971 from vnen/gdscript-multiline-comment
...
GDScript: Allow strings as multiline comments
2023-02-09 16:19:03 +01:00
Rémi Verschelde
6fca54a81b
Merge pull request #72975 from vnen/gdscript-no-ascii-spoof-check
...
GDScript: Be more lenient with identifiers
2023-02-09 16:12:09 +01:00
George Marques
03ea77407c
GDScript: Be more lenient with identifiers
...
- Allow identifiers similar to keywords if they are in ASCII range.
- Allow constants to be treated as regular identifiers.
- Allow keywords that can be used as identifiers in expressions.
2023-02-09 11:19:05 -03:00
George Marques
f95967c299
GDScript: Allow strings as multiline comments
...
Bring back the behavior in 3.x that was left out by oversight.
2023-02-09 10:16:00 -03:00
Rémi Verschelde
b12bf7ff02
Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lsp
...
Fix internal editor not updating when using external editor via LSP
2023-02-09 14:01:33 +01:00
Haoyu Qiu
a40ccc2d7e
Improve some editor strings for localization
2023-02-09 19:32:02 +08:00
Dmitrii Maganov
cedc5fa823
GDScript: Fix error about enum typed arrays
2023-02-09 00:31:40 +02:00
kobewi
e822182bb7
Fix null message in assert()
2023-02-08 20:19:24 +01:00
Rémi Verschelde
1429ff6c4f
Merge pull request #72700 from fire/gltf-export-animation
...
Fixes to the GLTF export with baking and null checks.
2023-02-08 09:33:46 +01:00
Rémi Verschelde
b53c4dda62
Merge pull request #72849 from RedworkDE/net-export-settings
...
C#: Rename export settings `mono` -> `dotnet` and remove unused AOT settings
2023-02-08 09:32:41 +01:00
George Marques
34f0a2ca46
GDScript: Add limit to call depth
...
The hard limit is set at 2048 depth which seems sensible between
legitimate recursive calls while still avoiding a crash because of a
stack overflow in most of the cases.
Note that it is still possible to reach the stack limit and get an
overflow before reaching a call depth. This is intended as a half-way
measure to stop crashing in most cases, since there's no reliable nor
portable way to check the amount of stack memory left.
2023-02-07 17:09:40 -03:00
K. S. Ernest (iFire) Lee
dbc1e94695
Fixes for gltf export.
...
* Fix null crashes.
* Bake tracks
* Add some error messages.
2023-02-07 11:57:25 -08:00
Rémi Verschelde
bd267c911b
Merge pull request #72493 from dalexeev/gds-export-flags
...
GDScript: Improve validation and documentation of `@export_flags`
2023-02-07 19:38:21 +01:00
Rémi Verschelde
3f95b39cb3
Merge pull request #72789 from Vilcrow/fix-jump-to-definition
...
Fixed the jumping to function definition using 'Ctrl+LMB'.
2023-02-07 19:37:50 +01:00
Rémi Verschelde
8be4feec04
Merge pull request #72061 from paulloz/csharp/better-logs-management
...
C#: MSBuild logs and panel enhancements
2023-02-07 19:37:43 +01:00
RedworkDE
bf47b62203
C#: Rename export settings mono
-> dotnet
and remove unused AOT settings
2023-02-07 18:20:23 +01:00
Danil Alexeev
c8e3d8b5d5
GDScript: Improve validation and documentation of @export_flags
2023-02-07 19:32:08 +03:00
Paul Joannon
c70c82b0fb
Try and match MSBuild and Godot UI languages
2023-02-07 16:48:23 +01:00
Paul Joannon
9bf2a0bcda
Add new settings about MSBuild
...
- toggle creation of binary logs
- manage log verbosity
- toggle logging in console
2023-02-07 16:48:23 +01:00
Paul Joannon
7cf42dbdee
Add button to open the msbuild logs folder
2023-02-07 16:48:23 +01:00
Paul Joannon
e51a20b714
Rename existing editor settings mono
-> dotnet
2023-02-07 16:48:18 +01:00
Markus Sauermann
826e54fa73
Some code simplifications
...
1. `number_width` isn't used later
2. `return_type` is used only once
3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger
4. negative `aa->backward` conditional
5. `current_canvas` == `find_world_2d()->get_canvas()`
6. identical if `render_shadows`
2023-02-07 14:30:16 +01:00
Adam Scott
0fef203b1f
Remove script class checks when getting function signature
2023-02-07 11:48:10 +01:00
Danil Alexeev
54770ba9c5
GDScript: Fix invalid character error message
2023-02-07 10:56:10 +03:00
S.V.I. Vilcrow
7eb6367d5c
Fixed the jumping to function definition using 'Ctrl+LMB'.
2023-02-07 05:29:48 +03:00
Rémi Verschelde
6e2b9b3bdc
Merge pull request #72802 from RedMser/blender-rpc-error-handling
...
Better error handling for Blender RPC import
2023-02-06 22:45:18 +01:00
Yuri Sizov
945207885b
Merge pull request #72546 from vonagam/fix-typed-array-can-reference
...
GDScript: Fix can_reference check for typed arrays
2023-02-06 23:32:47 +03:00
Yuri Sizov
c0edea37ef
Merge pull request #72677 from dalexeev/gds-await-infer-type
...
GDScript: Fix `await` type inference
2023-02-06 23:32:28 +03:00
Yuri Sizov
7b86a082be
Merge pull request #72804 from vnen/gdscript-no-onready-without-node
...
GDScript: Fix inheritance check of @onready for inner classes
2023-02-06 23:03:44 +03:00
Danil Alexeev
685db28e29
GDScript: Fix await
type inference
2023-02-06 23:02:14 +03:00
Yuri Sizov
9d16250353
Merge pull request #70002 from poohcom1/fix/static-subscript-autocomplete
...
Fix code-completion suggesting non-static members for custom classes
2023-02-06 23:02:12 +03:00
Yuri Sizov
de4369ca4b
Merge pull request #72708 from KoBeWi/PackedMultilineStringArray
...
Fix @export_multiline for PackedStringArray
2023-02-06 23:01:16 +03:00
Dmitrii Maganov
8400308ab3
GDScript: Fix can_reference check for typed arrays
2023-02-06 22:00:16 +02:00
George Marques
ed5ddab7e5
GDScript: Fix inheritance check of @onready for inner classes
2023-02-06 14:52:13 -03:00
RedMser
8f099c7de3
Better error handling for Blender RPC import
...
- If RPC import fails, then try a direct import as well. While it's
slower, it may be better than failing the import completely.
- Connection errors will disable RPC automatically, to avoid having to
wait the full 30 seconds timeout each time.
This should be properly fixed by allowing to override the timeout
per HTTPClient.
2023-02-06 18:23:20 +01:00
Rémi Verschelde
2fdaf2919c
GDScript: Fix recently merged test not ignoring warnings
2023-02-06 18:19:34 +01:00
Rémi Verschelde
eee343210d
Merge pull request #72330 from MinusKube/unreachable_code_bug
...
Fix unreachable code warning for elif block
2023-02-06 17:49:37 +01:00
Rémi Verschelde
f5a8c58684
Merge pull request #72628 from lyuma/gltf-reimport-appending
...
Use reimport_append api for importing embedded gltf images
2023-02-06 17:48:28 +01:00
Yuri Sizov
d201df1ffa
Merge pull request #72512 from vonagam/fix-ternary-type-source
...
GDScript: Fix type certainty for result of ternary operator
2023-02-06 19:41:27 +03:00
Lyuma
5fbcb80170
Use reimport_append api for importing embedded gltf images
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2023-02-06 07:11:45 -08:00
Rémi Verschelde
8a37fad281
Merge pull request #72794 from vnen/gdscript-no-onready-without-node
...
GDScript: Don't allow @onready without inheriting Node
2023-02-06 15:41:02 +01:00
Rémi Verschelde
332a1d8ee5
Merge pull request #72774 from bruvzg/spoof_load
...
[TextServer] Preload USpoofChecker to speed up GDScript parsing.
2023-02-06 15:40:39 +01:00
Rémi Verschelde
9ad098f653
Merge pull request #72276 from dalexeev/gds-rpc-annot
...
GDScript: Better handling of `@rpc` annotation and autocompletion
2023-02-06 15:39:25 +01:00
Rémi Verschelde
f50f968b83
Merge pull request #72709 from RedworkDE/net-basedirectory-whoops
...
C#: Fix AppContext.BaseDirectory
2023-02-06 15:39:02 +01:00
George Marques
3941af3d91
GDScript: Don't allow @onready without inheriting Node
2023-02-06 10:45:38 -03:00
bruvzg
c588923433
[TextServer] Preload USpoofChecker to speed up GDScript parsing.
2023-02-05 23:31:54 +02:00
Danil Alexeev
31749de128
GDScript: Better handling of @rpc
annotation and autocompletion
2023-02-05 21:21:37 +03:00
Yuri Sizov
13f0158e49
Merge pull request #72608 from vnen/gdscript-warning-default-error
...
GDScript: Add warnings that are set to error by default (take 2)
2023-02-05 16:00:26 +03:00
kobewi
2b71ede967
Fix @export_multiline for PackedStringArray
2023-02-04 17:06:58 +01:00
Yuri Sizov
8753b07b05
Merge pull request #71860 from GeroVeni/master
...
Improve docs for rpc annotations
2023-02-04 18:43:15 +03:00
RedworkDE
fb0adaff9f
C#: Fix AppContext.BaseDirectory
2023-02-04 14:35:11 +01:00
GeroVeni
54f2226ce5
Improve docs for rpc annotations
2023-02-04 13:28:41 +00:00
Rémi Verschelde
bbff9fd7a4
Merge pull request #71786 from raulsntos/dotnet/array
...
Sync C# Array with Core
2023-02-04 00:24:06 +01:00
Pedro J. Estébanez
0bcc7bb5c7
Avoid losing references to objects in the native-scripting boundary
2023-02-03 17:48:41 +01:00
Rémi Verschelde
604493eb6e
Merge pull request #65910 from KoBeWi/gdsus
...
Cleanup function state connections when destroying instance
2023-02-03 16:13:06 +01:00
Rémi Verschelde
1ff2204cfe
Merge pull request #72554 from RedworkDE/net-appcontext-basedirectory
...
C#: Set AppContext.BaseDirectory for editor builds
2023-02-03 15:35:29 +01:00
Rémi Verschelde
5a413894fc
Merge pull request #72635 from RedworkDE/net-nodepath-iequatable
...
C#: Implement `IEquatable<>` and equality operators in `NodePath`
2023-02-03 15:35:22 +01:00
Rémi Verschelde
91dfd6484b
Merge pull request #72633 from RedworkDE/net-stringname-iequatable
...
C#: Declare `IEquatable<>` interface for `StringName`
2023-02-03 15:35:16 +01:00
Rémi Verschelde
8ef01ee5df
Merge pull request #72604 from rbessems/rbessems/env_blend_mode
...
Add XR Environment Blend Mode Support
2023-02-03 06:24:30 +01:00
RedworkDE
ac96af1cc9
C#: Declare IEquatable<>
interface for StringName
2023-02-03 00:26:18 +01:00
RedworkDE
7403a3a11b
C#: Implement IEquatable<>
and equality operators in NodePath
...
- Implement `IEquatable<>` interface.
- Implement `==` and `!=` operators.
- Override `Equals` and `GetHashCode`.
2023-02-03 00:25:48 +01:00
Ron Bessems
d7d171c45c
Add XR Environment Blend Mode Support
2023-02-02 12:18:42 -05:00
Rémi Verschelde
a43ec333c4
Merge pull request #72398 from vnen/gdscript-setter-chain
...
GDScript: Improve usability of setter chains
2023-02-02 16:28:07 +01:00
George Marques
273bf7210f
GDScript: Add warnings that are set to error by default
...
- Adds a list of default levels for all warning so they can be set
individually.
- Add warnings set by default to error for:
- Using `get_node()` without `@onready`.
- Using `@onready` together with `@export`.
- Inferring a static type with a Variant value.
- Overriding a native engine method.
- Adjust how annotations to ignore warnings are treated so they also
apply to method parameters.
- Clean up a bit how ignored warnings are set. There were two sets but
only one was actually being used.
- Set all warnings to the `WARN` level for tests, so they they can be
properly tested.
- Fix enum types in native methods signatures being set to `int`.
- Fix native enums being treated as Dictionary by mistake.
- Make name of native enum types use the class they are defined in, not
the direct super class of the script. This ensures they are always
equal even when coming from different sources.
- Fix error for signature mismatch that was only showing the first
default argument as having a default. Now it shows for all.
2023-02-02 12:07:25 -03:00
RedworkDE
b9d1462d2a
C#: Set AppContext.BaseDirectory for editor builds
2023-02-02 15:05:11 +01:00
George Marques
5fc7918594
GDScript: Improve usability of setter chains
...
- Consider PackedArrays non-shared since they are copied on C++/script
boundaries.
- Add error messages in the analyzer when assigning to read-only
properties.
- Add specific error message at runtime when assignment fails because
the property is read-only.
2023-02-02 10:20:35 -03:00
Rémi Verschelde
50022484a3
Merge pull request #72592 from EricEzaM/67008-autocomplete-crash-virtual-fn
...
Fix crash in gdscript when autocompleting virtual function and signature does not match base.
2023-02-02 13:59:57 +01:00
Rémi Verschelde
8978196a48
Merge pull request #72468 from rbessems/rbessems/add_ml2_controller
...
Adding Magic Leap 2 Controller Interaction Profile
2023-02-02 13:59:34 +01:00
Rémi Verschelde
c5c6f2db89
Merge pull request #72553 from RedworkDE/net-output-directory
...
C#: Preserve directories in output during export
2023-02-02 13:59:05 +01:00
Eric M
9b93bdb4e7
Fix crash in gdscript when autocompleting virtual function and signature does not match base.
2023-02-02 22:52:08 +10:00
Ron Bessems
e78088cc3a
Add Magic Leap 2 OpenXR Interaction Profile
2023-02-02 06:45:43 -05:00
Rémi Verschelde
824784f80b
Merge pull request #72557 from vonagam/fix-make-value-protection
...
GDScript: Fix getting reduced value of incomplete subscript for autocomplete
2023-02-02 09:49:37 +01:00
Rémi Verschelde
65cbe89371
Merge pull request #72542 from smix8/rvoagent_to_navagent_rename_4.x
...
Rename NavigationServer internal RvoAgent to NavAgent
2023-02-02 09:36:50 +01:00
Danil Alexeev
4311836be2
GDScript: Fix crash in export group annotations
2023-02-02 08:37:39 +03:00
Dmitrii Maganov
7b04e3865a
GDScript: Fix getting reduced value of incomplete subscript
2023-02-02 02:15:26 +02:00
smix8
0d80705f11
Rename NavigationServer internal RvoAgent to NavAgent
...
Renames the NavigationServer internal RvoAgent to NavAgent.
2023-02-01 22:27:48 +01:00
Dmitrii Maganov
1a810ff45e
GDScript: Fix type certainty for result of ternary operator
2023-02-01 14:52:29 +02:00
Rémi Verschelde
0a9e6e478e
Merge pull request #71800 from akien-mga/ci-codespell-action
...
CI: Add official codespell action with PR annotations
2023-02-01 13:25:23 +01:00
Rémi Verschelde
c461d3880f
Merge pull request #72434 from Treer/master
...
Qualify Console's namespace to avoid mixup with plugin's objects
2023-02-01 13:24:47 +01:00
Rémi Verschelde
e52213e2fa
More codespell fixes, do more changes from previous ignore list
2023-02-01 12:11:36 +01:00
Rémi Verschelde
c40020513a
Merge pull request #72440 from V-Sekai/gltf_embed_as_uncompressed
...
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
2023-02-01 12:10:13 +01:00
Rémi Verschelde
061b046401
Merge pull request #72499 from vonagam/fix-typed-array-disassembly
...
GDScript: Fix disassembly of typed array assignment and construction
2023-02-01 11:03:25 +01:00
Rémi Verschelde
afe3b94ab2
Revert "GDScript: Add warnings that are set to error by default"
...
This reverts commit a166833bfa
.
This caused multiple regressions.
Needs to be redone with more testing before merge.
Fixes #72501 .
2023-02-01 10:54:22 +01:00
Lyuma
bc24d01359
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
...
This option allows for a safe fallback for embedded gltf textures in cases where VRAM compression is not needed.
Add an is_editor_hint guard around GLTFHandleBinary::HANDLE_BINARY_EXTRACT_TEXTURES, to use EMBED_AS_UNCOMPRESSED by default at runtime.
This provides an option for pixel art to be stored losslessly.
Additionally, respect project importer defaults for texture import settings.
Avoid writing and reimporting extracted textures identical to version on disk.
2023-02-01 01:42:36 -08:00
Dmitrii Maganov
56aedb256e
GDScript: Fix disassembly of typed array assignment and construction
2023-02-01 11:18:54 +02:00
Rémi Verschelde
9b0f194bbb
Fix blend runner copyright headers
2023-02-01 09:39:31 +01:00
Rémi Verschelde
e101305950
Merge pull request #72487 from vnen/gdscript-warning-default-error
...
GDScript: Add warnings that are set to error by default
2023-02-01 08:23:42 +01:00
Rémi Verschelde
d29036bcda
Merge pull request #69319 from RedMser/blender-import-rpc
...
Batch import Blend files using XML RPC
2023-02-01 08:21:16 +01:00
Rémi Verschelde
9aeda3b282
Merge pull request #72490 from resistor/disasm
...
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
2023-02-01 08:02:04 +01:00
Rémi Verschelde
d9ade633b3
Merge pull request #71936 from akien-mga/remove-some-unused-signals
...
Remove some unused signals
2023-02-01 07:53:52 +01:00
Rémi Verschelde
e8240031e7
Merge pull request #71479 from raulsntos/virtual-return-type
...
Use enum instead of int in virtual methods return type
2023-02-01 07:45:28 +01:00
Rémi Verschelde
6749f1f85a
Merge pull request #72462 from raulsntos/docs/dotnet-renames
...
Fix C# examples in documentation for 4.0
2023-02-01 07:25:26 +01:00
Rémi Verschelde
ab2f8ab6ce
Merge pull request #72371 from dalexeev/remove-gds-str-duplicate
...
Remove `@GDScript.str` (duplicate of `@GlobalScope.str`)
2023-02-01 07:25:02 +01:00
Owen Anderson
835309c0a5
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
...
Found while inspecting the bytecode for godot-benchmarks.
2023-01-31 21:52:51 -06:00
George Marques
a166833bfa
GDScript: Add warnings that are set to error by default
...
- Adds a list of default levels for all warning so they can be set
individually.
- Add warnings set by default to error for:
- Using `get_node()` without `@onready`.
- Using `@onready` together with `@export`.
- Inferring a static type with a Variant value.
- Overriding a native engine method.
- Adjust how annotations to ignore warnings are treated so they also
apply to method parameters.
- Clean up a bit how ignored warnings are set. There were two sets but
only one was actually being used.
- Set all warnings to the `WARN` level for tests, so they they can be
properly tested.
- Fix enum types in native methods signatures being set to `int`.
- Fix native enums being treated as Dictionary by mistake.
- Make name of native enum types use the class they are defined in, not
the direct super class of the script. This ensures they are always
equal even when coming from different sources.
- Fix error for signature mismatch that was only showing the first
default argument as having a default. Now it shows for all.
2023-02-01 00:05:14 -03:00
RedworkDE
70ebb6378c
C#: Preserve directories in output during export
2023-02-01 00:37:12 +01:00
Treer
086ce855a8
Update modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs
...
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2023-02-01 07:56:20 +11:00
Raul Santos
9e9eac4676
Use enum instead of int in virtual methods return type
2023-01-31 19:06:49 +01:00
Raul Santos
7eb8325180
Fix C# examples in documentation
...
- Fix documentation after C# renames.
- Add missing `partial` in C# class declarations.
- Change `delta` parameter type to `double` in C#.
- Ensure parameters match base declaration.
- Use `$` string interpolation in C#.
- Fix invalid or outdated C# code.
- Changed some examples to follow our style guide more closely.
2023-01-31 19:04:07 +01:00
Rémi Verschelde
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +01:00
Rémi Verschelde
925784df03
Merge pull request #72454 from dalexeev/gds-fix-icon-annotation
...
GDScript: Fix `@icon` annotation
2023-01-31 15:58:49 +01:00
Rémi Verschelde
6d9c9d30b9
Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthand
...
GDScript: Allow void functions to return calls to other void functions
2023-01-31 15:55:35 +01:00
Rémi Verschelde
361f3f1721
Merge pull request #57520 from jordigcs/gd-rename-map
...
Add hint for identifiers renamed from 3.x to 4.0
2023-01-31 15:55:25 +01:00
Danil Alexeev
83cb968965
GDScript: Fix @icon
annotation
2023-01-31 17:43:54 +03:00
George Marques
a47d4d57ca
GDScript: Allow void functions to return calls to other void functions
2023-01-31 11:37:30 -03:00
Rémi Verschelde
e768e02b78
Merge pull request #72444 from reduz/fix-global-class-parsing
...
Fix global script class parsing.
2023-01-31 13:20:00 +01:00
Rémi Verschelde
68cee1f02a
Merge pull request #72201 from fire/gltf-extract-img
...
Restore gltf embedded scenes due to problems with textures.
2023-01-31 13:18:37 +01:00
Rémi Verschelde
937524c09c
Merge pull request #72431 from raulsntos/dotnet/rid-iequatable
...
C#: Implement `IEquatable` in `Rid`
2023-01-31 13:17:51 +01:00
Juan Linietsky
1bbe0a2b2f
Fix global script class parsing.
...
* Broke with #72226
* Restored previous version of the code, made it even more error tolerant.
* Added a warning to **not** change the code.
Fixes #72226 .
2023-01-31 12:43:25 +01:00
K. S. Ernest (iFire) Lee
39ef247721
gltf: Avoid using base64 hash as an image filename
...
Consistently use the images.name property with deduplication, or else the image index.
2023-01-31 02:30:16 -08:00
Rémi Verschelde
5bcf016f11
Merge pull request #62737 from kidrigger/gdext_videodecoder
...
Updates VideoDecoder plugin API to GDExt.
2023-01-31 11:04:56 +01:00
Rémi Verschelde
99a44f8469
Merge pull request #69248 from vonagam/fixing-typed-arrays
...
GDScript: Fix typed arrays
2023-01-31 11:04:21 +01:00
Dmitrii Maganov
5909f9f075
GDScript: Fix issues with typed arrays
2023-01-31 11:54:41 +02:00
Rémi Verschelde
93c3d3b5eb
Merge pull request #72422 from BastiaanOlij/openxr_set_active_sets
...
Added methods to OpenXR interface to set which action sets are active
2023-01-31 10:54:28 +01:00
Rémi Verschelde
62689affc7
Merge pull request #72427 from MinusKube/csg-polygon-path-bug
...
Don't generate CSGPolygon3D shape before the assigned path is inside tree
2023-01-31 10:54:23 +01:00
Rémi Verschelde
b6a8b8e8f7
Merge pull request #72212 from anvilfolk/gdtestnames
...
Add option to print filenames in GDScript unit testing
2023-01-31 10:53:28 +01:00
Treer
273df44e1d
Qualify Console's namespace to avoid mixup with plugin's objects
...
Avoid error when a plugin contains a class called "Console":
Godot.SourceGenerators\Godot.SourceGenerators.GodotPluginsInitializerGenerator\GodotPlugins.Game.generated.cs(32,25): error CS0117: 'Console' does not contain a definition for 'Error'
2023-01-31 16:23:17 +11:00
Raul Santos
8166568976
C#: Implement IEquatable
in Rid
...
- Implement `IEquatable` interface.
- Implement `==` and `!=` operators.
- Add `IsValid` method.
- Override `Equals` and `GetHashCode`.
- Fix `ToString` to follow Core.
- Sync documentation with Core.
2023-01-31 04:44:18 +01:00
ocean (they/them)
199e5dbb1e
Add option to print filenames in GDScript unit testing
2023-01-30 22:20:45 -05:00
anish bhobe
42a9c33fad
Updates VideoDecoder plugin API to GDExtension.
...
Adds VideoStream and relevant resource loaders to migrate
external GDNative plugins to GDExtension.
Adds a VideoStreamLoader as a specialization of ResourceFormatLoader
as ClassDB::is_parent_class is inaccessible from GDExtension currently.
Using Object* instead of Ref<T> in order to avoid the refcount bug
(godotengine/godot-cpp#652 )
Also another bug is in ResourceLoader in use on the extension side that
requires fixing.
2023-01-30 18:39:29 -08:00
MinusKube
541b725190
Don't generate CSGPolygon3D shape before the assigned path is inside tree
2023-01-31 02:04:57 +01:00
Bastiaan Olij
d3ec17e9ae
Added methods to OpenXR interface to set which action sets are active
2023-01-31 10:20:19 +11:00
Rémi Verschelde
e9de988020
Merge pull request #72031 from reduz/change-high-quality-texture-import
...
Refactor high quality texture import
2023-01-30 20:41:01 +01:00
Rémi Verschelde
186447d4c5
Merge pull request #72208 from bruvzg/rtl_fix_thr_crash
...
[RichTextLabel] Fix thread unsafe `set_physics_process_internal` usage. Use `WorkerThreadPool` instead of creating new threads.
2023-01-30 20:27:31 +01:00
Rémi Verschelde
dc7fb30485
Merge pull request #72400 from vnen/gdscript-match-release-consistency
...
GDScript: Fix match branches return check on release
2023-01-30 20:27:12 +01:00
Rémi Verschelde
08ec942e1f
Merge pull request #72390 from vonagam/fix-allowed-vararg-ptrcall
...
GDScript: Fix vararg method calls with exact arguments
2023-01-30 20:26:58 +01:00
bruvzg
0cc1f4240a
[RichTextLabel] Fix thread unsafe set_physics_process_internal
usage. Use WorkerThreadPool
instead of creating new threads.
2023-01-30 20:47:45 +02:00
George Marques
65407dd42d
GDScript: Fix match branches return check on release
...
The check for existence of `return` only existed on debug builds for
match branches. This could lead on an invalid error after exporting. Now
this is checked on relase too, so it works the same as the editor.
2023-01-30 15:18:36 -03:00
Dmitrii Maganov
011b3895db
GDScript: Fix vararg method calls with exact arguments
2023-01-30 19:38:07 +02:00
Rémi Verschelde
a5cefef2d8
Merge pull request #72381 from yedpodtrzitko/yed/update-fileaccess-docs
...
docs: replace `File` with `FileAccess`
2023-01-30 17:34:56 +01:00
Juan Linietsky
28f51ba547
Refactor high quality texture import
...
* Only two texture import modes for low/high quality now:
* S3TC/BPTC
* ETC2/ASTC
* Makes sense given this is the general preferred and most compatible combination in most platforms.
* Removed lossy_quality from VRAM texture compression options. It was unused everywhere.
* Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA).
* Changed MacOS export settings so required texture formats depend on the architecture selected.
This solves the following problems:
* Makes it simpler to import textures as high quality, without having to worry about the specific format used.
* As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30 15:53:23 +01:00
Jiri Suchan
4a4adec33d
docs: replace File with FileAccess
2023-01-30 22:43:08 +08:00
Rémi Verschelde
af57bdb193
Merge pull request #72305 from dalexeev/gfs-fix-export-enum
...
GDScript: Fix `@export_enum` works only with `int`
2023-01-30 14:47:12 +01:00
Rémi Verschelde
312011fade
Fix various typos with codespell
...
And include #72377 .
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
2023-01-30 14:22:47 +01:00
Rémi Verschelde
ab70b6ca8a
Merge pull request #72325 from raulsntos/dotnet/fix-72321
...
C#: Fix `Rotated` and `RotatedLocal`
2023-01-30 13:35:34 +01:00
Rémi Verschelde
bde3310f02
Merge pull request #71995 from Faless/net/4.x_tls_verify
...
[NET] Refactor TLS configuration.
2023-01-30 13:28:31 +01:00
Danil Alexeev
be4f36b87e
Remove @GDScript.str
(duplicate of @GlobalScope.str
)
2023-01-30 14:29:07 +03:00
Rémi Verschelde
833c0d24db
Merge pull request #72342 from TokageItLab/immutabletrack
...
Add remove immutable tracks option to glTF importer
2023-01-30 10:34:53 +01:00
Danil Alexeev
d4b78c352f
GDScript: Fix @export_enum
works only with int
2023-01-30 12:30:37 +03:00
Rémi Verschelde
30b5d8b261
Merge pull request #72315 from raulsntos/dotnet/transform2d-skew
...
C#: Add `Skew` to `Transform2D` and fix `InterpolateWith`
2023-01-30 10:01:30 +01:00
Rémi Verschelde
3c0daf06cf
Merge pull request #72310 from Geometror/allow-disabling-noise-normalization
...
[Noise/NoiseTexture2D] Allow disabling normalization
2023-01-30 10:00:58 +01:00
Rémi Verschelde
a2817eca03
Merge pull request #72175 from dalexeev/gds-fix-export-group-annotations
...
GDScript: Fix broken export group annotations
2023-01-30 10:00:54 +01:00
Raul Santos
54f8fb010c
Sync C# Array with Core
...
- Add `AddRange` method.
- Add `Fill` method.
- Add `Max` and `Min` methods.
- Add `PickRandom` method.
- Add `Reverse` method.
- Add `RecursiveEqual` method.
- Add `Sort` method.
- Add `Slice` and `GetSliceRange` methods.
- Add `IndexOf` overload that takes an index parameter.
- Add `LastIndexOf` method.
- Add `BinarySearch` method.
- Add/update documentation.
2023-01-30 05:41:53 +01:00
Silc Renew
8b3be51d17
Add remove immutable tracks option to glTF importer
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2023-01-30 08:57:27 +09:00
MinusKube
2b60d9d6e1
Fix unreachable code warning for elif block
2023-01-29 20:29:23 +01:00
Raul Santos
cc80dda408
C#: Fix Rotated
and RotatedLocal
...
Implementation was interchanged.
2023-01-29 18:43:54 +01:00
Raul Santos
2ef9e2933a
C#: Add Skew
to Transform2D
and fix InterpolateWith
...
- Add `Skew` property to `Transform2D`.
- Fix `InterpolateWith` in `Transform2D` to support skewed transforms.
2023-01-29 16:24:41 +01:00
Hendrik Brucker
d44eb95e93
[Noise/NoiseTexture2D] Allow disabling normalization
2023-01-29 14:59:10 +01:00
Haoyu Qiu
5a283bdbcd
Allow unicode identifier in GDScript syntax highlighter
2023-01-29 13:17:05 +08:00
Rémi Verschelde
a3dae9e548
Merge pull request #72285 from vnen/gdscript-variable-match
...
GDScript: Allow variables in match patterns
2023-01-29 02:45:48 +01:00
Rémi Verschelde
9420116f6c
Merge pull request #72286 from vnen/gdscript-native-static-call-crash
...
GDScript: Avoid calling non-static methods on native classes
2023-01-29 02:23:55 +01:00
Rémi Verschelde
4011a0915e
Merge pull request #71844 from vonagam/fix-constant-conversions
...
GDScript: Fix constant conversions
2023-01-29 02:18:57 +01:00
George Marques
aee7b7363b
GDScript: Avoid calling non-static methods on native classes
2023-01-28 20:33:01 -03:00
George Marques
c68b2358d5
GDScript: Allow variables in match patterns
...
To restore an ability available in 3.x and reduce compatibility changes.
2023-01-28 19:53:27 -03:00
Dmitrii Maganov
31e0ae2012
GDScript: Fix constant conversions
2023-01-29 00:01:53 +02:00
Dmitrii Maganov
6194a7e0fa
GDScript: Fix implicit conversions for function returns
2023-01-28 23:56:07 +02:00
Rémi Verschelde
218bef90af
GDScript: Fix test from #69163 after annotations change
2023-01-28 17:01:19 +01:00
Rémi Verschelde
3a25148b9b
Merge pull request #72228 from DarkKilauea/nav-agent-callable
...
Use Callable for Navigation Agent callbacks
2023-01-28 15:58:49 +01:00
Rémi Verschelde
80f59aa3d9
Merge pull request #72205 from raulsntos/dotnet/proxy-class
...
Fix lookup of C# types by their engine name
2023-01-28 15:41:28 +01:00
Rémi Verschelde
092bbfc2ea
Merge pull request #71992 from raulsntos/dotnet/rect-alt
...
C#: Remove `GetArea` and `GetVolume` methods
2023-01-28 15:41:04 +01:00
Rémi Verschelde
cc6e8379d4
Merge pull request #69163 from vonagam/variant-safe-lines
...
GDScript: Fix wrong marking of some lines related to Variant as unsafe
2023-01-28 15:40:19 +01:00
Fabio Alessandrelli
7cd80e6a6d
[Net] Remove StreamPeerTLS.blocking_handshake option.
...
Which was unused internally, and can be replaced by:
```
while tls.get_status() == tls.STATUS_HANDSHAKING:
tls.poll()
```
2023-01-28 11:08:02 +01:00
Fabio Alessandrelli
adba870534
[NET] Refactor TLS configuration.
...
Use a TLSOptions configuration object which is created via static
functions.
- "TLSOptions.client": uses the standard CA and common name verification.
- "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified)
- "TLSOptions.server": is the standard server configuration (chain + key)
This will allow us to expand the TLS configuration options to include
e.g. mutual authentication without bloating the classes that uses
StreamPeerTLS and PacketPeerDTLS as underlying peers.
2023-01-28 11:08:02 +01:00
Josh Jones
22f9ef19e1
Use Callable for Navigation Agent callbacks
2023-01-27 23:14:36 -08:00
Raul Santos
65d0d05fa7
Fix lookup of C# types by their engine name
2023-01-27 21:28:15 +01:00
Rémi Verschelde
3c9b7ec26b
Merge pull request #72182 from raulsntos/dotnet/remove-obsolete-stringextensions
...
C#: Remove obsolete StringExtensions methods
2023-01-27 19:26:39 +01:00
Rémi Verschelde
6462e54acc
Merge pull request #71986 from raulsntos/dotnet/readonly-collections
...
C#: Implement readonly-ness in Array and Dictionary
2023-01-27 19:26:35 +01:00
Raul Santos
b3af6141a2
C#: Remove GetArea
and GetVolume
methods
...
- Remove `GetArea` method in favor of the `Area` property in Rect2{i}.
- Replace `GetVolume` method with a `Volume` property in AABB.
2023-01-27 18:53:23 +01:00
Raul Santos
15066948d7
C#: Remove obsolete StringExtensions methods
2023-01-27 17:15:23 +01:00
Rémi Verschelde
2b55ac445b
Merge pull request #72111 from raulsntos/method-info-metadata
...
Add `GodotTypeInfo::Metadata` to `MethodInfo`
2023-01-27 15:41:38 +01:00
Raul Santos
1aa54141e6
C#: Implement readonly-ness in Array and Dictionary
...
- Expose `IsReadOnly` and add `MakeReadOnly` method.
2023-01-27 15:25:34 +01:00
Danil Alexeev
1d68ce2cce
GDScript: Fix broken export group annotations
2023-01-27 16:25:15 +03:00
Rémi Verschelde
518b9e5801
Add missing classref changes after #62942
2023-01-27 12:07:53 +01:00
Rémi Verschelde
9d555f5c68
Merge pull request #62499 from fire/gltf-binary-img-compression
...
Handle gltf binary images
2023-01-27 11:35:55 +01:00
Rémi Verschelde
8b662c763e
Merge pull request #72162 from lyuma/skeleton_rename
...
Make BoneAttachment3D and Skeleton3D names consistent.
2023-01-27 11:24:34 +01:00
K. S. Ernest (iFire) Lee
39922d7167
Handle gltf binary
...
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ]
Enable compressed mip maps from Basis Universal for faster compressions.
Increase the quality of Basis to avoid corruption.
To keep compatibility use the first mip of the previous internal Godot format.
Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27 02:02:02 -08:00
Rémi Verschelde
bd1df0f2e3
Merge pull request #71943 from paulloz/debugger/better-errors-printing
...
Better error display in debugger panel
2023-01-27 10:32:38 +01:00
Rémi Verschelde
846021da20
Merge pull request #72158 from lyuma/recursive_skeleton_mesh_fix
...
Avoid nested skeletons, and handle skinned meshes with children.
2023-01-27 10:30:04 +01:00
Rémi Verschelde
9b1f85fe57
Merge pull request #71845 from vonagam/fix-read-only
...
GDScript: Fix test for read-only state of constants
2023-01-27 10:29:52 +01:00
Paul Joannon
c93eec4139
Better error display in debugger panel
...
- Use the right stack frame info as title of the error.
- Use the actual C# exception type as error for exceptions raised from C#.
- Show the right language instead of always **C++ Error**.
2023-01-27 10:01:55 +01:00
Lyuma
3f4ea98b34
Make BoneAttachment3D and Skeleton3D names consistent.
...
BoneAttachment3D nodes are now named as their bone name.
Resolves cases where BoneAttachment3D nodes will have arbitrary names like BoneAttachment3D6
Reserve the name "Skeleton3D" and use this name for all generated Skeleton3D nodes.
This change will break existing imported scenes with more than one skeleton and/or bone attachments.
2023-01-26 23:25:33 -08:00
Lyuma
03bd1da32b
Avoid nested skeletons, and handle skinned meshes with children.
...
Recursively adds child nodes into each skeleton. This should prevent nested skeletons and avoid bone attachments for leaf bones.
In cases where a skinned mesh has children, creates two scene nodes with the same name, which both will represent this single gltf node.
Because blend shape animations must target the mesh, adds a separate mapping for ImporterMeshInstance3D node references.
This change will break existing imported scenes with bone attachments and more than one skeleton.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2023-01-26 22:41:58 -08:00
Dmitrii Maganov
abe6d67232
GDScript: Fix test for read-only state of constants
2023-01-27 05:28:08 +02:00