Commit graph

28235 commits

Author SHA1 Message Date
Rémi Verschelde d7b85fbaa1
Merge pull request #31086 from volzhs/underline
Use underline position and thickness value in font file
2020-05-07 21:18:41 +02:00
Rémi Verschelde ae33cf5f45
Merge pull request #36379 from aaronfranke/color-constructors
Add a Color constructor for Color with alpha
2020-05-07 21:16:51 +02:00
Rémi Verschelde bef52957d0
Merge pull request #38226 from Calinou/increase-camera3d-fov
Increase the default Camera3D field of view to 75
2020-05-07 21:16:21 +02:00
Rémi Verschelde bd75e2538b
Merge pull request #38536 from ThakeeNathees/trnasform-2-transform2d-convert-fix
Fix: can't convert Transform -> Transform2D
2020-05-07 20:56:50 +02:00
JFonS 051f02a3a0 Keep mouse inside 3D viewport rotation widget
Hide and keep the mouse in place when the user oribts the scene via the 3D
rotation widget.
2020-05-07 19:19:54 +02:00
Thakee Nathees e32cdbe568 Fix: can't convert Transform -> Transform2D
Fix: #38528
2020-05-07 21:40:53 +05:30
Rémi Verschelde 77e19d116e
Merge pull request #38522 from ThakeeNathees/printing-empty-string-fix
Fix: printing empty string does nothing in editor output pannel
2020-05-07 18:05:36 +02:00
Rémi Verschelde e59b010dc8
Merge pull request #38535 from bruvzg/silent_wintab
Remove loud WinTab error message.
2020-05-07 18:02:31 +02:00
bruvzg ba85db5a79
Remove WinTab error message. 2020-05-07 15:51:19 +03:00
Rémi Verschelde b62218bbac
Merge pull request #38385 from ThakeeNathees/method-bind-text_edit-set_line
method bind TextEdit::set_line() added
2020-05-07 13:43:34 +02:00
Rémi Verschelde 621139138d
Merge pull request #38530 from akien-mga/jpgd-fix-msvc-sse2-detection
jpgd: Fix detection of SSE2 support with MSVC
2020-05-07 13:27:25 +02:00
Rémi Verschelde 3806efbaa7 jpgd: Fix detection of SSE2 support with MSVC
The previous code would always use SSE2 intrinsics, which is not valid
on UWP ARM platforms (and likely not on some x86 platforms either).

The patch has been submitted upstream too:
https://github.com/richgel999/jpeg-compressor/pull/13
2020-05-07 13:11:46 +02:00
Rémi Verschelde 49a1e3db12
Merge pull request #38524 from hoontee/master
Fix bug with AudioStreamPlayer3D audio position
2020-05-07 11:18:20 +02:00
Rémi Verschelde 9668c1cd22
Merge pull request #38525 from madmiraal/fix-kinematic-on_slope-documentation
Make 2D and 3D KinematicBody move_and_slide() documentation consistent.
2020-05-07 11:14:57 +02:00
hoontee 330bd686ab
Fix bug with AudioStreamPlayer3D audio position
Applies 0c78a58b64 to `AudioStreamPlayer3D::play`.
2020-05-07 02:23:50 -05:00
Marcel Admiraal da13b74cc8 Make 2D and 3D KinematicBody stop_on_slope documentation the same. 2020-05-07 08:18:23 +01:00
Rémi Verschelde 112884deee
Merge pull request #38520 from nobuyukinyuu/popupmenu-current-index
PopupMenu.get_current_index() bound to ClassDB
2020-05-07 09:04:36 +02:00
Rémi Verschelde 1ff97485df
Merge pull request #38474 from akien-mga/clang-format-javaimportgroups
clang-format: Add JavaImportGroups for Java code
2020-05-07 07:56:30 +02:00
Thakee Nathees 5640cad1e1 Fix: printing empty string does nothing in editor output pannel
Fix: #38490
2020-05-07 05:56:29 +05:30
Rémi Verschelde 6038325470 clang-format: Add JavaImportGroups for Java code 2020-05-06 23:26:43 +02:00
nobuyuki_nyuu 35f30086de PopupMenu.get_current_index() bound to ClassDB 2020-05-06 15:27:35 -05:00
Rémi Verschelde 804ee245a7
Merge pull request #38519 from Calinou/linux-desktop-prefer-non-default-gpu
Request the dedicated GPU when starting Godot from the `.desktop` file
2020-05-06 21:32:42 +02:00
Hugo Locurcio b896ca8722
Request the dedicated GPU when starting Godot from the .desktop file
See <https://www.hadess.net/2020/05/dual-gpu-support-launch-on-discrete-gpu.html>
for more information on this newly added `.desktop` entry property.
2020-05-06 21:09:40 +02:00
Rémi Verschelde 50f4f0f9ae
Merge pull request #38506 from madmiraal/fix-scale-calculation
Fix scale calculation in VHACD Volume::Voxelize().
2020-05-06 15:08:19 +02:00
Marcel Admiraal 75553c4f90 Fix scale calculation in VHACD Volume::Voxelize(). 2020-05-06 13:14:33 +01:00
Rémi Verschelde aca9cfa76c
Merge pull request #38495 from DarkMessiah/tree-bind-suffix
Bind set_suffix and get_suffix in Tree
2020-05-06 13:58:34 +02:00
Rémi Verschelde b9594b2c10 doc: Sync classref with current source 2020-05-06 10:27:02 +02:00
Rémi Verschelde ca289f4d6f
Merge pull request #38488 from EricEzaM/adjust-stretch-ratio-value-range-and-documentation
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06 10:06:53 +02:00
Stanislav Labzyuk ac8814624d Bind set_suffix/get_suffix in Tree 2020-05-06 14:47:19 +07:00
Eric M 915ab50673 Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range 2020-05-06 17:43:31 +10:00
Rémi Verschelde 33d0b9e169
Merge pull request #38393 from nekomatata/printerr-remote-debugger-4.0
Format remote printerr properly in script debugger output
2020-05-06 07:31:57 +02:00
Rémi Verschelde cbb86fdf08
Merge pull request #38427 from EricEzaM/fix-custom-property-revert-implementation
Stop trying to revert to script/class default values when script implementation of property_can_revert exists
2020-05-06 07:29:42 +02:00
Rémi Verschelde 42649565e9
Merge pull request #38475 from Chaosus/vs_quals
Added uniform qualifiers to visual shaders
2020-05-06 07:27:35 +02:00
Rémi Verschelde 9a8136d868
Merge pull request #38492 from follower/patch-10
Fix suffix property doc typo: "prefix" -> "suffix"
2020-05-06 07:24:55 +02:00
follower ae067413a5
Fix suffix property doc typo: "prefix" -> "suffix" 2020-05-06 05:00:12 +12:00
Pedro J. Estébanez 46bfe4452f Fix object leaks caused by unfulfilled yields
Now the stack saved in a `GDScriptFunctionState` is cleared as soon as the `yield()` operation is known not to be resumed because either the script, the instance or both are deleted.

This clears problems like leaked objects by eliminating cases of circular references between `GDScriptFunctionState`s preventing them and the objects they refer to in their saved stacks from being released. As an example, this makes using `SceneTreeTimer` safer.

Furthermore, with this change it's now possible to print early warnings about `yield()`s to released script/instances, as now we know they won't be successfully resumed as the condition for that happens. However, this PR doesn't add such messages, to keep the observed behavior the same for the time being.

Also, now a backup of the function name in `GDScriptFunctionState` is used, since the script may not be valid by the time the function name is needed for the resume-after-yield error messages.
2020-05-05 17:54:15 +02:00
Rémi Verschelde 4d50f747d5
Merge pull request #37293 from Janglee123/ctrl-click-improvements
Improved go-to definition (Ctrl + Click)
2020-05-05 16:49:15 +02:00
Rémi Verschelde 8227947d41
Merge pull request #38415 from madmiraal/fix-array-slicing
Fix array slicing.
2020-05-05 16:44:52 +02:00
Rémi Verschelde 88e242116a
Merge pull request #38480 from ThakeeNathees/tween-get-set-fix
Fix: Tween always return true for _get(), _set()
2020-05-05 16:43:54 +02:00
Rémi Verschelde 192529c2d0
Merge pull request #38483 from bruvzg/wintab_api
Add support for the WinTab API for pen input.
2020-05-05 16:27:51 +02:00
Rémi Verschelde 28e9a78859 Update DONORS list 2020-05-05 16:24:40 +02:00
Rémi Verschelde 0caf55a481 i18n: Sync translations with Weblate
(cherry picked from commit 00b5663782)
2020-05-05 16:05:56 +02:00
Rémi Verschelde fa0c347c86
Merge pull request #38468 from m4gr3d/fix_permissions_handling_bug
Address `OS.request_permissions()` bug when a non-platform permission is included
2020-05-05 13:29:07 +02:00
bruvzg d978658f81
[Windows] Add support for the WinTab API for pen input. 2020-05-05 14:16:02 +03:00
Yuri Roubinsky e1b4c771ce
Merge pull request #38479 from Chaosus/vs4_canvas_input_fixes
Some fixes for canvas item visual shader inputs
2020-05-05 14:06:33 +03:00
Thakee Nathees 2811268231 Fix: Tween always return true for _get(), _set() 2020-05-05 16:32:33 +05:30
Yuri Roubinsky 463e4ad0f5 Some fixes for canvas item visual shader inputs 2020-05-05 13:19:36 +03:00
Fredia Huya-Kouadio ef62506e5c Address OS.request_permissions() bug when non-platform permission(s) is included 2020-05-05 10:33:46 +02:00
Yuri Roubinsky 082542b525 Added uniform qualifiers to visual shaders 2020-05-05 11:25:48 +03:00
Rémi Verschelde 1c23a0cc7f
Merge pull request #38465 from madmiraal/fix-38457
Check for empty vectors before trying to access a pointer to the first element in Octree<T, use_pairs, AL>::cull_convex().
2020-05-05 08:04:04 +02:00