Aaron Franke
ba27deef06
Refactor physics force and impulse code
2020-06-02 23:18:59 -04:00
Rémi Verschelde
030a26206f
Merge pull request #39210 from Calinou/directional-light-performance-hint
...
Add performance hints to the DirectionalLight shadow mode property hint
2020-06-02 11:39:06 +02:00
Rémi Verschelde
6389b68cd8
Merge pull request #39214 from EricEzaM/improve-add-autoload-errors
...
Improved warning shown when autoload cannot be added.
2020-06-02 11:38:40 +02:00
Rémi Verschelde
82da6aabc0
Merge pull request #39234 from mrushyendra/animationtree_documentation
...
Clarify usage of AnimationPlayer with AnimationTree and fill empty doc descriptions
2020-06-02 11:37:21 +02:00
lawnjelly
61b3eb3b28
Light2D shadow mask construction fix
...
When using the default setting (layer 1 set only) nothing is stored in the tscn file for a Light2D, hence it relies on the value in the constructor.
The problem is the constructed value is 1 in Light2D, and -1 in RasterizerCanvas::Light. -1 results in all bits being set so all occluders are shown, rather than just those in layer 1.
This PR changes Rasterizer::Canvas constructor to set to 1. An alternative is to have -1 as the value for layer 1 throughout.
(cherry picked from commit bf54fa5a62
)
2020-06-02 10:37:01 +02:00
Rémi Verschelde
07025e607d
Merge pull request #39227 from nekomatata/android-export-template-errors
...
Fix inconsistent error messages with Android custom export templates
2020-06-02 10:07:35 +02:00
Maganty Rushyendra
0451248ff1
Clarify usage of AnimationPlayer with AnimationTree and fill in empty method descriptions
...
Add clarification to docs to explain that when an `AnimationPlayer`
object is paired with an `AnimationTree`, several properties and
methods exposed by the `AnimationPlayer` class may not work as expected.
The issues occur because an `AnimationTree` runs independently, and
uses its member `AnimationPlayer* player` primarily for its
`Map<StringName, AnimationData> animation_set`.
Added descriptions for `root_motion_track` and `get_root_motion_transform`.
2020-06-02 12:19:33 +08:00
PouleyKetchoupp
be22a1f9bc
Fix inconsistent error messages with Android custom export templates
2020-06-01 23:13:31 +02:00
Rémi Verschelde
34ef9a5120
Merge pull request #39172 from madmiraal/fix-39157
...
Update OSX joypad GUID to SDL uid conversion.
2020-06-01 15:08:21 +02:00
Eric M
58caa2c453
Improved warning shown when autoload cannot be added.
2020-06-01 21:09:30 +10:00
Hugo Locurcio
b46756c723
Add performance hints to the DirectionalLight shadow mode property hint
...
This also clarifies some parts in the DirectionalLight documentation.
2020-06-01 01:20:35 +02:00
Marcel Admiraal
d04cbbd76b
Update OSX GUID to SDL uid conversion.
...
Co-authored-by: John Wakley <johncwakley@users.noreply.github.com>
2020-05-30 17:38:39 +01:00
Rémi Verschelde
a8787d1ae5
Merge pull request #39159 from NutmegStudio/fix-mono-templates
...
Fix building mono release templates
2020-05-30 17:10:35 +02:00
Rémi Verschelde
20a6fcd3ea
Merge pull request #39163 from madmiraal/dinput-nullptr-checks
...
Add dinput nullptr checks.
2020-05-30 15:54:29 +02:00
Marcel Admiraal
bc49d34123
Add dinput nullptr checks.
2020-05-30 13:59:30 +01:00
Rémi Verschelde
240032ade7
Merge pull request #39168 from madmiraal/fix-javascript-ci
...
Activate emscripten with no-embedded option.
2020-05-30 14:39:04 +02:00
Marcel Admiraal
43371c9fbe
Activate emscripten with no-embedded option.
2020-05-30 12:51:06 +01:00
NutmegStudio
a77f633161
Fixes building mono release templates
2020-05-30 12:21:24 +07:00
George Marques
0f1da72492
Actually set GDScript static reference
2020-05-29 11:01:48 -03:00
Rémi Verschelde
ef5910eea5
Merge pull request #39143 from madmiraal/fix-39116
...
Do not probe joypads if DirectInput cannot be initialized.
2020-05-29 13:44:53 +02:00
Marcel Admiraal
97a529b1d8
Do not probe joypads if DirectInput cannot be initialized.
2020-05-29 12:07:07 +01:00
Rémi Verschelde
d19257eb2b
Merge pull request #39010 from gvekan/fix-documentation
...
Fix ProjectSettings.save_custom documentation
2020-05-29 12:11:19 +02:00
Rémi Verschelde
e67339eeca
Merge pull request #39085 from madmiraal/fix-39059
...
Correct Bullet's default Area angular damp value.
2020-05-29 12:10:47 +02:00
Rémi Verschelde
1620669f4e
Merge pull request #39051 from Xrayez/geometry-split
...
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-29 12:10:37 +02:00
Rémi Verschelde
6aa399be59
Merge pull request #39137 from Xrayez/custom-modules-profile
...
SCons: Allow to read `custom_modules` option via a file
2020-05-29 11:42:53 +02:00
Andrii Doroshenko (Xrayez)
6304d16915
SCons: Allow to read custom_modules
option via a file
...
The `custom_modules` option was only read via the command line
by fetching `ARGUMENTS` dictionary directly.
Instead, the option's value can now be read via any existing
configuration files (`custom.py`) as well as command line, while also
updating the environment.
2020-05-29 12:11:53 +03:00
Rémi Verschelde
4448aca3a6
Merge pull request #39142 from akien-mga/all-your-bugs-are-belong-to-us
...
GitHub: Remove feature request placeholder template
2020-05-29 10:53:33 +02:00
Rémi Verschelde
a7214a4b9b
GitHub: Remove feature request placeholder template
...
We now have a proper link to godotengine/godot-proposals thanks to
#39019 and #39132 , so that hacky 'Don't open issues here' template
is no longer needed.
2020-05-29 10:21:01 +02:00
Rémi Verschelde
f65787a63e
Merge pull request #39129 from Xrayez/exit-here
...
SCons: Prefer `Exit()` method over `sys.exit()`
2020-05-29 09:39:20 +02:00
Rémi Verschelde
21686b89da
Merge pull request #39132 from aaronfranke/configdotyml
...
Fix GitHub issue template config not working
2020-05-29 09:38:37 +02:00
Rémi Verschelde
d2be503ebb
Merge pull request #39122 from Calinou/travis-xcode-11.5
...
Travis CI: Use the Xcode 11.5 image for macOS builds
2020-05-28 23:01:36 +02:00
Aaron Franke
389227bff1
Fix GitHub issue template config not working
...
It was in the wrong folder
2020-05-28 16:38:03 -04:00
Andrii Doroshenko (Xrayez)
5afe8cd782
SCons: Prefer Exit()
method over sys.exit()
...
Sconscript provides it's own `Exit()` method which is currently
an alias for `sys.exit()` internally, with the only difference that if
no exit code is specified, it defaults to 0.
This encourages the usage of SCons-implemented methods like
`Glob()` over `glob.glob()`, which may overcome limitations of the
built-in Python features in the future.
2020-05-28 22:54:37 +03:00
Rémi Verschelde
105bef19ff
Merge pull request #39125 from Xrayez/py-modules-order-4.0
...
SCons: use `OrderedDict` to ensure insertion order of modules
2020-05-28 20:55:56 +02:00
Andrii Doroshenko (Xrayez)
17938fd547
SCons: use OrderedDict
to ensure insertion order of modules
...
The insertion order for dictionaries is only a language feature for
Python 3.6/3.7+ implementations, and not prior to that.
This ensures that the engine won't be rebuilt if the order of detected
modules changes in any way, as the `OrderedDict` should guarantee
inerstion order.
2020-05-28 18:17:49 +03:00
Rémi Verschelde
4eef88b2c1
Merge pull request #39120 from volzhs/godotpayment-consume-master
...
Add missing consumePurchase plugin method for GodotPayment
2020-05-28 16:38:16 +02:00
Hugo Locurcio
4fec548065
Travis CI: Use the Xcode 11.5 image for macOS builds
2020-05-28 15:51:22 +02:00
volzhs
c227733bd8
Add missing consumePurchase plugin method for GodotPayment
2020-05-28 22:48:48 +09:00
Rémi Verschelde
1455776958
Merge pull request #39111 from nathanfranke/directory_remove_print
...
Remove "erasing" print from Directory.remove (Windows)
2020-05-28 13:54:57 +02:00
Rémi Verschelde
6d63974af1
Merge pull request #39118 from akien-mga/doc-l10n-propertyselector
...
Use translated docs in PropertySelector
2020-05-28 13:21:39 +02:00
Nathan Franke
e48fb01d59
fix(Directory): remove erasing print
...
Fixes #39106
2020-05-28 05:46:01 -05:00
Rémi Verschelde
a16031beb6
Use translated docs in PropertySelector
...
And do the dedent and stripping for both translated and
non-translated strings for consistency, and so that we
don't need to do it at the call site.
2020-05-28 12:02:12 +02:00
Rémi Verschelde
055624d94b
Merge pull request #39116 from Calinou/tweak-failed-dinput-message
...
Tweak the DirectInput initialization failure message
2020-05-28 11:04:33 +02:00
Hugo Locurcio
fe09b4d2b3
Tweak the DirectInput initialization failure message
...
This closes #36662 .
2020-05-28 09:45:17 +02:00
Rémi Verschelde
1a53ee66c1
Merge pull request #39097 from m4gr3d/validate_plugins_build_config
...
Validate that `Use Custom Build` is enabled when `Plugins` are selected
2020-05-27 22:54:45 +02:00
Rémi Verschelde
ffe2066bb5
Merge pull request #39102 from Calinou/makerst-print-status-messages
...
makerst: Print status messages to make the CI output clearer
2020-05-27 22:43:33 +02:00
Hugo Locurcio
9065b7ed4e
makerst: Print status messages to make the CI output clearer
...
This also removes an unused method.
2020-05-27 22:24:33 +02:00
Fredia Huya-Kouadio
c948d25b6e
Validate that Use Custom Build
is enabled when Plugins
are selected
...
Remove `GodotPayment` from the default build template
2020-05-27 12:07:53 -07:00
Rémi Verschelde
52814d111c
Merge pull request #39089 from mrushyendra/localVectorBug
...
Fix unsigned integer bug in LocalVector::erase
2020-05-27 16:18:32 +02:00
Maganty Rushyendra
4ef246f804
Fix unsigned integer bug in LocalVector::erase
...
`erase()` calls `find()` to get the index of the element to remove, if
any.
c2151e1813/core/local_vector.h (L77-L81)
`find()` returns a signed integer. In particular, it returns -1 if
no element is found. Since `erase()` converts this to an unsigned type, the
wrong element may be erroneously removed from the vector.
Other ways to fix this would involve changing function signatures, so
this seemed to be the least disruptive change.
Fixes #38884
2020-05-27 21:53:34 +08:00