Commit graph

33133 commits

Author SHA1 Message Date
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
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
kleonc
d7bb7cad47 Label::set_lines_skipped Fail if passed a negative value 2021-02-21 14:23:57 +01:00
kleonc
df49fdd189 Line2D::set_point_position Fail if passed index is out of bounds 2021-02-21 13:50:11 +01:00
Rémi Verschelde
ff8a1fdc19
Merge pull request #46244 from Calinou/editorconfig-yaml-spaces
Use space indentation for all YAML files in `.editorconfig`
2021-02-21 12:38:28 +01:00
Rémi Verschelde
80a9408f1f
Merge pull request #46268 from Calinou/doc-button-touchscreenbutton
Document that Button doesn't interpret touch input (= no multitouch)
2021-02-21 12:37:32 +01:00
Rémi Verschelde
b87f448785
Merge pull request #46275 from Chaosus/shader_fix_struct_crash
Prevents shader crash if two struct with the same name are declared
2021-02-21 12:02:56 +01:00
hilfazer
442e550114 Prevent selecting hidden nodes in 3D and Canvas Item editors 2021-02-21 11:58:31 +01:00
Yuri Roubinsky
571f4396ea Prevents shader crash if two struct with the same name are declared 2021-02-21 13:47:09 +03:00
Rémi Verschelde
3bb628d8fe
Merge pull request #46272 from Chaosus/shader_fix_struct_crash
Prevents shader crash if passing invalid struct to the return statement
2021-02-21 09:43:51 +01:00
Rémi Verschelde
f6efa78173
Merge pull request #38565 from nekomatata/export-default-values
Fixed export var default value in PackedScene when script is not loaded in editor
2021-02-21 08:53:58 +01:00
Yuri Roubinsky
f91e7e3ba4 Prevents shader crash if passing invalid struct to the return statement 2021-02-21 07:55:40 +03:00