Commit graph

34283 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
4be7c91cd9 Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:25:22 -07:00
Rémi Verschelde
92fa63886c
Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection 2022-09-07 17:52:24 +02:00
Rémi Verschelde
073032b6d0
Merge pull request #65429 from PhoenixFlame101/fix-code-folding-icon-color-58379 2022-09-06 21:42:33 +02:00
Abhinav Chennubhotla
8acc25578e Fix code folding icon color not matching defined color
Cherrypick of #58457 in master

Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.

    - Create new icons for use specifically in the code editor
    - Add these icons to the exceptions when converting dark theme icons
    to light theme automatically
    - Change the default value of the code folding color to match previous
    color
    - Code folding icon is now pure white by default to correctly match
    the color defined in settings
2022-09-06 21:50:33 +05:30
Rémi Verschelde
930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
Rémi Verschelde
4682144eb8 Merge pull request #65408 from lawnjelly/dir_light_uninit
Fix GLES directional shadow uninitialized data
2022-09-06 12:31:20 +02:00
Rémi Verschelde
e2030748b0 Merge pull request #65411 from lawnjelly/flow_container_uninit
FlowContainer fix uninitialized data
2022-09-06 12:31:11 +02:00
Rémi Verschelde
ab8d55ca28 Merge pull request #65412 from lawnjelly/findbar_uninit
FindBar fix uninitialized results_count
2022-09-06 12:31:02 +02:00
Rémi Verschelde
a0c2f54e7d Merge pull request #65368 from Calinou/methods-py-fix-missing-import
Fix missing `import sys` in `methods.py`
2022-09-06 12:30:40 +02:00
Rémi Verschelde
d8e590195a Merge pull request #65366 from KoBeWi/3333333_33333_33_3_3333333333
[3.x] Add Dictionary.find_key()
2022-09-06 12:30:11 +02:00
lawnjelly
c8a39f6fb3 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-06 10:02:22 +01:00
lawnjelly
9b294b298e Fix GLES directional shadow uninitialized data
Valgrind shows directional_shadow.fbo accessed when uninitialized in directional_shadow_create.
2022-09-06 09:21:56 +01:00
Rémi Verschelde
bc14fc7039
Merge pull request #65400 from m4gr3d/disable_android_editor_auto_focus_3x 2022-09-06 10:14:55 +02:00
lawnjelly
fa4a325180 FlowContainer fix uninitialized data
This uninitialized data was finding its way into the renderer.
2022-09-06 09:04:00 +01:00
lawnjelly
c254e97c6b FindBar fix uninitialized results_count
Found by Valgrind.
2022-09-06 09:00:04 +01:00
Rémi Verschelde
5ccb86276c
Merge pull request #65403 from lawnjelly/batching_ununit_color 2022-09-06 09:55:39 +02:00
Rémi Verschelde
feea3df0dc
Merge pull request #65364 from akien-mga/3.x-cherrypicks 2022-09-06 09:51:11 +02:00
lawnjelly
23fedc0d1a Batching - fix uninitialized color read
Valgrind was showing a read from uninitialized memory. r_fill_state.curr_batch->color is unset (for performance reasons), so can contain random data.

This actually doesn't matter in practice, since logically this uninitialized state can only occur when change_batch is set, and the only side effect is that change_batch is set. Hence why no bugs occur in practice.

This PR prevents this read from uninitialized data. It is likely free in terms of performance after optimization, and keeps the Valgrind logs clearer, so why not.
2022-09-06 07:01:18 +01:00
Maxim Kulkin
466c912344 Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
Backport of the fix from master to 3.x
2022-09-06 01:35:58 -04:00
Fredia Huya-Kouadio
c875f23750 Disable logic that triggers automatic focus gain as the Godot Editor is loaded
For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
2022-09-05 22:13:03 -07:00
Hugo Locurcio
ea1e4bf9ac
Fix missing import sys in methods.py 2022-09-05 17:14:21 +02:00
kobewi
fdbef1c074 Add Dictionary.find_key() 2022-09-05 16:08:41 +02:00
Micky
b14754d984 Modify newlines in Editor Spin Slider tooltip
Makes both key suggestions easier to read.

(cherry picked from commit a2ba189fef)
2022-09-05 15:35:45 +02:00
Leonardo Santagada
b9eed3a455 Mention an issue with infinite scroll on mirroring of Parallax layer
(cherry picked from commit 74df54a99e)
2022-09-05 15:35:45 +02:00
Hugo Locurcio
d3c9817300 Use verbose prints when registering cameras in CameraServer
This prevents lines from being printed every time the editor or project
starts in the editor Output log.

(cherry picked from commit b83e0b6447)
2022-09-05 15:35:45 +02:00
kobewi
0511f48c49 Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeade)
2022-09-05 15:35:45 +02:00
Rémi Verschelde
2969922ba9 SCons: Enforce version 4.0+ when compiledb=yes is used
Fixes #65233.

(cherry picked from commit 6c5e085d13)
2022-09-05 15:35:45 +02:00
BenniKane
c030cc1ef6 doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit
(cherry picked from commit ed5b832a81)
2022-09-05 15:35:45 +02:00
Micky
a01ae706ae Mark Script button if it's tool in Scene Tree Editor
Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list.

(cherry picked from commit ad5ff9f78f)
2022-09-05 15:35:45 +02:00
kobewi
739919469e Mention that grab_focus is more reliable deferred
(cherry picked from commit 188d5593e1)
2022-09-05 15:35:45 +02:00
kobewi
737bfa57d3 Allow to change the Stop shortcut used at runtime
(cherry picked from commit 409613ba7b)
2022-09-05 15:35:45 +02:00
Micky
9ca40f0e0a Cast between float and ints in SceneTreeTween.tween_property()
(cherry picked from commit 2b18a4002c)
2022-09-05 14:58:56 +02:00
Rémi Verschelde
4d4c6c187d
Merge pull request #65270 from Calinou/doc-audio-input-permissions-3.x
Improve documentation related to audio input permissions (3.x)
2022-09-03 10:15:46 +02:00
Hugo Locurcio
ac31fac9a5
Improve documentation related to audio input permissions 2022-09-03 01:36:55 +02:00
Rémi Verschelde
b38ac3f09f
Merge pull request #55618 from madmiraal/fix-55384-3.x 2022-09-01 23:58:12 +02:00
Marcel Admiraal
3cbc6330bb Fix Geometry::get_closest_points_between_segments() returns NaN
Also fix Geometry::get_closest_distance_between_segments() returning
incorrect values.
2022-09-01 17:51:33 +01:00
Fredia Huya-Kouadio
8d22a5f4c0 Fix build failures for Android on Windows
The issue is caused by https://github.com/godotengine/godot/pull/64306 which makes use of a 3.7 feature while the current recommended python version is 3.5 for 3.x and 3.6 for master.

(cherry picked from commit 667f4ed742)
2022-09-01 10:34:49 +02:00
Pedro J. Estébanez
105e8a8111 Add ability to extend the set of Git pre-commit hooks
(cherry picked from commit 8e2d0e1bb1)
2022-09-01 10:34:29 +02:00
Pedro J. Estébanez
a6ed4649de Make Git hooks work on worktrees on Windows
(cherry picked from commit 4bf03afe8b)
2022-09-01 10:34:13 +02:00
Rémi Verschelde
4196cc0c00
Merge pull request #64445 from timothyqiu/action-completion-3.x
[3.x] Fix action name completion for `Input.get_{axis,vector}`
2022-09-01 08:20:40 +02:00
Rémi Verschelde
0881ca5cca
Merge pull request #64778 from akien-mga/3.x-mono-uwp-unsupported 2022-08-31 21:03:55 +02:00
Rémi Verschelde
4b066320f4
Merge pull request #65093 from m4gr3d/update_get_current_dir_3x
[3.x] Additional fixes to the Android `get_current_dir()` implementation.
2022-08-31 09:01:11 +02:00
Rémi Verschelde
2ee933bb77
Merge pull request #64920 from lawnjelly/bind_physics_interpolation
Bind Physics Interpolation functions in VisualServer
2022-08-30 22:02:58 +02:00
Fredia Huya-Kouadio
9910d4681d Additional fixes to the Android get_current_dir() implementation. 2022-08-30 10:08:30 -07:00
lawnjelly
96a1b86717 Bind Physics Interpolation functions in VisualServer
To allow maximum flexibility in the initial rollout, VisualServer functions were not bound in order to prevent compatibility issues if the API changed.

These functions are now bound to allow direct use from the VisualServer.
2022-08-30 18:06:12 +01:00
Yuri Sizov
373a67b7a0
Merge pull request #63040 from QbieShay/sorting-pivot
[3.x] added options for sorting transparent objects
2022-08-30 18:35:33 +03:00
QbieShay
acdcbefa4e added options for sorting transparent objects
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-08-30 13:39:32 +02:00
Rémi Verschelde
aeb70fc0e2
Merge pull request #65043 from akien-mga/3.x-cherrypicks 2022-08-30 12:51:53 +02:00
Rémi Verschelde
bbaedffb93
Merge pull request #64875 from fabriceci/ulgy-hack-bullet-margin 2022-08-30 11:44:25 +02:00
Atlinx
f624acef42 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023)
2022-08-30 11:05:37 +02:00