Raul Santos
ef9e2c8ca8
Rename math 'phi' arguments to 'angle' in C#
...
(cherry picked from commit d0e586fc7e
)
2022-08-01 10:38:58 +02:00
bruvzg
e0101e511c
Improve some export error messages.
...
(cherry picked from commit ea00cf7270
)
2022-08-01 10:37:04 +02:00
Rémi Verschelde
cc4c959268
SCons: Fix creating VS solution with SCons 4.4.0
...
Fixes #63709 .
Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
(cherry picked from commit 89847dc6e3
)
2022-08-01 10:31:56 +02:00
bruvzg
12e10457e1
[macOS, Mono] Fix "Wdeprecated-declarations" build error.
...
(cherry picked from commit 5d54c015b2
)
2022-08-01 10:30:43 +02:00
Rémi Verschelde
9d0d9ff424
Merge pull request #63745 from akien-mga/3.x-file-get_as_text-skip-CR
...
[3.x] File: Re-add support to skip CR (`\r`) in `File::get_as_text`
2022-08-01 07:54:32 +02:00
Rémi Verschelde
751b16a285
File: Re-add support to skip CR (\r
) in File::get_as_text
...
This was removed in #63481 , and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.
For performance this is done directly in `String::parse_utf8`.
Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.
Supersedes #63717 .
(cherry picked from commit 1418f97c70
)
2022-08-01 00:40:55 +02:00
Rémi Verschelde
f9db8fa70a
Merge pull request #63721 from akien-mga/scons-fix-x11-use_lld-fallback
2022-07-31 22:31:12 +02:00
Rémi Verschelde
10e8a25ce7
SCons: Fix X11 use_lld
fallback not being applied
2022-07-31 13:49:12 +02:00
Rémi Verschelde
82ed8a66df
Merge pull request #63685 from aaronfranke/3.x-translated
...
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 20:18:05 +02:00
Aaron Franke
4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 11:54:19 -05:00
Rémi Verschelde
284dbef733
Merge pull request #63639 from twobitadder/scenetree_docs_how_do_i_rebase
...
updated SceneTree docs to include information on passing in null
2022-07-30 11:22:40 +02:00
Rémi Verschelde
4a8d3bf129
Merge pull request #63649 from snailrhymer/meshinstance-fix
...
Fix typo in MeshInstance.xml
2022-07-30 09:21:51 +02:00
SnailRhymer
eb7ce02239
Fix typo in MeshInstance.xml
2022-07-29 22:21:22 +01:00
Rémi Verschelde
5ea00ad3f0
Merge pull request #63637 from dsnopek/multiplayer-custom-more-docs-3.x
...
[3.x] Add error messages and docs to explain restrictions when calling NetworkedMultiplayerCustom.initialize()
2022-07-29 22:38:19 +02:00
twobit
359205f7d7
updated scenetree docs to include information on passing in null
2022-07-29 15:47:53 -04:00
David Snopek
5eaf83f2d7
Add error messages and docs to explain restrictions when calling NetworkedMultiplayerCustom.initialize()
2022-07-29 13:51:44 -05:00
Fabio Alessandrelli
97d7c7c295
Merge pull request #63628 from dsnopek/multiplayer-custom-docs-3.x
...
[3.x] Add error messages and docs to explain allowed transitions in NetworkedMultiplayerCustom.set_connection_status()
2022-07-29 17:25:43 +02:00
David Snopek
738e76b710
Add error messages and docs to explain allowed transitions in NetworkedMultiplayerCustom.set_connection_status()
2022-07-29 09:02:53 -05:00
Rémi Verschelde
38601ba824
Merge pull request #63616 from smix8/navigation_std_to_localvector_3.5
2022-07-29 13:43:06 +02:00
smix8
d0a78d05eb
[3.5] Replace Navigation std::vector use with LocalVector
...
Replace Navigation std::vector use with LocalVector.
2022-07-29 11:13:20 +02:00
Rémi Verschelde
ca49a14914
Merge pull request #63581 from madmiraal/fix-63330-3.x
2022-07-28 18:52:53 +02:00
Marcel Admiraal
d000a5fa30
Ensure changes to Camera2D's limits don't affect smoothed_camera_pos
2022-07-28 15:30:34 +01:00
Marcel Admiraal
a124d89f01
When Camera2D enters tree, ensure first update is not lost
2022-07-28 15:30:06 +01:00
Rémi Verschelde
dd0d2d5c7d
Merge pull request #63573 from pattlebass/3.x-vibrate-handheld
2022-07-28 13:53:39 +02:00
pattlebass
fb7ecc748f
[3.x] HTML5: Add support for Input.vibrate_handheld()
2022-07-28 13:20:05 +03:00
Rémi Verschelde
516d6b6bad
i18n: Sync classref translations with Weblate
2022-07-27 15:55:38 +02:00
Rémi Verschelde
5e66d2e2c4
i18n: Sync editor translations with Weblate
2022-07-27 15:31:01 +02:00
Rémi Verschelde
76440fe1aa
doc: Fix relative paths in make_rst.py
generated comment
...
Follow-up to #63495 .
(cherry picked from commit f66527ddc3
)
2022-07-27 15:29:28 +02:00
Yuri Sizov
ff7554413b
Improve the autogenerated note in RST docs for class reference
...
(cherry picked from commit f3561696da
)
2022-07-27 15:29:27 +02:00
Andy Maloney
7c06b9b670
Add missing Python type hints in tools/make_rst.py
...
(cherry picked from commit 4b3d6f04a8
)
2022-07-27 15:24:15 +02:00
Pedro J. Estébanez
27aa752335
Keep crash handler status on editor restart
...
(cherry picked from commit 116f03a1b6
)
2022-07-27 15:23:50 +02:00
Rémi Verschelde
6c8d9b8401
Merge pull request #63480 from m4gr3d/fix_remaining_scoped_storage_regressions_3x
...
[3.x] Address remaining scoped storage regressions
2022-07-26 18:15:14 +02:00
Fredia Huya-Kouadio
fc2c202312
Address remaining scoped storage regressions
...
- Accelerate common path used to check the storage scope for a given path
- Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
2022-07-26 07:42:49 -07:00
Kevin Smith
01cfcab5c6
Use bigobj for release MSVC builds
...
Previously it was used only on debug builds, but recent
additions to variant_call.cpp have made that unit too
large even in release_debug.
It was originally set to debug only because using it
breaks mingw, so this only reinstates it for MSVC where
it shouldn't have any drawbacks (famous last words).
Test-Information:
Builds for me with
scons -j 40 platform=windows target=release_debug
and my game then runs from it.
(cherry picked from commit d8900e0020
)
2022-07-26 11:01:55 +02:00
Hugo Locurcio
7edd5e4b39
Require ScriptInstance to be valid in the editor debugger
...
This fixes an issue with visual scripts spamming error messages
in the editor when running the project with the remote scene tree
visible.
(cherry picked from commit 829c824755
)
2022-07-26 11:01:55 +02:00
Alfred R. Baudisch
f00ee23b7a
Script Editor: Don't switch to 2D/3D viewports when selecting nodes
...
Selecting nodes in the Scene dock automatically switches to the relevant 2D
or 3D viewport. This behavior can be annoying while using the Script Editor
and wanting to inspect node properties, so it's now disabled by default when
the Script Editor is active.
This new behavior can be changed back to the previous auto-switching using
the `text_editor/navigation/stay_in_script_editor_on_node_selected` editor
setting.
(cherry picked from commit c4433c3793
)
2022-07-26 11:01:53 +02:00
Rémi Verschelde
44eca8ef24
Merge pull request #63448 from rburing/bvh_debug_fixup_3.x
...
[3.x] Fixup BVH debugging statements
2022-07-25 21:29:09 +02:00
Ricardo Buring
90725964a4
Fixup BVH debugging statements
2022-07-25 18:35:14 +02:00
Rémi Verschelde
5ad86fc830
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
Rindbee, Vitika9
Thanks to all contributors and donors for making Godot possible!
(cherry picked from commit ce959dc753
)
2022-07-25 16:28:13 +02:00
Rémi Verschelde
461353cb37
Merge pull request #63431 from akien-mga/3.x-fix_header_guards
...
[3.x] Code quality: Fix header guards consistency
2022-07-25 16:18:29 +02:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Rémi Verschelde
d3e9ed10e0
doc: Fixup reference to Camera
2022-07-25 14:53:22 +02:00
Nathan Franke
be9d55159d
support git packed refs in version generator
...
(cherry picked from commit 77cf65804c
)
2022-07-25 11:44:52 +02:00
Pedro J. Estébanez
a0448f1d5e
Flush buffered input events on UWP
...
(cherry picked from commit b53d032fb8
)
2022-07-25 11:44:36 +02:00
Rémi Verschelde
83a00d17ea
SCons: Prevent using vsproj
option outside Windows
...
Fixes #63305 .
(cherry picked from commit 4e56f96396
)
2022-07-25 11:44:25 +02:00
Zak Grumbles
967755980f
Improve documentation for Camera3D's current
member
...
* Added additional information to the camera documentation to explain
how the 'current' attribute behaves when multiple cameras are in a
scene.
(cherry picked from commit 349c750b18
)
2022-07-25 11:44:09 +02:00
Derwent Ready (drentsoft)
12968f3107
Clarified usage of TreeItem get_next*() and get_prev*() functions.
...
(cherry picked from commit df5a922880
)
2022-07-25 11:43:41 +02:00
Nathan Franke
14e3d478e1
dependency editor: set current directory to closest existing directory
...
(cherry picked from commit 905c431191
)
2022-07-25 11:42:42 +02:00
bruvzg
d6698c1f81
[Command line export] return 0 exit code when export is finished with warnings.
...
(cherry picked from commit d02bf7584a
)
2022-07-25 11:32:59 +02:00
Rémi Verschelde
be5051422b
Revert "Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container."
...
This reverts commit b73d2980b7
.
This caused a regression. Fixes #63417 .
2022-07-25 11:29:33 +02:00