Commit Graph

49922 Commits

Author SHA1 Message Date
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
clayjohn
ef246d9156 Remove mesh bone_aabbs as they are not used anywhere and calculating them is a pain 2022-12-14 19:32:19 -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
b7088bbf52 Cache mesh AABB when modified by skeleton and update instance AABB when
skeleton changes
2022-12-14 18:07:07 -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
Markus Sauermann
57ff04278b Fix missing check if shortcut event is handled for Control-nodes
Control-nodes without a shortcut-context were missing a check if
the event was handled, so that a single shortcut-event was passed to
multiple Control-nodes.
2022-12-14 22:22:24 +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
Rémi Verschelde
eba33c67b4
Merge pull request #69902 from BastiaanOlij/improve_gdextension_virtual_ref
Improve logic around using Ref<T> with GDExtension virtual functions
2022-12-14 12:36:34 +01:00
Rémi Verschelde
6b381d1d2d
Merge pull request #70040 from m4gr3d/update_navigation_controls_toggle_main
Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:26:01 +01:00
Rémi Verschelde
45edf35f83
Merge pull request #69726 from xiongyaohua/tweak_curve
Handle corner cases for curve baking
2022-12-14 11:25:55 +01:00
Rémi Verschelde
b99bbcc436
Merge pull request #70039 from xiongyaohua/fix_curve2d_get_closest_offset
Fix Curve2D::get_closest_offset
2022-12-14 11:25:47 +01:00
Rémi Verschelde
feea39f3cf
Merge pull request #69934 from Geekotron/physics3d-ccd-fixes
Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much
2022-12-14 11:25:41 +01:00
Fredia Huya-Kouadio
3083455002 Update the visibility logic for the spatial editor navigation controls 2022-12-13 17:46:12 -08:00
Yaohua Xiong
f806c679de Fix Curve2D::get_closest_offset 2022-12-14 09:46:07 +08:00
Geekotron
57710897d6 Fix Physics3D and Physics2D CCD sometimes adjusting velocity too much (preventing collision) or not enough (allowing tunneling) 2022-12-13 18:01:21 -07:00
Yaohua Xiong
adeef12b12 Handle corner cases for curve baking
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde
db6976eed4
Merge pull request #70028 from clayjohn/PM-GLES3
Added gl_compatibility as an option to the project creation screen
2022-12-14 00:20:52 +01:00
Rémi Verschelde
db0b990e2c
Merge pull request #69527 from clayjohn/surface-name
Index override surface name starting from 1 to match surface name
2022-12-14 00:20:13 +01:00
Rémi Verschelde
f3080459d9
Merge pull request #69732 from KoBeWi/rc_undo
Add remote history to EditorUndoRedoManager
2022-12-14 00:19:23 +01:00
Rémi Verschelde
ef3c756e98
Merge pull request #70024 from bruvzg/te_ime_text
[TextEdit] Fix IME intermediate text not displayed when TextEdit is empty and placeholder is set.
2022-12-14 00:17:08 +01:00
Rémi Verschelde
353fccc0e0
Merge pull request #69968 from raulsntos/dotnet/signal
C#: Rename `SignalInfo` to `Signal` and make awaitable
2022-12-14 00:17:02 +01:00
Rémi Verschelde
ad7b31fe61
Merge pull request #69938 from timothyqiu/open-packed-scene
Add open scene button in Inspector for PackedScene resource
2022-12-14 00:16:54 +01:00
Rémi Verschelde
465d4c1d95
Merge pull request #70009 from clayjohn/glow-hq
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13 23:32:15 +01:00
Rémi Verschelde
fc517e6c89
Merge pull request #70003 from clayjohn/GLES3-cc
Various fixes and documentation for CanvasGroup
2022-12-13 23:31:43 +01:00
clayjohn
324f5364e7 Added gl_compatibility as an option to the project creation screen
Last selected option is saved as default for next time
2022-12-13 14:11:07 -08:00
bruvzg
a56fdea289
[TextEdit] Fix IME intermediate text not displayed when TextEdit is empty and placeholder is set. 2022-12-13 20:22:48 +02:00
clayjohn
bdd4001ef0 Various fixes and documentation for CanvasGroup
Properly apply custom materials with CanvasGroups in the GLES3 backend

Properly blur backbuffer when using a partial rect in forward_plus and
gl_compatibility renderers

Properly set fit_margin when clear_margin is set

Fix shader error during backbuffer clear in mobile renderer
2022-12-13 10:22:18 -08:00
clayjohn
5b5cd2b98b Remove high quality glow as it is not any higher quality than regular glow 2022-12-13 10:15:45 -08:00
Rémi Verschelde
c7c561ffd5
i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit f5f0543aec)
2022-12-13 14:38:58 +01:00
Rémi Verschelde
bd0f008c67
i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit ee8986e146)
2022-12-13 14:38:52 +01:00
Rémi Verschelde
a3b60d9186
Merge pull request #70007 from timothyqiu/nan-scale
Fix crash after executing `ItemList.set_icon_scale`
2022-12-13 14:13:15 +01:00
Rémi Verschelde
c8b6c44c3c
Merge pull request #69890 from Rindbee/use-buffer-to-speed-up
Use buffer to speed up copying/transcribing when renaming dependencies
2022-12-13 14:12:58 +01:00
Rindbee
bc4b5abea8 Use buffer to speed up copying/transcribing when renaming dependencies
If the scene is more complex, you may need to copy/transcribe a
large amount of data, so use buffer to speed up this process.
2022-12-13 17:19:48 +08:00
Rémi Verschelde
cd855f6516
Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changes
Various fixes for OpenXR action map meta data and editing
2022-12-13 10:16:19 +01:00
Rémi Verschelde
cb7984e411
Merge pull request #70010 from akien-mga/graphite-mit
graphite: Update to latest Git, switch to MIT license
2022-12-13 10:13:16 +01:00