Rémi Verschelde
aa5993c98b
Merge pull request #46308 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 24th batch
2021-02-22 11:53:51 +01:00
Rémi Verschelde
0abf702d4b
Merge pull request #45957 from lupoDharkael/natural-comp
...
[3.2] Add natural string comparison
2021-02-22 11:07:54 +01:00
Rémi Verschelde
d0bc914491
i18n: Sync translations with Weblate
2021-02-22 11:04:13 +01:00
Danil Alexeev
baf4720fd3
Fix "editor/editor_help" shortcut (again)
...
(cherry picked from commit c6435e1d47
)
2021-02-22 10:42:26 +01:00
Andy Maloney
e262c6b8bc
[docs] Clarification on theme's get_stylebox
...
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
(cherry picked from commit d397c32169
)
2021-02-22 10:41:30 +01:00
Marcel Admiraal
95272e11c4
Remove unused variables from full-size.html
...
(cherry picked from commit 548edfc4fe
)
2021-02-22 10:18:26 +01:00
Marcel Admiraal
e89ba5fb49
Add missing semicolons to webxr.eterns.js
...
(cherry picked from commit 92e0a84a4c
)
2021-02-22 10:17:23 +01:00
Hugo Locurcio
3122d12365
Document theming a SpinBox's background
...
This closes #46248 .
(cherry picked from commit 159581739a
)
2021-02-22 10:17:09 +01:00
kleonc
566ad4fd22
Label::set_lines_skipped Fail if passed a negative value
...
(cherry picked from commit d7bb7cad47
)
2021-02-22 10:16:54 +01:00
kleonc
bd7c24371d
Line2D::set_point_position Fail if passed index is out of bounds
...
(cherry picked from commit df49fdd189
)
2021-02-22 10:16:22 +01:00
Hugo Locurcio
e5d0889c49
Document that Button doesn't interpret touch input (= no multitouch)
...
TouchScreenButton should be used for gameplay actions instead.
(cherry picked from commit f6087d3f2b
)
2021-02-22 10:16:06 +01:00
Hugo Locurcio
2b3412a3be
Use space indentation for all YAML files in .editorconfig
...
YAML only accepts spaces for indentation, not tabs.
(cherry picked from commit 076b17ff6c
)
2021-02-22 10:15:50 +01:00
Kongfa Waroros
af5fe70623
Keep Hue value when Saturation or Value is zero
...
(cherry picked from commit 27749711b2
)
2021-02-22 10:15:29 +01:00
nc
bc86f3e27e
improve error message when travel() is called on an AnimationNodeStateMachine when the state machine is not playing
...
(cherry picked from commit 0c968d603a
)
2021-02-22 10:15:00 +01:00
Hugo Locurcio
f1bbb4fe3f
Increase the page size for array/dictionary editors to 20
...
With smaller arrays/dictionaries, this makes it possible to view all of
an array/dictionary's items on a single page.
Larger values could be used, but make switching between node selections
quite slow, especially on low-end CPUs. They could also be problematic
with complex resource inspectors for arrays/dictionaries that contain
Resources.
This closes https://github.com/godotengine/godot-proposals/issues/2058 .
(cherry picked from commit d97d65b184
)
2021-02-22 10:15:00 +01:00
Tomasz Chabora
a8105d73c7
Warn when setting Control size inside ready()
...
(cherry picked from commit 84da090a69
)
2021-02-22 10:15:00 +01:00
PouleyKetchoupp
cefaa6fb06
Fixed export var default value in PackedScene when script is not loaded in editor
...
(cherry picked from commit 4e14eefd94
)
2021-02-22 10:15:00 +01:00
Rémi Verschelde
54eabaad8c
Merge pull request #46304 from lyuma/audio_effect_capture_3.2
...
Backport d800329
AudioEffectCapture to 3.2
2021-02-22 08:44:18 +01:00
Lyuma
069c08e155
Backport d800329
AudioEffectCapture to 3.2
2021-02-21 20:14:58 -08:00
Rémi Verschelde
bc2d9604b4
Merge pull request #46291 from Calinou/debug-collision-shapes-draw-outline-3.2
...
Draw an outline for 2D debug collision shapes
2021-02-21 19:50:10 +01:00
Hugo Locurcio
aacaad5066
Draw an outline for 2D debug collision shapes
...
This makes them easier to distinguish, especially when used
in a TileMap.
The default color's opacity has been slightly decreased to account
for the new outline.
2021-02-21 17:55:54 +01:00
Rémi Verschelde
4b9b9ed2f2
Merge pull request #46261 from hilfazer/fix_canvas_item_editor_select_hidden_nodes
...
Prevent selecting hidden nodes in Canvas Item Editor
2021-02-21 11:59:18 +01:00
hilfazer
28fa0f5d13
Prevent selecting hidden nodes in Canvas Item Editor
2021-02-20 20:30:16 +01:00
Hein-Pieter van Braam
f15f5b4578
Merge pull request #46242 from hpvb/dri-prime-amd
...
[3.2] Add 'AMD' GPU vendor name to PRIME detector
2021-02-20 17:19:04 +01:00
Rémi Verschelde
029f559384
Merge pull request #46254 from hpvb/fix-clang-atomic_32
...
[3.2] Use -latomic when linking whe using clang on Linux
2021-02-20 17:18:57 +01:00
Hein-Pieter van Braam-Stewart
0cce213f14
Use -latomic when linking whe using clang on Linux
...
According to the LLVM documentation when using GNU's libstdc++ clang
will not automatically link with -latomic. This is necessary since we
merged c++11 atomics support.
This fixes linking using Clang on Linux
2021-02-20 16:37:00 +01:00
Rémi Verschelde
1db796a2dc
Merge pull request #46240 from hpvb/dylib_old_inttypes_32
...
[3.2] An update to the dylibloader for older inttypes
2021-02-20 08:55:40 +01:00
Hein-Pieter van Braam-Stewart
92687b4544
Add 'AMD' GPU vendor name to PRIME detector
...
Apparently some recent Mesa version also changed AMD's vendor string. In
addition I found a small uninitialized variable that's corrected now.
2021-02-20 02:03:05 +01:00
Hein-Pieter van Braam-Stewart
6e9cea9fd2
An update to the dylibloader for older inttypes
...
This #define's older inttypes to their newer versions and #includes
<stdint.h> in the generated files. This will help with older
glibc/compiler versions using headers generated on newer systems.
cherry picked from 5233d78f49
2021-02-20 01:25:19 +01:00
Ellen Poe
3f2cfe9b07
Implement a new resampling algorithm in AudioStreamPlaybackResampled
...
(cherry picked from commit b2264cb48b
)
2021-02-19 16:17:25 +01:00
Yuri Sizov
57e57872fd
Add documentation for EditorPlugin's build method
...
(cherry picked from commit 724ed88215
)
2021-02-19 15:55:57 +01:00
Ellen Poe
8ac22bdae4
Don't fade out after pausing unless stream is running
...
(cherry picked from commit eb5566f5c5
)
2021-02-19 15:55:41 +01:00
Ellen Poe
d55501505c
Initialize fadeout to false in AudioStreamPlayer
...
(cherry picked from commit b8a13a4968
)
2021-02-19 15:55:34 +01:00
Ellen Poe
9178f694ea
Prevent distortion filter from introducing NaNs in the audio buffer.
...
(cherry picked from commit b6b97b86ab
)
2021-02-19 15:55:12 +01:00
Delf Neumärker
4065fa0bcf
Fix crash when calling connect_nodes_forced with invalid params
...
(cherry picked from commit 4a468171e5
)
2021-02-19 15:54:00 +01:00
Hugo Locurcio
9f236d48e6
Don't allow negative values for OS.delay_usec()
/OS.delay_msec()
...
This closes #46190 .
(cherry picked from commit 76f1f9b3c5
)
2021-02-19 15:52:54 +01:00
Eoin O'Neill
2fb221e79a
Collision Shape 2D 'Disabled' Visualization Correction
...
Having white or strongly desaturated debug collision shape color
setting would make it harder to visualize enabled / disabled state.
This change makes it easier to visualize enabled / disabled state
by reducing the alpha color by half when disabled.
(cherry picked from commit 0c4594f6c9
)
2021-02-19 15:51:43 +01:00
Borislav Kosharov
96ff829816
fix file dialog filename cleared when selecting favorites
...
(cherry picked from commit 318d5442ec
)
2021-02-19 15:51:19 +01:00
Rémi Verschelde
0d94bf707f
Merge pull request #46201 from Faless/js/3.x_canvas_size_pr
...
[3.2] [HTML5] Easier HTML templates, better canvas size handling.
2021-02-19 15:16:59 +01:00
Rémi Verschelde
b7695f13d2
Merge pull request #46217 from Chaosus/fix_scenetree_timeout_3.2
...
[3.2] Fix connecting signal to `SceneTreeEditor::update_timer`
2021-02-19 13:43:40 +01:00
Rémi Verschelde
e6c1c1b300
Merge pull request #46198 from RandomShaper/volatile_robustness_3.2
...
Improve robustness of atomics (3.2)
2021-02-19 12:53:26 +01:00
Yuri Roubinsky
d5cb968b81
[3.2] Fix SceneTreeEditor::update_timer
- timeout signal
2021-02-19 14:39:53 +03:00
Pedro J. Estébanez
76d5ab8b9a
Restore needed null check in OS_Unix::execute()
2021-02-19 11:48:30 +01:00
Pedro J. Estébanez
55b5f98402
Improve robustness of atomics
...
And fix increment in `CowData` not being conditional anymore after the recent changes.
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-19 11:48:30 +01:00
Rémi Verschelde
be8b7571c8
Merge pull request #46205 from clayjohn/GLES3-multi-light
...
Multiply vertex lit DirectionalLights by albedo in GLES3
2021-02-19 09:36:29 +01:00
Luke Hubmayer-Werner
0974cf15f6
Documentation: Correct CanvasItem.draw_string position description.
...
Also add height warnings to Font.get_char_size and Font.get_string_size
2021-02-19 18:33:27 +10:30
clayjohn
c29ade28af
Multiply vertex lit DirectionalLights by albedo in GLES3
2021-02-18 20:56:45 -08:00
Fabio Alessandrelli
45a67fab35
[HTML5] Better fullscreen, canvas resizing.
...
Three canvas resize policies:
- `None`: Godot window settings are ignored.
- `Project`: Godot handles the canvas like a native app (resizing it
when setting the window size).
- `Adaptive`: Canvas size will always adapt to browser window size.
Use `None` if you want to control the canvas size with custom JavaScript
code.
2021-02-19 05:13:44 +01:00
Fabio Alessandrelli
1eef8a318b
[HTML5] Easier HTML templates, better deinit/cleanup.
2021-02-19 05:13:44 +01:00
Rémi Verschelde
8651838268
doc: Fixup RichTextLabel bbcode_enabled note
2021-02-19 00:04:32 +01:00