Commit Graph

34264 Commits

Author SHA1 Message Date
5ccb86276c Merge pull request #65403 from lawnjelly/batching_ununit_color 2022-09-06 09:55:39 +02:00
feea3df0dc Merge pull request #65364 from akien-mga/3.x-cherrypicks 2022-09-06 09:51:11 +02:00
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
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
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
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
0511f48c49 Fix Viewport size change not updating textures
(cherry picked from commit 3a4a4aeade)
2022-09-05 15:35:45 +02:00
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
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
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
739919469e Mention that grab_focus is more reliable deferred
(cherry picked from commit 188d5593e1)
2022-09-05 15:35:45 +02:00
737bfa57d3 Allow to change the Stop shortcut used at runtime
(cherry picked from commit 409613ba7b)
2022-09-05 15:35:45 +02:00
9ca40f0e0a Cast between float and ints in SceneTreeTween.tween_property()
(cherry picked from commit 2b18a4002c)
2022-09-05 14:58:56 +02:00
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
ac31fac9a5 Improve documentation related to audio input permissions 2022-09-03 01:36:55 +02:00
b38ac3f09f Merge pull request #55618 from madmiraal/fix-55384-3.x 2022-09-01 23:58:12 +02:00
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
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
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
a6ed4649de Make Git hooks work on worktrees on Windows
(cherry picked from commit 4bf03afe8b)
2022-09-01 10:34:13 +02:00
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
0881ca5cca Merge pull request #64778 from akien-mga/3.x-mono-uwp-unsupported 2022-08-31 21:03:55 +02:00
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
2ee933bb77 Merge pull request #64920 from lawnjelly/bind_physics_interpolation
Bind Physics Interpolation functions in VisualServer
2022-08-30 22:02:58 +02:00
9910d4681d Additional fixes to the Android get_current_dir() implementation. 2022-08-30 10:08:30 -07:00
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
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
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
aeb70fc0e2 Merge pull request #65043 from akien-mga/3.x-cherrypicks 2022-08-30 12:51:53 +02:00
bbaedffb93 Merge pull request #64875 from fabriceci/ulgy-hack-bullet-margin 2022-08-30 11:44:25 +02:00
f624acef42 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023)
2022-08-30 11:05:37 +02:00
77a4615031 Update all AnimationTree's editors when editing
(cherry picked from commit 0f17fe642c)
2022-08-30 11:03:24 +02:00
747d30d567 Merge pull request #64372 from smix8/navigation_fix_obstacles_default_map_3.x 2022-08-30 11:01:30 +02:00
32367e41de Merge pull request #65067 from bruvzg/fix_dup_locales3 2022-08-30 09:41:28 +02:00
ac00cad299 Merge pull request #65050 from KoBeWi/suffix_b3gon3 2022-08-30 09:14:06 +02:00
7df5f37237 Merge pull request #64495 from kleonc/scene-dock-change-many-node-unique-names-3x
[3.x] `SceneTreeDock` Allow/fix toggling unique name in owner for all selected nodes
2022-08-30 08:43:16 +02:00
c551a79084 Merge pull request #65063 from Atlinx/fix/65033_fix-hdr-warning
Disable HDR warning for Viewport on GLES2 projects
2022-08-30 08:38:06 +02:00
3a24839cb2 [3.x, macOS / iOS Export] Fix generation of duplicate locale property list files. 2022-08-30 08:16:49 +03:00
e3b3462187 Remove HDR warning if on low end 2022-08-29 19:14:30 -04:00
8c9cd1d3ae Hide prefix/suffix on SpinBox focus 2022-08-29 18:06:25 +02:00
6e95397180 Update UPnP documentation
Adds more details, especially about caveats, failure modes and pitfalls

(cherry picked from commit be41c09769)
2022-08-29 15:56:43 +02:00
4f3c12c23d UPNP: Don't delete mappings when adding mappings
Don't delete previous mappings when adding a new mapping.
This was a old workaround that seems to cause issues.

(cherry picked from commit 2685cc7bb6)
2022-08-29 15:56:04 +02:00
44af879438 Linux: Fix GNU ld detection for pck_embed linker script
(cherry picked from commit fce3602a1e)
2022-08-29 15:55:45 +02:00
5d0cd8659b Fix forwarding of CLI arguments taking an option
(cherry picked from commit 335a4099de)
2022-08-29 15:53:25 +02:00
9644e9a046 Fix missing URL text in the classref
(cherry picked from commit a90c348a86)
2022-08-29 15:45:30 +02:00
29e235b341 Add FileAccess::get_access_type()
(cherry picked from commit 8c6b2fbb90)
2022-08-29 15:44:29 +02:00
b0ab7ac446 Merge pull request #65021 from timothyqiu/lineedit-submitted
[3.x] Fix `SceneCreateDialog` signal connection
2022-08-29 09:58:27 +02:00
ea15422d9f Merge pull request #65020 from timothyqiu/anim-docs-null-3.x
[3.x] Improve documentation for `get_animation()`
2022-08-29 09:50:35 +02:00
cb821f2245 Fix SceneCreateDialog signal connection 2022-08-29 15:42:38 +08:00
fed2879463 Improve documentation for get_animation() 2022-08-29 14:56:26 +08:00