Commit graph

32631 commits

Author SHA1 Message Date
Haoyu Qiu
a25137c48e Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-15 16:49:00 +08:00
Rémi Verschelde
869939c09f
Merge pull request #58085 from lawnjelly/buffer_upload_bytes_bug
Fix GL buffer upload size bugs
2022-02-15 07:43:02 +01:00
Rémi Verschelde
cd531852d5
Merge pull request #58101 from Calinou/environment-clamp-sky-contribution-3.x
Clamp environment light sky contribution to the [0.0; 1.0] range
2022-02-15 07:38:26 +01:00
Hugo Locurcio
08128351a5
Clamp environment light sky contribution to the [0.0; 1.0] range
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.
2022-02-14 17:15:06 +01:00
Rémi Verschelde
9bb6f9576d
Merge pull request #58092 from Calinou/code-edit-improve-completion-scroll-bar-visibility-3.x 2022-02-14 15:48:59 +01:00
Hugo Locurcio
53b96095eb
Improve completion scroll bar visibility in the script editor (3.x)
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 14:54:35 +01:00
lawnjelly
614dc363ab Fix GL buffer upload size bugs
Wrapper functions for uploading buffers to OpenGL take all sizes and offsets in bytes. Some buffer sizes are specified as units (e.g. float) so require conversion to bytes when calling the buffer upload functions.

Two such bugs have been fixed in blendshapes, and parameter names and comments have been changed to emphasize that sizes should be in bytes.

In addition DEV_ASSERTS in the upload wrappers have been changed to ERR_FAIL.
2022-02-14 10:56:06 +00:00
Rémi Verschelde
f68a6daf7d
Merge pull request #58080 from timothyqiu/anim-dup-name-3.x
[3.x] Make duplicate animation prompt for new name
2022-02-14 09:44:22 +01:00
Haoyu Qiu
aaf29c2d58 Make duplicate animation prompt for new name 2022-02-14 14:48:34 +08:00
Rémi Verschelde
d0b446c6d5
Merge pull request #45372 from Firepal/prepass-nightmares 2022-02-11 15:19:26 +01:00
Rémi Verschelde
2771e3a0ae
Merge pull request #57947 from akien-mga/3.x-cherrypicks 2022-02-11 13:45:03 +01:00
Firepal
ff55157d3f Don't use prepass threshold with alpha scissor 2022-02-11 12:01:15 +01:00
Hugo Locurcio
f1d289f6eb
Improve the AudioStreamPlayer2D/3D.area_mask documentation
The documentation was stating that the area mask affects where sounds
can be heard, which is not true. Instead, the area mask affects audio
bus redirection.

Thanks to Azedaxen on the Godot forums for providing this description :)

(cherry picked from commit ab1eaac315)
2022-02-11 09:51:50 +01:00
Fabio Alessandrelli
8988a9bcec
[HTML5] Fetch API now passes credentials.
Used default value before, i.e. "same-origin", now uses "include" (i.e.
include for cross-origin if cross-origin is allowed).

(cherry picked from commit ffe248cbdf)
2022-02-11 09:50:59 +01:00
Rémi Verschelde
7a16bb2ee4
Fix typos with codespell
Using codespell 2.2-dev from current git.

Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.

(cherry picked from commit 1bdb82c64e)
2022-02-11 09:50:59 +01:00
Yuri Sizov
1865f06bef
Extract link titles for translation if available
(cherry picked from commit 2b35ecaee4)
2022-02-11 09:50:59 +01:00
Rémi Verschelde
115b65308e
i18n: Exclude $DOCS_URL links from classref translations
(cherry picked from commit 40691b2ebe)
2022-02-11 09:50:59 +01:00
Haoyu Qiu
1747becfc7
Fix GridMap memory leak
(cherry picked from commit 5d4a141c97)
2022-02-11 09:50:59 +01:00
Haoyu Qiu
e5fd6a5086
Don't display empty Class Properties in feature profile
(cherry picked from commit d9d12cd352)
2022-02-11 09:50:59 +01:00
Hugo Locurcio
52e0613638
Recommend using GitHub attachments for minimal reproduction projects
Third-party file hosts can have their files expire or be removed
by the owner. In comparison, GitHub attachments are more resilient.

This also fixes the link to create a bug report.

(cherry picked from commit 01c1667836)
2022-02-11 09:50:58 +01:00
Jordan Schidlowsky
14a1303f2d
[Net] Non-blocking WebSocket hostname resolution.
Hostname is now resolved during poll in WebSocketClient (wslay) to avoid
blocking during connect.
An attempt is still made to find the hostname in the resolver cache.

(cherry picked from commit 1ec96bc206)
2022-02-11 09:50:58 +01:00
Hayden
6d867b6d13
Make parser treat all exponent literals as float
(cherry picked from commit 1305ff92f7)
2022-02-11 09:50:58 +01:00
Hayden Leete
61cd26be28
Added hex and bin literal support to Expression parser
fixed formatting

(cherry picked from commit 018de19eba)
2022-02-11 09:50:58 +01:00
reduz
e4e3f7d157
Add a signal to notify when children nodes enter or exit tree
-Allows more fine grained notifications (hence better performance) than using the global scene tree signals (node added and removed).
-Required for #55950

(cherry picked from commit fbd9599b04)
2022-02-11 09:50:58 +01:00
Densorius
ca432727d9
Fixed opening new instances of VS 2022 while a instance is already open
(cherry picked from commit 93e2d0446f)
2022-02-11 09:50:58 +01:00
Densorius
1afefea330
Add Visual Studio 2022 support with fallback to 2019
(cherry picked from commit 9ea0508d35)
2022-02-11 09:50:57 +01:00
Rémi Verschelde
72e338e8e7
libwebp: Sync with upstream 1.2.2
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.2/NEWS
(cherry picked from commit 339dcd80ae)
2022-02-11 09:50:57 +01:00
NeilKleistGao
ef0ec3fcfd
Add warning for Windows export when rcedit is not configured 2022-02-11 09:50:57 +01:00
TechnicalSoup
49059e3f26
Expand description for warp_mouse_position method
Add more detail to the description for the warp_mouse_position method, clarifying that the vector is in screen coordinates and relative to an origin at the top of the game window.

(cherry picked from commit 3dc1fad262)
2022-02-11 09:50:57 +01:00
bruvzg
6bcb24f1b8
Add empty translation files to the exported app bundle, to allow translation detection by the OS.
(cherry picked from commit 2eeff4caec)
2022-02-11 09:50:56 +01:00
bruvzg
5378d13c92
[macOS] Add empty translation files to the editor app bundle, to allow translation detection by the OS.
(cherry picked from commit 3b4de845fe)
2022-02-11 09:50:09 +01:00
Max Hilbrunner
12841d536f
DOCS: Object.set() does nothing on type mismatch
(cherry picked from commit bb7d003881)
2022-02-11 09:50:06 +01:00
Rémi Verschelde
cf555f0698
Merge pull request #57960 from timothyqiu/flow-container-3.x 2022-02-11 09:49:17 +01:00
Haoyu Qiu
8231303dec Backport FlowContainer 2022-02-11 14:48:40 +08:00
Rémi Verschelde
118494db8a
Merge pull request #57940 from Calinou/bullet-tweak-kinematic-trimesh-warning-message 2022-02-11 00:06:51 +01:00
Rémi Verschelde
c7f09c1318
Merge pull request #57900 from timothyqiu/canvas-layer-visible 2022-02-10 22:48:05 +01:00
Hugo Locurcio
e7934661da
Tweak the Bullet RigidBody kinematic trimesh warning message
This makes it clearer that primitive or convex shapes must be
used instead.
2022-02-10 22:28:32 +01:00
Rémi Verschelde
77196d4c43
Merge pull request #57903 from aaronfranke/3.x-canvas-editor-scale 2022-02-10 22:24:38 +01:00
Haoyu Qiu
f49ffe4bb0 Backport CanvasLayer visibility 2022-02-11 01:00:35 +08:00
Rémi Verschelde
0c7c640112
Merge pull request #57643 from YeldhamDev/smarter_pm_focus_port 2022-02-10 16:52:08 +01:00
Rémi Verschelde
f50c7f7415
Core: Move generated VERSION_HASH to a .cpp file
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.

(cherry picked from commit 90162851a7)
2022-02-10 13:06:56 +01:00
Aaron Franke
a672f0db17
[3.x] Fix CanvasItemEditor scale editor not using the editor methods 2022-02-10 04:04:53 -06:00
Rémi Verschelde
6dbb67cc73
SCons: Make compilation database generation optional
Saves around 3 s on incremental rebuilds to have it disabled by default.
Can be enabled with `compiledb=yes`.

(cherry picked from commit f94df6fa2b)
2022-02-09 17:36:39 +01:00
Rémi Verschelde
ec12e24e18
SCons: Add fast_unsafe option for faster rebuilds
This reverts #53828 which had caused a significant drop in incremental
rebuild time for debug builds (from 10s to 23s on my laptop).

The "faster but unsafe" options are re-added, as well as adding
`max_drift=60` which we didn't use previously.

These options speed up SCons' own processing of the codebase to decide
what to build/rebuild (i.e. the first step before actually calling the
compiler). This will therefore not make much difference for scratch
builds, and is mostly useful for incremental rebuilds (including "null"
rebuilds with no change).

These options are enabled automatically for `debug` builds, unless
`fast_unsafe=no` is passed.
They are disabled by default for `release` and `release_debug` builds,
unless `fast_unsafe=yes` is passed.

(cherry picked from commit d4553c5126)
2022-02-09 17:35:55 +01:00
Rémi Verschelde
7244ea7e20
Merge pull request #57864 from nathanfranke/3/focus-exact-match 2022-02-09 17:33:22 +01:00
Nathan Franke
c27b05febb
use exact match when checking focus next / previous 2022-02-09 10:18:58 -06:00
Rémi Verschelde
6ea58db2d8
Merge pull request #57851 from vnen/gdscript-infer-type-on-release 2022-02-09 14:05:22 +01:00
Rémi Verschelde
43dfafdfc9
Merge pull request #53296 from lawnjelly/project_settings_dirty_flag 2022-02-09 14:04:45 +01:00
Rémi Verschelde
ae08afc43c
Merge pull request #32255 from lawnjelly/android-s3tc2 2022-02-09 13:42:28 +01:00
Rémi Verschelde
40e579a47f
Merge pull request #57844 from Pineapple/vector2-brackets-operator 2022-02-09 13:26:04 +01:00