Commit graph

48671 commits

Author SHA1 Message Date
RedMser
f1743263d3 Fix disambiguate_filenames absolute paths on Unix
Also clean up relative path handling to use get_basename()
2022-11-06 16:34:59 +01:00
Corey Williams
f19de2ae4c Add note about inertia being required for apply_torque on various Nodes
- RigidBody2D
  - PhysicsDirectBodyState2D
  - RigidBody3D
  - PhysicsDirectBodyState3D
2022-11-06 10:16:56 -05:00
Rémi Verschelde
f814e15c7f
Merge pull request from alfredbaudisch/select-next-occurrence-better-test
Improve TextEdit::add_selection_for_next_occurrence test case
2022-11-06 16:10:58 +01:00
Rémi Verschelde
cf1e6bb6fc
Merge pull request from alfredbaudisch/backspace-multi-care
Correctly deletes multi-caret selection with backspace
2022-11-06 16:10:32 +01:00
Rémi Verschelde
930a94bfc4
Merge pull request from HolonProduction/android_keys
Fix wrong android key mapping.
2022-11-06 16:05:07 +01:00
Rémi Verschelde
75e5504f75
Merge pull request from pkdawson/fix-index-offsets
RenderingDevice: Fix usage of index offset
2022-11-06 16:03:56 +01:00
Rémi Verschelde
44a0b86f93
Merge pull request from Geometror/doctest-approx
[Tests] Replace Math::is_equal_approx with == and doctest::Approx
2022-11-06 15:58:00 +01:00
Rémi Verschelde
e95dec0c64
Merge pull request from aaronfranke/virtually-virtual
Don't allow instancing virtual node types in the Create New Node dialog
2022-11-06 15:57:49 +01:00
Rémi Verschelde
12b4a263ee
Merge pull request from KoBeWi/late_to_the_call
Add call_deferred() method to Callable
2022-11-06 15:55:43 +01:00
Rémi Verschelde
1836b4b798
Merge pull request from KoBeWi/s_p_l_i_t
Add support for empty delimiter in `String.split()`
2022-11-06 15:54:56 +01:00
Rémi Verschelde
5dfa56474a
Merge pull request from akien-mga/emscripten-warnings-unuset-but-set
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20
2022-11-06 15:53:46 +01:00
Bastiaan Olij
23e0afec1d Update XRServer with starting position of (new) current XROrigin3D 2022-11-06 22:19:44 +11:00
Rémi Verschelde
9580769e9a
Merge pull request from MewPurPur/annoying-whitespaces-trimming-fix
Prevent stripping the edges of strings when using Find in Files
2022-11-06 11:11:59 +01:00
Rémi Verschelde
701019bbfd
Merge pull request from KoBeWi/custom_path_type
Fix extending scripts by path
2022-11-06 11:06:50 +01:00
Rémi Verschelde
13f1d80960
Merge pull request from Faless/web/4.x_editor_fixes
[Web] Fix shutdown, force WebGL2, fix editor run args.
2022-11-05 21:59:31 +01:00
Patrick Dawson
382f0f97d6 RenderingDevice: Fix usage of index offset 2022-11-05 21:03:32 +01:00
Aaron Franke
2557ea9d33
Don't allow instancing virtual resources in the resource picker dialog 2022-11-05 14:45:25 -05:00
Aaron Franke
ba542444e3
Don't allow instancing virtual node types in the Create New Node dialog 2022-11-05 14:45:16 -05:00
Fabio Alessandrelli
59e74374c0 [Editor] Fix invalid run args when remote debug is unavailable. 2022-11-05 14:06:09 +01:00
Fabio Alessandrelli
3ff7964145 [Web] Force WebGL2 when supported. 2022-11-05 14:06:09 +01:00
Fabio Alessandrelli
cece83fdf2 [Web] Improve Godot shutdown and cleanup. 2022-11-05 14:06:09 +01:00
HolonProduction
a3f0dc5a83 Fix wrong android key mapping.
Fixes the wrong mapping of `Key::HOME`. Androids `KEYCODE_HOME` is in fact the hardware home button the right mapping is `KEYCODE_MOVE_HOME`.

Also adds mappings to keys that were not present before.
2022-11-05 13:54:44 +01:00
Rémi Verschelde
6882890a34
Merge pull request from clayjohn/GLES3-batching-tileset
Fix pathological corner case in drawing tileset editor
2022-11-05 09:01:16 +01:00
Alfred Reinold Baudisch
7127e57bf8 Pass caret index when deleting selection with backspace
Fixes and closes 
2022-11-05 08:55:18 +01:00
Hendrik Brucker
f906ff8f89 [Tests] Replace Math::is_equal_approx with == and doctest::Approx 2022-11-05 02:28:00 +01:00
Ignacio Roldán Etcheverry
ec521a405a
Merge pull request from dzil123/fix_array_shuffle
Fix c# Array.Shuffle incorrect mono bindings
2022-11-04 23:54:53 +01:00
Markus Sauermann
65647e9c7d Fix Windowfocus on resizing
When resizing a non-focused window, the previously focused
Window got resized.
This patch grabs focus for the actually resized window, before
starting with the resizing.
2022-11-04 22:24:00 +01:00
Patrick
f9458f9228 Improve error message for invalid library feature flags
Fixes https://github.com/godotengine/godot/issues/63227

My version for the error message is:
`No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s`
2022-11-04 21:45:40 +01:00
clayjohn
3c1e5003ab Fix pathological corner case in drawing tileset editor
Interleaving draw_rect calls with and without a texture forces every rect to
have its own draw call. In this case it meant that there is a draw call for every single
tile in the atlas. This change makes it so the renderer can batch draw calls
which reduced the draw call count by a factor of 512
2022-11-04 13:04:20 -07:00
kobewi
1778301cd0 Add call_deferred() method to Callable 2022-11-04 17:24:34 +01:00
kobewi
8a47a12207 Add support for empty delimiter in String.split 2022-11-04 15:09:12 +01:00
dzil123
2fd2a16d92 Fix c# Array.Shuffle incorrect mono bindings 2022-11-04 06:25:31 -07:00
bruvzg
d77902f33a
Implement SVG in OT support. 2022-11-04 14:10:54 +02:00
Rémi Verschelde
f475c91081
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20 2022-11-04 11:36:13 +01:00
Rémi Verschelde
191c8ed12f
Merge pull request from bruvzg/win_wrapper
Add console wrapper app to handle console i/o redirection on Windows.
2022-11-04 10:49:37 +01:00
Rémi Verschelde
af957bf58e
Merge pull request from Calinou/editor-font-prerendering-fix-add-icon
Fix missing Add icon in the editor font prerendering dialog
2022-11-04 10:48:55 +01:00
Rémi Verschelde
4e47324b3f
Merge pull request from KoBeWi/no_signal🔕
Add `set_value_no_signal()` to Range
2022-11-04 10:48:47 +01:00
Rémi Verschelde
d48ba545ef
Merge pull request from cridenour/modular-color-picker
Modularize the Color Picker via properties and new picker mode.
2022-11-04 10:48:37 +01:00
Rémi Verschelde
1b3667dfc2
Merge pull request from Geometror/test-math-functions
Add a test suite for `Math::` namespace functions (new)
2022-11-04 10:07:03 +01:00
Rémi Verschelde
c1fd7a0c8b
Merge pull request from dsnopek/rt-override-one-method
Collapse three seperate texture storage methods into render_target_set_override()
2022-11-04 10:06:50 +01:00
Rémi Verschelde
21675625a0
Merge pull request from pasi1991/fix_typo_in_visual_instance_3d
Fix typo in method (set_transparecy) of visual_instance_3d
2022-11-04 10:06:27 +01:00
Rémi Verschelde
05ce0e3de1
Merge pull request from groud/fix_corner_terrain_painting
Fix terrain painting in corner-only matching mode
2022-11-04 10:05:58 +01:00
Rémi Verschelde
a13d7a3717
Merge pull request from Calinou/dynamicfont-msdf-no-antialiasing
Hide Antialiasing import option on DynamicFonts with MSDF enabled
2022-11-04 10:05:51 +01:00
Rémi Verschelde
d235b022e6
Merge pull request from AThousandShips/tile_set_alternatives
Fix incorrect drawing of alternative tiles
2022-11-04 10:05:40 +01:00
Rémi Verschelde
f617c30a1e
Merge pull request from akien-mga/vulkan-sdk-1.3.231.1
vulkan: Update all components to Vulkan SDK 1.3.231.1
2022-11-04 10:04:55 +01:00
Chris Ridenour
286e7da162 Modularize the Color Picker via properties. 2022-11-04 00:08:46 -04:00
Hendrik Brucker
e62955b45b Add a test suite for Math:: namespace functions
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-11-04 03:08:08 +01:00
Rémi Verschelde
c98d6142d0
Merge pull request from BastiaanOlij/fix_render_issues_xr
Fix several render issues found while debugging XR
2022-11-03 22:37:42 +01:00
Patrick Dawson
e56fc6b338 Expose vertex_array_create 2022-11-03 22:14:55 +01:00
Patrick Siemsen
0b480c7d99 Fix typo in method of visual_instance_3d 2022-11-03 19:42:14 +01:00