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
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
Delf Neumärker
fd90fc2c9b
Fix handling of negative indices in SurfaceTool
...
(cherry picked from commit 735f75a16b
)
2021-02-18 23:47:35 +01:00
Vignesh1-art
13871deb57
Fixed Invalid function bindings #46135
...
Fixed GDScriptLanguageProtocol::notify_client - have 3 arguments, but only 2 are binded
(cherry picked from commit a5d931033e
)
2021-02-18 23:46:54 +01:00
skyace65
72aef9d67e
Add information on bb code enabled
2021-02-18 23:46:33 +01:00
Rémi Verschelde
48936dda8a
Merge pull request #38388 from mashumafi/3.2-tileset-use-path
...
TileSet use texture Path instead of RID to prevent name conflicts.
2021-02-18 22:36:23 +01:00
Rémi Verschelde
001aaa7131
Merge pull request #45356 from asmaloney/fix-lightmap-raycaster-compile
...
[3.2] Fix sign comparison error in lightmap_raycaster.cpp
2021-02-18 21:09:29 +01:00
Hein-Pieter van Braam
220f24c191
Merge pull request #45618 from RandomShaper/modernize_mt_3.2
...
Backport of all the multi-threading modernization (3.2)
2021-02-18 20:47:24 +01:00
Rémi Verschelde
418a08d678
Merge pull request #46175 from lawnjelly/gles_sanitizer_fixes
...
GLES - fix some sanitizer warnings
2021-02-18 20:36:56 +01:00
Rémi Verschelde
341c3cb04a
Merge pull request #45316 from Shatur95/detect-plugins-recursively-3.2
...
Detect plugins recursively (3.2)
2021-02-18 20:36:33 +01:00
Rémi Verschelde
7af8da32b1
Merge pull request #45933 from nekomatata/cylinder-support-3.2
...
[3.2] Cylinder support in Godot Physics 3D
2021-02-18 19:36:42 +01:00
lawnjelly
e7d1735bff
GLES - fix some sanitizer warnings
...
These are benign but worth fixing as it clears the log to find more important errors.
A common problem with the sanitizer is that enums are often used to represent bits (e.g. 1, 2, 4, 8 etc) but without specifying the enum type, the compiler is free to use unsigned or signed int. In this case it uses int, and when it performs bitwise operations on the int type, the sanitizer complains.
This is probably because a bitshift with negative signed value can give undefined behaviour - the sanitizer can't know ahead of time that you are using the enum for sensible bitflags.
2021-02-18 15:45:38 +00:00
PouleyKetchoupp
c6fbd55ca9
Cylinder support in Godot Physics 3D
...
Backport of cylinder support from Master.
2021-02-18 08:44:23 -07:00
Rémi Verschelde
1a740e87be
SCons: Make freetype module a mandatory editor dependency
...
Fixes #28650 .
(cherry picked from commit 6b13f33fb0
)
2021-02-18 15:00:23 +01:00
Fredia Huya-Kouadio
ca6e1c1c45
Override `ANDROID_NDK_ROOT` based on the project ndk version.
...
This helps resolve issues where the project ndk version differs from the one pointed by the `ANDROID_NDK_ROOT` environment variable (if it exists).
(cherry picked from commit edeca16fb6
)
2021-02-18 14:59:10 +01:00
Rémi Verschelde
59f807fb4a
Merge pull request #46141 from hilfazer/fix_select_hidden_nodes
...
prevent selecting hidden editable children in spatial editor
2021-02-18 14:45:07 +01:00
Rémi Verschelde
07b66eef0b
Merge pull request #45940 from hoontee/backport-45907
...
[3.2] Improved Inspector Sub-Resource Editing
2021-02-18 14:21:59 +01:00
Rémi Verschelde
16b1331f80
Merge pull request #46149 from nekomatata/fix-test-body-motion-3.2
...
[3.2] Fix test_body_motion recovery and rest info
2021-02-18 14:16:01 +01:00
Rémi Verschelde
3c13a5bb6a
Merge pull request #46168 from m4gr3d/follow_up_splash_handling
...
[3.2] Follow up on bootsplash handling on Android
2021-02-18 13:37:44 +01:00
Rémi Verschelde
0176cc4fca
Merge pull request #46162 from gongpha/jr-_-avoid-get_tree-when-flying-colorpicker
...
[3.2] Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
2021-02-18 13:15:12 +01:00
Rémi Verschelde
3374f84a2f
Merge pull request #46165 from angad-k/fix-mesh-instance-crash
...
add null check in MeshInstance::_mesh_changed()
2021-02-18 13:00:17 +01:00
hoontee
f28c089d64
Improved Inspector Sub-Resource Editing
2021-02-18 05:43:19 -06:00