Commit Graph

49799 Commits

Author SHA1 Message Date
Rémi Verschelde 15631e24f7
Merge pull request #70113 from adamscott/fix-crash-gdscript-from-variant
Fix `GDScript::_get_gdscript_from_variant()` crash
2022-12-15 22:13:34 +01:00
Rémi Verschelde 6889889894
Merge pull request #70112 from Lielay9/patch-1
Fix "p_zfar" to "p_znear" in Projection.create_orthogonal
2022-12-15 22:13:28 +01:00
Rémi Verschelde 5dda8ec88d
Merge pull request #70103 from timothyqiu/tween-cleanup
Fix possible Tween leak on exit
2022-12-15 22:09:32 +01:00
Rémi Verschelde 1bbbb037c1
Merge pull request #70062 from avilches/added-projection-type-to-convert-to
Added Projection to ConvertTo<T> and CreateFrom<T>
2022-12-15 22:09:26 +01:00
Rémi Verschelde 9ba3f9d1db
Merge pull request #69680 from LucasLaukka/bugfix-line_edit
Fix color picker showing incorrect number of digits when changing display scale
2022-12-15 22:09:18 +01:00
Rémi Verschelde 7975ac5a00
Merge pull request #70106 from bruvzg/rtl_nested_tab
[RTL] Fix nested tables getting parent offset applied multiple times.
2022-12-15 22:09:05 +01:00
Rémi Verschelde 47ef0549ee
Merge pull request #70065 from clayjohn/GLES3-attribs
Use instanced array buffer instead of UBO for canvas item batching
2022-12-15 18:45:07 +01:00
Adam Scott 3684fd249e Fix `GDScript::_get_gdscript_from_variant()` crash
The crash would happen, theoretically, when getting the type of a invalid
variant.
2022-12-15 12:29:01 -05:00
Yuri Rubinsky fac614cdea
Merge pull request #70110 from Chaosus/fix_inspector_instance_uniform
Fix undefined
2022-12-15 20:28:45 +03:00
Yuri Rubinsky 5c83e95103
Merge pull request #70016 from Chaosus/refactor_rd_shader_data
fixed https://github.com/godotengine/godot/issues/69949
2022-12-15 20:28:26 +03:00
Hei cc245ff8a6
Fix "p_zfar" to "p_znear" in Projection.create_orthogonal
Was confused why it always gave inf:s.
2022-12-15 19:03:33 +02:00
clayjohn b6a1aa15b1 Use instanced array buffer instead of UBO for canvas item batching
This simplifies the generated shader code which increases both performance and compile time on low end devices
2022-12-15 08:25:44 -08:00
Clay John aa8a899f52
Merge pull request #70104 from RandomShaper/vk_dev_asserts
Replace certain sanity checks with proper dev-only assertions in Vulkan RD
2022-12-15 08:22:17 -08:00
Yuri Rubinsky bf3966abf9 Fix the update of the inspector when instance shader uniform has changed 2022-12-15 18:39:30 +03:00
Yuri Rubinsky d99ea32999
Merge pull request #70102 from Chaosus/rd_remove_usage_indirect 2022-12-15 16:22:19 +03:00
Alberto Vilches 2d60b9c6e4 Added Projection to ConvertTo<T> and CreateFrom<T> 2022-12-15 13:38:09 +01:00
bruvzg ca5a3d0c68
[RTL] Fix nested tables getting parent offset applied multiple times. 2022-12-15 14:05:21 +02:00
Pedro J. Estébanez af6189711e Replace certain sanity checks with proper dev-only assertions in Vulkan RD 2022-12-15 12:34:08 +01:00
Rémi Verschelde 346efd29e0
Fix typos with codespell 2022-12-15 12:24:08 +01:00
Rémi Verschelde cda7df0255
Merge pull request #67024 from alessandrofama/fix-gdvirtual-call-node3dgizmo
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-12-15 12:16:42 +01:00
Rémi Verschelde bc9afb8d47
Merge pull request #70101 from groud/remove_tilemap_warning
Remove a confusing TileMap warning
2022-12-15 12:16:32 +01:00
Rémi Verschelde 85ca32bce6
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@adamscott, @alfredbaudisch, @DarkKilauea, @DeeJayLSP, @dzil123,
@jasonwinterpixel, @jtnicholl, @nikitalita, @Riteo, @rune-scape, @TechnoPorg

Thanks to all contributors and donors for making Godot possible!
2022-12-15 12:11:41 +01:00
Yuri Rubinsky 807632a90c Changed `STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT` type to enum flags 2022-12-15 14:10:37 +03:00
Haoyu Qiu e173710963 Fix possible Tween leak on exit 2022-12-15 19:09:09 +08:00
Gilles Roudière ffec180ccc Remove a confusing TileMap warning 2022-12-15 11:27:38 +01:00
Rémi Verschelde fc9b6ef07f
Merge pull request #70092 from bmolyneaux/patch-1
Clear animation map when import settings is opened
2022-12-15 09:21:39 +01:00
Rémi Verschelde 762c6d4b36
Merge pull request #69709 from RandomShaper/refactor_spirv_reflection
Refactor SPIR-V reflection into a generic RenderingDevice feature
2022-12-15 09:21:35 +01:00
Rémi Verschelde 56ddb70c08
Merge pull request #70083 from clayjohn/Sprite3D-normals
Remove extra range conversion in Sprite3D normal encoding
2022-12-15 09:21:26 +01:00
Rémi Verschelde a194984e96
Merge pull request #70068 from clayjohn/mobile-lights
Initialize light index push constants to 0xFFFFFFFF instead of 0xFFFF
2022-12-15 09:20:44 +01:00
Rémi Verschelde e1bcadd12d
Merge pull request #56804 from Calinou/ssr-add-max-roughness-cutoff
Add maximum roughness cutoff to SSR to improve performance
2022-12-15 09:20:29 +01:00
Yuri Rubinsky 4e5714c23a
Merge pull request #70056 from Chaosus/docs_astargrid 2022-12-15 11:01:42 +03:00
Yuri Rubinsky 56954485ed Refactor `ShaderData` & fix the sorting of shader uniforms 2022-12-15 10:02:59 +03:00
Rémi Verschelde 6debf86d51
Merge pull request #69471 from rune-scape/rune-out-of-order
GDScript: Out of order member resolution
2022-12-15 07:56:23 +01:00
Yuri Rubinsky ecd2c5d5b9 Improve documentation on heuristics in AStarGrid2D 2022-12-15 09:43:17 +03:00
bmolyneaux 7c1cb65978
Clear animation map when import settings is opened 2022-12-14 19:54:48 -08:00
rune-scape 2dfc6d5b69 GDScript: Allow out of order member resolution 2022-12-14 21:44:05 -05:00
Fredia Huya-Kouadio ec4de82ab3
Merge pull request #69990 from exoticorn/fix-android-touch-input
Fix ambiguous touch input events on Android
2022-12-14 18:23:17 -08:00
clayjohn 0c0e1a637e Remove extra range conversion in Sprite3D normal encoding 2022-12-14 15:41:43 -08:00
clayjohn 7b0dd7a3e6 Initialize light index push constants to 0xFFFFFFFF instead of 0xFFFF 2022-12-14 15:20:54 -08:00
Rémi Verschelde 1c5cfc4675
Merge pull request #69761 from KoBeWi/where_undo
Add scope prefix to undo actions
2022-12-14 23:28:40 +01:00
Rémi Verschelde 0872e1483b
Merge pull request #70069 from bruvzg/rtl_fix_image_click_detection
[RTL] Fix image click detection.
2022-12-14 23:28:30 +01:00
Rémi Verschelde f5b0f60e1d
Merge pull request #70072 from clayjohn/comma
Remove comma in gl_compatibility message in new project creation menu
2022-12-14 23:28:24 +01:00
Rémi Verschelde b8e1d6585c
Merge pull request #69971 from neikeq/csharp-vararg-ret-premature-free
C#: Fix premature free of returned Variant in vararg methods
2022-12-14 23:27:40 +01:00
kobewi ff994585b3 Add scope prefix to undo actions 2022-12-14 22:51:10 +01:00
clayjohn 4d818f395e Remove comma in gl_compatibility message in new project creation menu 2022-12-14 12:08:50 -08:00
bruvzg dd7b095f7f
[RTL] Fix image click detection. 2022-12-14 21:27:00 +02:00
Rémi Verschelde 6318320c04
Merge pull request #70023 from Bromeon/gdextension-const-correctness
Extension header: amend const-correctness of `p_args` parameters
2022-12-14 19:55:04 +01:00
Jan Haller ebb3306da3 Extension header: amend const correctness of `p_args` parameters
A while ago, argument arrays were passed as const GDNativeTypePtr* (void* const*)
This was changed to GDNativeConstTypePtr* (void const**), adding const on the value but removing it on the pointer level.
This commit changes argument types to const GDExtensionConstTypePtr* (void const* const*).

Besides object pointers, the same change is applied to variant pointers.
2022-12-14 18:25:30 +01:00
Rémi Verschelde c22876e61c
Merge pull request #70061 from akien-mga/ci-godot-cpp-handle-pr960
CI: Fix dumping GDExtension interface and API for godot-cpp
2022-12-14 17:05:40 +01:00
Rémi Verschelde de5aaf1d13
CI: Fix dumping GDExtension interface and API for godot-cpp
Follow-up to https://github.com/godotengine/godot-cpp/pull/960.

Fix exit code for --dump-extension-api and --dump-gdextension-interface.

Removed the planned API validation step as we still didn't implement
anything, and maintaining a stub isn't useful.
2022-12-14 16:42:14 +01:00