Commit graph

13237 commits

Author SHA1 Message Date
robfram
5ef88cf577 Added get_playing_speed method to AnimationPlayer, returning the actual
playing speed of the animation being played.

As stated in #16550, there is no way to get the playing speed of an
animation. The `playback_speed` property is for the whole AnimationPlayer
node, and the argument passed to `play` method is another scale applied
in top of the AnimationPlayer properties.

Thus, the actual playing speed is AnimationPlayer.speed_scale *
AnimationPlayer.playback.current.speed_scale. If it is not playing, the
method returns 0.
2018-03-03 09:29:22 +01:00
Rémi Verschelde
741af0652d Update AUTHORS and DONORS list
New contributors added as AUTHORS:
@mrcdk, @binbitten, @paulloz, @PJB3005

New Gold sponsor: Skirmish <https://skirmish.io>

Thanks and welcome! :)

[ci skip]
2018-03-02 19:47:48 +01:00
Rémi Verschelde
8d01b706ff
Merge pull request #17158 from bruvzg/gles2_driver_select
[GLES2] Renderer selection improvement
2018-03-02 18:43:18 +01:00
Poommetee Ketson
2067932e2a
Merge pull request #17185 from Noshyaar/camear
s/Camear/Camera in docs

[ci skip]
2018-03-02 23:57:08 +07:00
Poommetee Ketson
b099a500eb
s/Camear/Camera in docs 2018-03-02 23:20:14 +07:00
Rémi Verschelde
79a07527ab
Merge pull request #17178 from akien-mga/prop-serialization
Fix serialization of identifiers with non printable ASCII characters
2018-03-02 14:44:12 +01:00
Rémi Verschelde
3bab5477ff
Merge pull request #17173 from karroffel/gles2-line-rendering-fix
fix GLES2 line rendering
2018-03-02 13:37:44 +01:00
Rémi Verschelde
802c5f14c2
Merge pull request #17175 from bruvzg/gles2_macos_support
[GLES2] Adds GLES2 renderer support on macOS.
2018-03-02 13:37:28 +01:00
Rémi Verschelde
ab001d830b Fix serialization of identifiers with non printable ASCII characters
Fixes #6888.
2018-03-02 13:33:53 +01:00
karroffel
8b82f4ad2e fix GLES2 line rendering
fixes #17147
2018-03-02 12:35:34 +01:00
bruvzg
a5a4f3714b
GLES2 renderer support on macOS. 2018-03-02 13:15:12 +02:00
Rémi Verschelde
4ccc8e57f9
Merge pull request #17171 from hpvb/fix-17153
Don't crash when trying to add an invalid navmesh
2018-03-02 11:10:29 +01:00
Rémi Verschelde
3bddce7e3d
Merge pull request #17168 from rraallvv/scons_master
Prune cache at the beginning and end of build (master)
2018-03-02 11:07:50 +01:00
Rémi Verschelde
c8d2bb24fa
Merge pull request #17167 from Noshyaar/plane
GridMap: fix next/prev plane text, fix meta not found
2018-03-02 11:07:06 +01:00
Rémi Verschelde
d6a5fbf3e1
Merge pull request #17163 from mhilbrunner/mhilbrunner-docs-enet
[DOCS] NetworkedMultiplayerENet
2018-03-02 11:01:19 +01:00
Rémi Verschelde
21c2110bf2
Merge pull request #17164 from mhilbrunner/docs-pinjoint2d
[DOCS] Small fix to PinJoint2D
2018-03-02 11:00:26 +01:00
Hein-Pieter van Braam
555eebf3f4 Don't crash when trying to add an invalid navmesh
It is possible to try to add an invalid object as a navmesh through
GDScript which results in an engine crash. This creates a debug message
that should help the user figure out what's wrong.
2018-03-02 09:37:32 +01:00
bruvzg
f0d24de960
Fix --help output, allow renderer override from command line (--video-driver). 2018-03-02 10:05:14 +02:00
Poommetee Ketson
89323f94bb GridMap: fix next/prev plane text, fix meta not found 2018-03-02 12:49:09 +07:00
Rhody Lugo
29e6ec6594 prune cache only at the start and end of build 2018-03-02 01:24:33 -04:00
Max Hilbrunner
5aae17a6fb [DOCS] NetworkedMultiplayerENet 2018-03-02 05:03:03 +01:00
Max Hilbrunner
0b65bac1a1
[DOCS] Small fix to PinJoint2D 2018-03-02 04:59:17 +01:00
Rémi Verschelde
08cadc3d87 NativeScript: Fix initialization in wrong scope
Regression from d702d7b335 which broke javascript build.
2018-03-02 02:07:37 +01:00
Hein-Pieter van Braam
334b6c68d3
Merge pull request #17129 from nical/issue-17102
Allow degenerate triangles in polygon triangulation when necessary.
2018-03-01 20:15:37 +01:00
Rémi Verschelde
98609c3993
Merge pull request #17145 from poke1024/fix17139
Fix regression through fa98637aca
2018-03-01 19:18:12 +01:00
poke1024
89f607604e Fix regression through fa98637aca 2018-03-01 18:03:53 +01:00
Rémi Verschelde
234dfde22f
Merge pull request #17143 from karroffel/sconstruct-rebase-ups
fix accidental SConstruct reverts
2018-03-01 17:34:43 +01:00
Rémi Verschelde
39757c34da
Merge pull request #17142 from Faless/lws_uwp_fixes
Remove unneeded and problematic minilex.c from lws.
2018-03-01 17:25:39 +01:00
karroffel
ccc6897215 fix accidental SConstruct reverts
as introduced by 29215b2
2018-03-01 17:04:48 +01:00
Rémi Verschelde
18b3ebcf3b
Merge pull request #17140 from akien-mga/viewport-fix-tooltips
Viewport: Fix missing tooltips w/ disabled physics object picking
2018-03-01 16:59:14 +01:00
Fabio Alessandrelli
982fa59126 Remove unneeded and problematic minilex.c from lws.
We don't need it, it's used upstream to test the lexical parser
2018-03-01 16:43:42 +01:00
Rémi Verschelde
4bb98348a8
Merge pull request #17133 from bruvzg/macos_fix_webm_optim
[Build] Fix WebM (libvpx) SIMD optimizations on macOS.
2018-03-01 16:36:24 +01:00
Rémi Verschelde
29215b229b
Merge pull request #16687 from karroffel/gles2-2d-pr
add GLES 2 renderer for 2D
2018-03-01 16:04:11 +01:00
Rémi Verschelde
ce7da2c7d6 Viewport: Fix missing tooltips w/ disabled physics object picking
Previously this option seemed to be the sole responsible for enabling
physics processing in Viewport, while several other features like
tooltips and debugging collision hints rely on it.

All this logic is moved to internal processing (it's incorrect to let
it be affected by users disabling physics/idle processing), and disabling
physics object picking no longer affects the internal physics processing.

Fixes #17001.
2018-03-01 16:01:10 +01:00
karroffel
eac4c984df add GLES 2 renderer for 2D
This commit adds a new rendering backend, GLES2, and adds a
project setting to enable it.

Currently this backend can only be used on the X11 platform,
but integrating into other platforms is planned.
2018-03-01 15:12:30 +01:00
Rémi Verschelde
7f3024d343
Merge pull request #17058 from marcelofg55/minmax_windows
Fixed Windows ignoring minimized/maximized status set by user
2018-03-01 13:31:02 +01:00
Rémi Verschelde
3e03ed90a8
Merge pull request #17137 from endragor/fix-audio-init-crash
Fix intermittent audio driver crash during startup on Android
2018-03-01 12:50:31 +01:00
Rémi Verschelde
bc3bf793a9
Merge pull request #17135 from Faless/server_bsd_fix
Fix server build on FreeBSD
2018-03-01 12:05:34 +01:00
Ruslan Mustakov
c10749d51f Fix intermittent audio driver crash during startup on Android
set_pause can be called before the driver is initialized, and there
already is a check for that. The problem is that the 'active' field
was not initialied in the constructor, which lead to it having an
undefined value.
2018-03-01 17:40:44 +07:00
bruvzg
eec0f83cf3
Fix WebM SIMD optimizations on macOS. 2018-03-01 09:21:58 +02:00
Nicolas Silva
e73266a51c Allow degenerate triangles in polygon triangulation when necessary. 2018-02-28 22:46:56 -05:00
Fabio Alessandrelli
8f9914bd94 Fix server build on FreeBSD 2018-03-01 02:16:52 +01:00
Rémi Verschelde
8df449100a
Merge pull request #17111 from poke1024/fix16524
Fix grid mesh tile touch pad bug (issue 16524)
2018-02-28 22:19:49 +01:00
Rémi Verschelde
77e8cb2655
Merge pull request #17117 from hpvb/fix-use-uninitialized-redux
Fix various valgrind reported uninitialized variable uses
2018-02-28 22:12:09 +01:00
Hein-Pieter van Braam
d702d7b335 Fix various valgrind reported uninitialized variable uses 2018-02-28 21:55:13 +01:00
Rémi Verschelde
c6dff58f49
Merge pull request #17115 from Faless/lws_bsd_malloc
Fix mbedTLS and Websocket on FreeBSD
2018-02-28 21:13:58 +01:00
Fabio Alessandrelli
659c62ee33 Use Prepend instead of Append for mbedTLS include
Fixes build on FreeBSD when system-wide mbedTLS and/or openSSL are installed
2018-02-28 20:02:16 +01:00
poke1024
b90810ce8e Fix grid mesh tile panning bug (issue 16524)
Fix basic function and interference of touch pad pan with mesh tile delete (shift + right click on touch pad) in grid map editor (fix 16524)
2018-02-28 18:58:20 +01:00
Fabio Alessandrelli
ea7af81460 Fix lws compilation on FreeBSD, same as OSX
This error is actually fixed upstream, waiting for a new release
2018-02-28 18:09:43 +01:00
Ignacio Etcheverry
3d03bcd063
Merge pull request #17087 from hpvb/fix-finding-mscorlib
More reliably find mscorlib.dll on Linux
2018-02-27 22:09:14 +01:00