Commit graph

31644 commits

Author SHA1 Message Date
PouleyKetchoupp
b271315bac Release .build_version file handle in Android custom build export 2020-10-28 09:07:20 +01:00
Eric Tuvesson
e892a92ad6 fix(sprite2d): Rect is not handling pixel snap
related https://github.com/godotengine/godot/issues/42985
2020-10-27 23:34:19 +01:00
Rémi Verschelde
98ee852fd3
Merge pull request #43139 from Calinou/doc-unproject-position-behind
Document hiding a Control when its reference point is behind the camera
2020-10-27 23:18:16 +01:00
Rémi Verschelde
bc1eaab3d8
Merge pull request #43104 from Klowner/android-p-cutout-support
Implement DisplayServer::screen_get_usable_rect() for Android
2020-10-27 20:25:12 +01:00
Mark Riedesel
96e22bd9fb Implement OS.get_window_safe_area() for Android 2020-10-27 13:14:00 -04:00
Hugo Locurcio
b3a6937c0c
Document hiding a Control when its reference point is behind the camera
See https://github.com/godotengine/godot/issues/1725.
2020-10-27 17:37:03 +01:00
Rémi Verschelde
54e6338c9b
Vulkan: Make validation layers optional
They're now disabled by default, and can be enabled with the command line
argument `--vk-layers`.

When enabled, the errors about them being missing are now warnings, as
users were confused and thought this meant Vulkan is broken for them.

Fix crash in `~VulkanContext` when validation layers are disabled (exposed by
this PR since before they could not be disabled without source modification).

Also moved VulkanContext member initializations to header.

Fixes #37102.
2020-10-27 16:19:15 +01:00
Rémi Verschelde
67f64ef4fe
Merge pull request #43131 from groud/fix_global_pos_set_as_toplevel
Fixes setting top_level not updating the global position
2020-10-27 15:20:41 +01:00
Hugo Locurcio
c3b246e6af
Rename the type parameter to node_type in Theme and Control
This makes it clearer that it expects a node type as a string
(such as "Label") instead of a type like "TYPE_ARRAY".
This is backwards-compatible since only the name of the parameter
is changed, not its order.
2020-10-27 14:58:52 +01:00
Gilles Roudière
131a7b58c8 Fixes setting top_level not updating the global position 2020-10-27 13:44:35 +01:00
Yuri Roubinsky
5479a6946b
Merge pull request #43123 from lukostello/vshaderparenfix
Visual Shader Parenthesis fix
2020-10-27 14:18:27 +03:00
Rémi Verschelde
fddbfdba91
Merge pull request #43100 from madmiraal/apply-upstream-391
Apply upstream gamecontrollerdb patch 391.
2020-10-27 08:56:13 +01:00
Rémi Verschelde
b53e2744a4
Merge pull request #43119 from fire/llvm-mingw-error
Changes for 43094 mingw llvm build error.
2020-10-27 08:54:26 +01:00
Rémi Verschelde
7869d318c1
Merge pull request #43114 from DustOneHub/doc-tilemap
Improved documentation for TileMap.cell_y_sort
2020-10-27 08:42:58 +01:00
Rémi Verschelde
1a1140d92b
Merge pull request #43118 from timothyqiu/revert-inherited-default
Fix property revert for inherited child nodes
2020-10-27 08:38:06 +01:00
Luke Costello
65eb02b236 Visual Shader Parenthesis fix
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-27 03:20:29 -04:00
Rémi Verschelde
c11992ed48
Merge pull request #43029 from neikeq/offline-nuget-fallback
C#: Make editor create NuGet fallback folder for Godot packages
2020-10-27 08:07:58 +01:00
Rémi Verschelde
f594f31823
Merge pull request #43088 from neikeq/fix-custom-event-signal-hot-reload
C#: Fix custom event signals crash on hot-reload
2020-10-27 08:07:33 +01:00
K. S. Ernest (iFire) Lee
b2d5b619fd Changes for 43094 mingw llvm build error. 2020-10-26 19:58:44 -07:00
Haoyu Qiu
0dfe28d93d Fixes property revert for inherited child nodes 2020-10-27 10:53:27 +08:00
Rémi Verschelde
0e3b011dee
Merge pull request #43113 from Xrayez/rng-randbase-protected
Make `randbase` member protected in `RandomNumberGenerator`
2020-10-27 00:57:49 +01:00
Andrii Doroshenko (Xrayez)
1923f0d302 Make randbase member protected in RandomNumberGenerator
Allows to extend `RandomNumberGenerator` via C++ modules.
2020-10-27 01:52:15 +02:00
Dustin Petersohn
669f21d367 Improved documentation for TileMap.cell_y_sort 2020-10-27 00:30:14 +01:00
Rémi Verschelde
47e9fc22c7
Merge pull request #42677 from groud/fix_error_on_attach_script
Fix error on attaching script
2020-10-27 00:23:50 +01:00
Rémi Verschelde
c94ae3cf84
Merge pull request #43112 from akien-mga/vulkan-loader-readd-windows-patch
vulkan: Re-add Windows patch to fix static library use
2020-10-26 23:59:16 +01:00
Rémi Verschelde
d767c0eeea
Merge pull request #43109 from bruvzg/gridmap_ub
Fix uninitialized `GridMapEditor::node` and `InputMapEditor::setting` variables.
2020-10-26 23:39:17 +01:00
Rémi Verschelde
9000db505e
vulkan: Re-add Windows patch to fix static library use
Fixes #43105.
2020-10-26 23:30:47 +01:00
Gilles Roudière
6386bf60ea Fix error on attaching script 2020-10-26 23:26:44 +01:00
Rémi Verschelde
7b27dccbe0
Merge pull request #43099 from timothyqiu/instanced-revert
Fixes property revert after saving instanced scene
2020-10-26 22:59:29 +01:00
Rémi Verschelde
6bf935d786
Merge pull request #43107 from Calinou/fix-uninitialized-debanding-member
Fix uninitialized `Viewport::use_debanding` member variable
2020-10-26 22:59:03 +01:00
bruvzg
b506f9b5aa
Fix uninitialized GridMapEditor::node and InputMapEditor::setting variables. 2020-10-26 22:57:11 +02:00
Hugo Locurcio
4dd5a17636
Fix uninitialized Viewport::use_debanding member variable 2020-10-26 21:37:33 +01:00
Marcel Admiraal
afc9e5923e Apply upstream gamecontrollerdb patch 391.
Co-authored-by: SalvoB <salvob41@users.noreply.github.com>
2020-10-26 16:47:48 +00:00
Rémi Verschelde
b370aa75dd
Merge pull request #42799 from madmiraal/fix-41065
Provide support for buttons and D-pads mapped to half axes.
2020-10-26 17:33:35 +01:00
Haoyu Qiu
a2c1593f25 Fixes property revert after saving instanced scene 2020-10-27 00:07:09 +08:00
Rémi Verschelde
825ab3b784
Merge pull request #42817 from akien-mga/vulkan-sdk-1.2.154.0
vulkan: Sync loader, headers and glslang to sdk-1.2.154.0
2020-10-26 15:15:19 +01:00
Ev1lbl0w
9e57a395cf
Changed shell_open behaviour 2020-10-26 13:26:39 +00:00
Rémi Verschelde
a3396fabd5
Merge pull request #42995 from Ev1lbl0w/bugfix-zoom-visibility
Fix visibility issue with zoom label
2020-10-26 11:15:50 +01:00
Ev1lbl0w
0a581a39d4
Fix visibility issue with zoom label 2020-10-26 09:44:17 +00:00
Rémi Verschelde
b6707aa35b
Merge pull request #43018 from groud/improve-file-sorting
Improve file sorting
2020-10-26 10:16:56 +01:00
Rémi Verschelde
368a464e49
Merge pull request #42229 from Calinou/2d-editor-improve-undo-log-messages
Improve undo log messages in the 2D editor for additional context
2020-10-26 09:34:57 +01:00
Rémi Verschelde
2de498d438
Merge pull request #42969 from Klowner/fixes/42967-popup-position
include parent display location in popup location calculation
2020-10-26 09:26:00 +01:00
Rémi Verschelde
d667ea116d
Merge pull request #43070 from Calinou/optimize-svgs
Optimize SVG using `svgcleaner --multipass`
2020-10-26 09:25:44 +01:00
Gilles Roudière
6f696a5927 Improve file sorting 2020-10-26 09:22:35 +01:00
Rémi Verschelde
d77deda7b6
Merge pull request #43056 from Ev1lbl0w/bugfix-wrong-exitcode
Fix wrong exit code being returned
2020-10-26 08:58:13 +01:00
Marcel Admiraal
0c0c36be44 Provide support for buttons and D-pads mapped to half axes, and
fix axes mapped to buttons and D-pads.
2020-10-26 07:52:24 +00:00
Rémi Verschelde
8ee44cc60c
Merge pull request #43075 from Xrayez/color-ramp-to-gradient
Fixup `ColorRamp` to `Gradient` renames
2020-10-26 08:44:27 +01:00
Rémi Verschelde
ee770b02fc
Merge pull request #43084 from DavidSichma/toggle0
fix toggle mask bit 0
2020-10-26 08:26:19 +01:00
Rémi Verschelde
d92d16926e
Merge pull request #42723 from Devination/linenumber-select
ScriptEditor: Fix line number gutter drag select
2020-10-26 08:13:51 +01:00
Rémi Verschelde
33ff670d30
Merge pull request #43050 from Pleto/enhance_tileset_sorting
Enhancement for tileset sorting
2020-10-26 08:10:53 +01:00