fhuya
30d738eda7
Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt
2020-03-05 13:09:49 -08:00
Rémi Verschelde
ea2e976cdd
Merge pull request #36784 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.1) - 3rd batch
2020-03-05 08:24:51 +01:00
Rémi Verschelde
75164169c4
SCons: Fix get_compiler_version() to return ints
...
Otherwise comparisons would fail for compiler versions above 10.
Also simplified code somewhat to avoid using subprocess too much
needlessly.
(cherry picked from commits c7dc5142b5
and df7ecfc4a7
)
2020-03-04 14:40:12 +01:00
Rémi Verschelde
c34b351b24
SCons: Explicitly define our C (C11) and C++ (C++14) standards
...
On GCC and Clang, we use C11 and C++14 with GNU extensions (`std=gnu11`
and `std=gnu++14`). Those are the defaults for current GCC and Clang,
and also match the feature sets we want to use in Godot.
On MSVC, we require C++14 support explicitly with `/std:c++14`, and
make it strict with the use of `/permissive-` (so features of C++17 or
later can't be used).
Moves the definition before querying environment flags and platform
config so that it can be overridden when necessary.
(cherry picked from commit 342f127362
)
2020-03-04 14:12:19 +01:00
Pierre Caye
1350c1371e
add a precision about the intended use of the ConcavePolygonShape
...
(cherry picked from commit 222a934e60
)
2020-03-04 14:12:19 +01:00
Bastiaan Olij
0ab8889c0d
Exposing get_tracker_id for ARVRPositionalTracker to GDScript
...
(cherry picked from commit f0b1edef8b
)
2020-03-04 12:52:47 +01:00
Christoph Schroeder
031aed3bb7
Fixes touch events for HTML
...
Without this patch, the following exception is thrown when the touch
screen is used: TypeError: e.getBoundingClientRect is not a function.
No touch events arrive in the engine.
From my testing, this PR fixes the issue and behaves as expected.
Tested with godot-demo-projects/misc/multitouch_view/, emscripten 1.39.8
and Firefox mobile emulator as well as FF on Android
(cherry picked from commit 5134317afc
)
2020-03-04 12:40:15 +01:00
Dominik 'dreamsComeTrue' Jasiński
a2bc4f0b30
Take correct part of extension with File Dialog
...
Fixes #36697
(cherry picked from commit 319840bad1
)
2020-03-04 12:40:15 +01:00
Ivan Shakhov
88f0cd0b27
On Windows find Rider installed for CurrentUser
...
(cherry picked from commit c95e20a089
)
2020-03-04 12:40:15 +01:00
Aaron Franke
fa60e77964
Document that SpringArm exclusions only work with PhysicsBody objects
...
(cherry picked from commit d961663707
)
2020-03-04 12:40:15 +01:00
Danil Alexeev
4bf0c52a30
Minor fix in Node class documentation
...
The name of the property responsible for physics fps is fixed:
this is `Engine.iterations_per_second`, not `Engine.target_fps`.
(cherry picked from commit 6e5cd36b12
)
2020-03-04 12:40:15 +01:00
Mateo Dev .59
d6c94fd527
os: execute parse the command output from utf8
...
(cherry picked from commit 8a88637705
)
2020-03-04 12:40:15 +01:00
fhuya
7de67f6c48
Fix android template install validation.
...
(cherry picked from commit 5b80dc9a2a
)
2020-03-04 12:40:15 +01:00
Raul Santos
447acafa97
Fix missing null check in Mono Binding of GD.print
...
(cherry picked from commit 6b9c22542f
)
2020-03-04 12:40:15 +01:00
Yuri Roubinsky
cbeb22eb73
Fix InputEventKey::echo type from INT to BOOL
...
(cherry picked from commit 5e3c64828a
)
2020-03-04 12:40:15 +01:00
simpuid
621c20db90
Implement undo-redo feature for Parameter Paste in the Inspector
...
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
(cherry picked from commit f817ba8379
)
2020-03-04 12:40:15 +01:00
Michael Alexsander
867ea694da
Fix import changing disabling checking on multiple files
...
(cherry picked from commit d35386263f
)
2020-03-04 12:40:15 +01:00
Hugo Locurcio
1191766609
doc: Mention concatenation using the +
operator in Array
...
This closes https://github.com/godotengine/godot-docs/issues/2452 .
(cherry picked from commit 8d53562954
)
2020-03-04 12:40:15 +01:00
Hugo Locurcio
a78bbcf8ce
Improve the RegEx class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2522 .
(cherry picked from commit 5b78f5c464
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
08cb8420f7
Mention the duration
parameter unit in UPNP.add_port_mapping()
...
(cherry picked from commit 810be27c78
)
2020-03-04 12:40:14 +01:00
Richard Menzies
367048030b
Fix wrong selection on cloning a line down in the editor
...
(cherry picked from commit 28f74327be
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
d679edfa7f
Add a practical example for @GDScript.linear2db()
...
One of its most common applications in games is for volume sliders.
See https://www.dr-lex.be/info-stuff/volumecontrols.html for
more information.
(cherry picked from commit a6fd6b78dd
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
21a45dda7a
Improve the @GDScript.inverse_lerp()
documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2589 .
(cherry picked from commit 6b5573700b
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
4e879ed803
Improve documentation related to fixed physics processing
...
(cherry picked from commit b89a37269b
)
2020-03-04 12:40:14 +01:00
Ivan Shakhov
f0b63b47aa
use Rider MSBuild on Windows, when Rider is selected as external editor
...
(cherry picked from commit a9c2ab81cf
)
2020-03-04 12:40:14 +01:00
Ivan Shakhov
8337cc5f7d
Support toolbox custom "Tools install location", by reading .settings.json
...
(cherry picked from commit 33af53c1a6
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
6488570251
Fix a typo in the "Create Single Convex Collision Sibling" option
...
(cherry picked from commit 7348dfb5b7
)
2020-03-04 12:40:14 +01:00
Maurizio Petrarota
53b4689979
Fixed TextureAtlas import.
...
(cherry picked from commit 744c1fafff
)
2020-03-04 12:40:14 +01:00
Andrea Catania
30688769f4
Fixed editor crash when the animation player has no root assigned.
...
(cherry picked from commit c9b86d54bf
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e4aa5a580
Don't show a copy of the property's name in the inspector's tooltip if there's no description
...
(cherry picked from commit 28d3f85e64
)
2020-03-04 12:40:14 +01:00
Fabio Alessandrelli
e92669654a
Fix debugger crash inspecting freed object.
...
This seems to be the correct way to validate a reference.
Why is cast_to failing?
(cherry picked from commit d8ba07ea8f
)
2020-03-04 12:40:14 +01:00
Rémi Verschelde
105b7468b1
Expression: Fix parsing integers as 32-bit
...
(cherry picked from commit ceba2b6761
)
2020-03-04 12:40:14 +01:00
Mateo Dev .59
e13324a889
Core: Change _Marshall class inherit from Reference to Object
...
(cherry picked from commit 9e8e5ebdc7
)
2020-03-04 12:40:14 +01:00
Rafał Mikrut
d001ca320d
Fix suspicious | and + operators
...
(cherry picked from commit d0621b954b
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e300a0c49
Remove extra margin in the top of the debugger
...
(cherry picked from commit 5c5a2b7472
)
2020-03-04 12:40:14 +01:00
Juan Linietsky
03c8e12d54
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
(cherry picked from commit 9a34f39d32
)
2020-03-04 12:40:14 +01:00
janglee
ffea9fc39f
Added tween support for Rect2
...
Fixes #34575
(cherry picked from commit 4bbe87abb7
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
73240f81d0
Decrease the script editor's default split width to 70
...
This also makes its value change to match the editor scale.
(cherry picked from commit ac3c93077c
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
b80190721b
Allow using MeshLibrary.get_item_preview()
in non-editor builds again
...
This closes #36268 .
(cherry picked from commit 64fac9dd5d
)
2020-03-04 12:40:13 +01:00
Dominik 'dreamsComeTrue' Jasiński
f328ac36d6
Fix: auto brace complete for quoted strings
...
Fixes #36002
(cherry picked from commit 6a404a88e4
)
2020-03-04 09:53:44 +01:00
Yuri Sizov
04b3e208fa
Add a button to quickly repeat last search in files
...
(cherry picked from commit 8c80b602ac
)
2020-03-04 09:52:55 +01:00
Phischermen
c75459ac95
Enabled concave collision detection with Areas in Bullet.
...
(cherry picked from commit 2c01cf54f8
)
2020-03-04 09:51:15 +01:00
Eevee
e70e0d24d9
Fix inverted use of Camera2D.offset_v
...
The code above for horizontal movement uses the right margin (_positive_ x direction) when the offset is negative, but vertical movement uses the top margin (_negative_ y direction) when the offset is negative.
The resulting problem is easily seen in the editor — set the drag margins to be asymmetrical, turn on drawing the drag margins, and slide the offsets from -1 to 1 and back. The horizontal offset moves the camera's center between the left and right margins, but the vertical offset gets them backwards and will move the camera outside the margins entirely.
(cherry picked from commit 40816574ac
)
2020-03-04 09:50:21 +01:00
Fabio Iotti
45248fb0ec
Fix OGG audio loops
...
(cherry picked from commit 4f8d1c47b8
)
2020-03-04 09:50:21 +01:00
Rémi Verschelde
2bae35353d
Revert "Fix control node transform animation jitter with pivot offset"
...
This reverts commit 15315f118c
.
It caused a regression: #36087 .
2020-03-04 09:50:21 +01:00
Rémi Verschelde
0d5e483a90
Merge pull request #36754 from mbrlabs/newline-fix-32
...
Improved custom Android template exports for the 3.2 branch
2020-03-04 08:15:05 +01:00
Marcus Brummer
9190f516b1
Improved custom Android template exports
...
Prevent newlines from beeing appended in AndroidManifest.xml and
build.gradle. Fixes #36708 .
2020-03-03 10:49:13 +01:00
Rémi Verschelde
416cd715a3
Merge pull request #36236 from Janglee123/vehicle-random-force-fix
...
Fixing Vehicle-Wheels getting a random engine_force at start
2020-03-02 16:50:10 +01:00
Rémi Verschelde
685f255f2f
Merge pull request #36694 from clayjohn/ETC-mipmaps
...
Force mipmaps off when importing RGBA4444 textures
2020-03-01 08:30:12 +01:00
clayjohn
2c0d391c48
Force mipmaps off when importing RGBA4444 textures
2020-02-29 19:23:56 -08:00