Rémi Verschelde
573121ca7f
Merge pull request #46366 from akien-mga/scons-fix-cmdline-bool
...
SCons: Properly handle overriding default values to bool options
2021-02-24 11:14:37 +01:00
Rémi Verschelde
2bdbb0508b
Merge pull request #46341 from angad-k/PathFollow3D-unit-test
...
add PathFollow3D unit test
2021-02-24 10:52:45 +01:00
Rémi Verschelde
a78d2701ce
Merge pull request #46364 from aaronfranke/area-body-signal
...
Use a more specific type for Area2D/3D body signals
2021-02-24 10:38:08 +01:00
Rémi Verschelde
b97ef35585
SCons: Properly handle overriding default values to bool options
...
The `dev=yes` and `production=yes` options work as aliases to set a number of
options, while still aiming to allow overriding specific options if the user
wishes so. (E.g. `production=yes use_lto=no` should work to enable production
defaults *but* disable LTO.)
That wasn't working as `ARGUMENTS.get()` returns a string and not a boolean as
expected by `BoolVariable`, and this wasn't flagged as a bug... So added a
helper method using SCons' `BoolVariable._text2bool` to do the conversion
manually.
2021-02-24 10:23:00 +01:00
Aaron Franke
548de64742
Use a more specific type for Area2D/3D body signals
2021-02-24 00:05:54 -05:00
kleonc
8e82cf8174
MeshDataTool::create_from_surface Fail on invalid index data
2021-02-23 21:37:32 +01:00
Rémi Verschelde
d4191e48c5
Merge pull request #46351 from vnen/bind-clock-direction
...
Bind ClockDirection enum
2021-02-23 18:47:51 +01:00
reduz
b6fce5d750
Added Import Defaults Editor in Project Settings
...
-Change importer defaults in project settings.
-Ability to change them or reset them.
2021-02-23 14:18:02 -03:00
George Marques
f1088e1b70
Bind ClockDirection enum
...
It's the only enum in math_defs.h not bound, and it's used by Plane.
2021-02-23 13:56:28 -03:00
Angad Kambli
1d20280d55
add PathFollow3D unit test
2021-02-23 20:12:25 +05:30
Michael Alexsander
0bc7049099
Apply minor visual enhancements to the Sun/Env Preview
2021-02-23 11:21:26 -03:00
Hein-Pieter van Braam
50d71e7f2a
Merge pull request #46347 from hpvb/static-link-atomic-clang
...
Allow static linking with libatomic using clang
2021-02-23 15:21:14 +01:00
Hein-Pieter van Braam-Stewart
0dc368f9f9
Allow static linking with libatomic using clang
...
When using use_static_cpp we want to statically link with atomic as well
to make sure we don't incur any new runtime dependencies.
Scons doesn't quite support this so we do this little trick.
2021-02-23 14:51:44 +01:00
Rémi Verschelde
e254715e79
Merge pull request #46316 from akien-mga/input-ui_redo-swap-order
...
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
2021-02-23 08:10:37 +01:00
Rémi Verschelde
c5a88e6e91
Merge pull request #46264 from nmrkr/build-planes-axes-check
...
Fix unchecked array access in build_*_planes
2021-02-22 21:42:17 +01:00
Rémi Verschelde
88ee248db0
Merge pull request #46307 from RandomShaper/fix_crash_mono_glue
...
Make glue generation shutdown more graceful
2021-02-22 21:39:01 +01:00
Rémi Verschelde
e1e52b3736
Merge pull request #46315 from reduz/add-preview-sun-and-env
...
Add preview Sun and Environment
2021-02-22 21:12:25 +01:00
reduz
d6a9cff8b7
Add preview Sun and Environment
...
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22 16:56:29 -03:00
Rémi Verschelde
0f9da46b00
Merge pull request #46324 from hpvb/fix-alsa-missing-symbol
...
Omit some functions in alsa wrapper
2021-02-22 20:39:19 +01:00
Hein-Pieter van Braam-Stewart
f42a7f9849
Omit some functions in alsa wrapper
...
These functions don't yet exist on ubuntu 14.04 so this leads to build
problems there. Omitting these symbols in the generated wrappers fixes
this. If we want to start using these symbols at a later date we should
just regenerate the wrapper.
2021-02-22 19:22:53 +01:00
Rémi Verschelde
98c63389d1
Merge pull request #46321 from hpvb/fix-clang-atomic-server
...
Use -latomic when using clang (server platform)
2021-02-22 17:24:54 +01:00
Hein-Pieter van Braam-Stewart
6a146d405c
Use -latomic when using clang (server platform)
...
version of c9b3a00a63
for the server
platform
2021-02-22 17:09:30 +01:00
Delf Neumärker
f054f760e6
Fix unchecked array access in build_*_planes
2021-02-22 16:32:51 +01:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
...
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f
expose edit_selected in Tree
2021-02-22 15:50:21 +01:00
Rémi Verschelde
a0cb81b119
Merge pull request #46313 from goostengine/tests-init-translation-server
...
Initialize `TranslationServer` in the test environment
2021-02-22 15:46:04 +01:00
Rémi Verschelde
12cc660d7d
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
...
That's the most common one we've been using for the general editor, and while the script editor
also supports Ctrl+Y, it should have lower priority.
In theory this code should make both be supported the same but for some reason the general editor
only seems to use the first entry (the script editor does support both).
2021-02-22 15:04:09 +01:00
Andrii Doroshenko (Xrayez)
c7b91309f2
Initialize `TranslationServer` in the test environment
2021-02-22 15:16:46 +02:00
Rémi Verschelde
8c5d4770e9
Merge pull request #46243 from Calinou/improve-get-node-error-message
...
Improve the `get_node()` error message to be more descriptive
2021-02-22 13:02:48 +01:00
Rémi Verschelde
114beb1bee
Merge pull request #46309 from akien-mga/ci-no-debug-symbols
...
CI: Build without debug symbols to reduce cache size
2021-02-22 12:49:54 +01:00
Rémi Verschelde
8107cbd66e
Merge pull request #45934 from angad-k/fix-smoothstep-function-documentation
...
fix minor issue in smooth step function's documentation
2021-02-22 12:38:47 +01:00
Hugo Locurcio
e6abdc943d
Improve the `get_node()` error message to be more descriptive
...
- Mention the origin of the `get_node()` call.
- Mention whether the attempted path is absolute or relative.
See #46214 .
2021-02-22 12:19:23 +01:00
Rémi Verschelde
caea551d41
CI: Build without debug symbols to reduce cache size
...
We often hit "Too Many Requests" errors when uploading the cache with
`actions/cache` because there's a limit of 10 GB every 5 minutes, and we can
easily go over it when we amend or merge several PRs in a short timespan.
This will make the CI artifacts less useful for debugging crashes but there's
no real way around this.
2021-02-22 11:51:55 +01:00
Pedro J. Estébanez
23907e6f19
Make glue generation shutdown more graceful
2021-02-22 11:06:33 +01:00
Rémi Verschelde
29f0ab0303
i18n: Sync translations with Weblate
...
(cherry picked from commit d0bc914491
)
2021-02-22 11:06:33 +01:00
Rémi Verschelde
51d68919ff
Merge pull request #46263 from dalexeev/fix-help-shortcut-2
...
Fix "editor/editor_help" shortcut (again)
2021-02-22 10:37:15 +01:00
Rémi Verschelde
40191a748b
Merge pull request #46253 from asmaloney/docs-theme
...
[docs] Clarification on theme's get_stylebox
2021-02-22 10:35:35 +01:00
Rémi Verschelde
78f696a7a3
Merge pull request #46296 from madmiraal/remove-unused-variables
...
Remove unused variables from full-size.html
2021-02-22 10:18:06 +01:00
Rémi Verschelde
14f6f92a72
Merge pull request #46230 from gongpha/keep-hue-value
...
Keep Hue value when Saturation or Value is zero
2021-02-21 23:36:19 +01:00
Rémi Verschelde
54a1b0a2a4
Merge pull request #46297 from madmiraal/add-missing-semicolons
...
Add missing semicolons to webxr.eterns.js
2021-02-21 22:54:12 +01:00
Rémi Verschelde
fd5d1ed442
Merge pull request #46295 from Calinou/doc-spinbox-theming
...
Document theming a SpinBox's background
2021-02-21 20:00:19 +01:00
Hugo Locurcio
159581739a
Document theming a SpinBox's background
...
This closes #46248 .
2021-02-21 19:32:11 +01:00
Marcel Admiraal
92e0a84a4c
Add missing semicolons to webxr.eterns.js
2021-02-21 16:10:26 +00:00
Marcel Admiraal
548edfc4fe
Remove unused variables from full-size.html
2021-02-21 16:02:15 +00:00
Rémi Verschelde
c97437a8b3
Merge pull request #46277 from angad-k/PathFollow2D-unit-test
...
PathFollow2D unit test
2021-02-21 16:39:54 +01:00
Angad Kambli
eecfe4c981
set up PathFollow2D unit test
2021-02-21 19:47:49 +05:30
Rémi Verschelde
ee093a14ef
Merge pull request #46286 from kleonc/label_set_lines_skipped
...
Label::set_lines_skipped Fail if passed a negative value
2021-02-21 15:08:19 +01:00
Rémi Verschelde
23f2f51924
Merge pull request #43731 from Calinou/test-add-resource
...
Add a test suite for Resource
2021-02-21 14:43:58 +01:00
Rémi Verschelde
5bf741509d
Merge pull request #46284 from kleonc/line2d_set_point_position
...
Line2D::set_point_position Fail if passed index is out of bounds
2021-02-21 14:42:26 +01:00
Rémi Verschelde
6fed9eb287
Merge pull request #46279 from hilfazer/prevent_select_noneditable_nodes_in_editors
...
Prevent selecting hidden nodes in 3D and Canvas Item editors
2021-02-21 14:39:34 +01:00