1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00
Commit Graph

26626 Commits

Author SHA1 Message Date
PouleyKetchoupp
299b85c46f Disable shadow map sampling when shadows are not used in GLES3
Fixes #20742
2019-11-29 06:21:17 +01:00
Ignacio Etcheverry
85d8c42763 Mono/C#: Fix crash on exported games that don't use C# 2019-11-29 01:35:46 +01:00
Ignacio Etcheverry
66de28eda8 Mono/C#: Add option to export assemblies outside of PCK
When using this options, assemblies will be saved in the Assemblies folder of the  data directory: 'data_AppName/Assemblies/'.
2019-11-29 00:36:05 +01:00
PouleyKetchoupp
e6ebc43d72 Fixed antialiased option for Polygon2D / Line2D
Polygon2D:
The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing.

Line2D:
Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly.

Fixes #26823
2019-11-28 22:57:27 +01:00
Hugo Locurcio
21a3923410 Add an OS.is_window_focused() getter
This makes it possible to know whether the window is focused
at a given time, without having to track the focus state manually
using `NOTIFICATION_WM_FOCUS_IN` and `NOTIFICATION_WM_FOCUS_OUT`.

This partially addresses #33928.
2019-11-28 16:42:51 +01:00
Rémi Verschelde
7735af7e76 Merge pull request #33964 from aaronfranke/canvas-in-spatial-crash
Don't cast item to Spatial when checking if it's locked
2019-11-28 12:05:07 +01:00
Aaron Franke
4af218f9e3 Don't cast item to Spatial when checking if it's locked
Not a necessary cast, and causes a crash any time it's not a Spatial.
2019-11-28 05:34:54 -05:00
Rémi Verschelde
0e6e64c9e9 Merge pull request #32854 from cooperra/fix-wireless-adb-debugging
Fix Android deploy with Remote Debug or Network FS over Wi-Fi
2019-11-28 10:02:55 +01:00
Rémi Verschelde
cf8ee15986 Merge pull request #33955 from Calinou/document-warning-unused-exclude
Document how to bypass the unused argument/variable warning in message
2019-11-28 09:45:45 +01:00
Rémi Verschelde
1f4cbc0f84 Merge pull request #33952 from KoBeWi/not_my_fault
Fix box selection being cancelled immediately
2019-11-28 09:28:22 +01:00
Rémi Verschelde
da880520ca Merge pull request #33963 from clayjohn/GLES3-sky-mipmaps-on-mobile
Fix radiance map generation on mobile
2019-11-28 09:06:38 +01:00
clayjohn
192aacd5d7 Fix radiance map generation on mobile 2019-11-27 22:18:21 -08:00
Hugo Locurcio
247767eb89 Document how to bypass the unused argument/variable warning in message
Note that prefixing with an underscore only works with unused arguments
and local variables, not class variables and signals.

This closes #26056.
2019-11-27 22:52:43 +01:00
Rémi Verschelde
a87a871250 Merge pull request #33953 from marstaik/gltf_bugfix
Bugfix: Sanitize glTF importer Animation Names and do not set bone_pose
2019-11-27 22:01:24 +01:00
Rémi Verschelde
9e3fb2b1e8 Merge pull request #33945 from Calinou/doc-viewportcontainer-stretch
Document the `ViewportContainer.stretch_shrink` property
2019-11-27 21:41:13 +01:00
Marios Staikopoulos
4b28fd4f23 Bugfix: Sanitize glTF importer Animation Names and do not set bone_pose 2019-11-27 12:20:38 -08:00
Tomasz Chabora
66cefde2b0 Fix box selection being cancelled immediately 2019-11-27 21:07:51 +01:00
Rémi Verschelde
1af9701caa Merge pull request #33944 from x2f/patch-1
Added more details in Timer.start() error message.
2019-11-27 20:50:26 +01:00
Hugo Locurcio
4c1b2171b0 Implement zooming using Ctrl + Mouse wheel in the GridMap editor
The minimum value of the slider was changed to 0.2 as zooming
works in increments of 0.2. This way, the value can go back to 1
after you've reached the slider's minimum value.
2019-11-27 20:16:53 +01:00
x2f
f085110b20 Added more details in Timer.start() error message. 2019-11-27 14:11:15 -05:00
Rémi Verschelde
aae9e11a1e Merge pull request #33946 from NeoSpark314/remove_exr_dbgprint
Remove .exr saver debug print
2019-11-27 17:55:23 +01:00
Holger Dammertz
365c5bd0e5 Remove .exr saver debug print 2019-11-27 17:17:29 +01:00
Hugo Locurcio
77d95e3371 Document the ViewportContainer.stretch_shrink property 2019-11-27 16:40:40 +01:00
marcosjouron
6d2b21c6a4 VideoStreamGDNative: Fix playing video files without audio stream 2019-11-27 16:40:16 +01:00
Rémi Verschelde
a87e2f85ee Merge pull request #33939 from KoBeWi/grideprecatedmap
Remove deprecated theme property from GridMap
2019-11-27 15:32:59 +01:00
Tomasz Chabora
96b30e7727 Remove deprecated theme property from GridMap 2019-11-27 14:40:43 +01:00
Rémi Verschelde
6c5d1d7217 Merge pull request #33936 from HaSa1002/doc_popup
fix #33721 documenting popup behaviour
2019-11-27 14:35:56 +01:00
Rémi Verschelde
31272d0956 Merge pull request #33921 from Faless/enet/no_relay
Add ENet option to disable server relaying.
2019-11-27 14:35:44 +01:00
Fabio Alessandrelli
7e592f9641 Add ENet option to disable server relaying.
It's useless when building fully authoritative servers, and prevents
various kinds of abuse.
2019-11-27 11:48:31 +01:00
HaSa1002
5be5f65440 document popup behaviour 2019-11-27 11:47:19 +01:00
Rémi Verschelde
8fb7481fd5 Merge pull request #33933 from bojidar-bg/33932-ysort-disable-ub
Fix crash when disabling a YSort node
2019-11-27 10:23:13 +01:00
Bojidar Marinov
2952dc3fe2 Fix crash when disabling a YSort node
Fixes #33932
2019-11-27 10:47:11 +02:00
Rémi Verschelde
a994d58fd2 Merge pull request #33924 from volzhs/preview-dynamicfont
Show thumbnail for DynamicFont resource
2019-11-27 09:44:08 +01:00
Rémi Verschelde
c1e125af52 Merge pull request #33923 from Calinou/doc-gdscript-remove-type-hint
Remove type hint from the @GDScript class documentation
2019-11-27 09:43:06 +01:00
Rémi Verschelde
097eaa7563 Merge pull request #33922 from Calinou/sky-rotation-inspector-degrees-only
Only display Environment sky rotation in degrees in the Inspector
2019-11-27 09:42:03 +01:00
Rémi Verschelde
a88afd22ca Merge pull request #33920 from vnen/uwp-gles2-msaa
Use ANGLE multisample extensions for UWP
2019-11-26 20:13:40 +01:00
volzhs
9eff8b7007 Show thumbnail for DynamicFont resource 2019-11-27 03:35:44 +09:00
Hugo Locurcio
4f14a1f59c Remove type hint from the @GDScript class documentation
The current consensus in the Godot documentation is to avoid using
type hints unless they're relevant to the behavior explained.
2019-11-26 19:13:55 +01:00
Hugo Locurcio
639c9b3a35 Only display Environment sky rotation in degrees in the Inspector
This makes it consistent with Spatial.
2019-11-26 18:57:29 +01:00
George Marques
c51fe7f7cd Use ANGLE multisample extensions for UWP 2019-11-26 13:55:19 -03:00
Rémi Verschelde
ef1008e53a Merge pull request #33917 from Faless/enet/memleak
Fix memory leak in NetworkedMultiplayerENet.
2019-11-26 17:29:58 +01:00
Fabio Alessandrelli
391f6ff2c6 Fix memory leak in NetworkedMultiplayerENet.
Dynamically allocated ids of peers where not correctly freed when
calling close_connection and disconnect_peer (with now=true).
2019-11-26 16:00:55 +01:00
Patrick Wuttke
2cd68a2566 do not wait for response body when making a HEAD request 2019-11-26 14:17:34 +01:00
Rémi Verschelde
8ea909f5b6 Merge pull request #33915 from touilleMan/issue-33913
Revert faulty stripping of / in ProjectSettings::localize_path
2019-11-26 14:14:01 +01:00
Emmanuel Leblond
a1f1a1d798 Revert "Fix localise_path method so that uncached scripts don't sometimes get loaded with two backslashes"
This reverts commit 1342551664.
2019-11-26 13:42:18 +01:00
Rémi Verschelde
966c68badd Range: Remove min/max check added in #33908
This wasn't a very good idea as it puts too strict requirements on how
to set `min` and `max` values. For example, since the default min and
max are 0 and 100, this triggers an error:

```
set_min(256)
set_max(16384)
```

Since `min` will be higher than `max` temporarily. It can be worked
around by setting max first, but it's not really intuitive. I'll relax
the requirement as it's only a problem in `get_as_ratio`, which already
has a check.

Fix another min == max occurrence.
2019-11-26 12:11:21 +01:00
Rémi Verschelde
7e27ac98da Merge pull request #33899 from Scony/fix-script-check-only-exit-code
godot exit code improvement for --script --check-only, fixes #33895
2019-11-26 11:20:16 +01:00
Pawel Lampe
9feb9aef42 godot exit code improvement for --script --check-only, fixes #33895
this commit causes godot executable to return non-zero exit code
once invalid script is passed via --script during --check-only
2019-11-26 10:53:42 +01:00
Rémi Verschelde
ae04d23cce Merge pull request #33887 from dankan1890/old_search_fix
Fixed missing scrolling in Search Help Dialog.
2019-11-26 10:53:12 +01:00
Rémi Verschelde
a698fd1b46 Merge pull request #33908 from akien-mga/range-fix-max-errors
Range: Fix cases where max was set to or below min value
2019-11-26 10:51:20 +01:00