Andrea Catania
c9b86d54bf
Fixed editor crash when the animation player has no root assigned.
2020-02-26 14:50:22 +01:00
Yuri Roubinsky
1e8108310a
Changed float type to int for INDEX visual shader input
2020-02-26 16:39:42 +03:00
Maurizio Petrarota
744c1fafff
Fixed TextureAtlas import.
2020-02-26 14:35:57 +01:00
Rémi Verschelde
c7dc5142b5
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.
2020-02-26 14:23:34 +01:00
Christoph Schroeder
5134317afc
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
2020-02-26 12:04:18 +01:00
Rémi Verschelde
1e57b558f2
Merge pull request #36536 from Chaosus/vs_int
...
Add support for integer type in visual shaders
2020-02-26 10:11:24 +01:00
Rémi Verschelde
3a4c128f07
Merge pull request #36551 from AndreaCatania/navigation_destruction_flush
...
Flushes commands just before the navigation server is destroyed
2020-02-26 10:09:43 +01:00
Rémi Verschelde
fc5a400ce2
Merge pull request #36550 from akien-mga/scons-compiler-version-check
...
SCons: Re-allow upcoming GCC 8.4, fixes C++17 copy elision
2020-02-26 09:54:36 +01:00
Andrea Catania
c143b5c677
Flushes commands just before the navigation server is destroyed
2020-02-26 09:42:51 +01:00
Rémi Verschelde
dd4eb5494f
SCons: Re-allow upcoming GCC 8.4, fixes C++17 copy elision
...
Follow-up to #36484 .
The patches for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 have now
landed in the `releases/gcc-8` branch and will be in GCC 8.4.
2020-02-26 09:06:39 +01:00
Rémi Verschelde
412d1f20d1
Merge pull request #36543 from dreamsComeTrue/navigation-2d-missing-destructor
...
Added missing destructor for Navigation2D
2020-02-26 08:31:54 +01:00
Rémi Verschelde
c1fe53a933
Merge pull request #36521 from rafaeldelboni/master
...
Improve LSP completion using scene owner
2020-02-26 08:24:59 +01:00
Rémi Verschelde
dfeab91a1b
Merge pull request #36547 from Lunadin/master
...
Improved docs wording and added links
2020-02-26 08:20:38 +01:00
Yuri Roubinsky
4a3d277623
Add support for integer type in visual shaders
2020-02-26 10:12:06 +03:00
Lunadin
4e226dc0d6
Docs: Improved wording and added links
...
- Added missing links to the Control node in BoxContainer
- Added Oxford commas in BoxContainer and CanvasItem
- Clarified ambiguous boolean wording in BoxContainer
- Improved paragraphing in ScrollContainer's description
- Simplified ControlPicker description
2020-02-26 14:47:06 +11:00
Rafael Delboni
06bce137e3
Improve LSP completion using scene owner
...
Fixes : #36473
2020-02-25 23:27:17 -03:00
Dominik 'dreamsComeTrue' Jasiński
51cbf414fc
Added missing destructor for Navigation2D
...
Although destructor call was missing, it still doesn't heal #36537 memory leaks. Further description how that might be overcome - on GitHub
Partialy covers #36537
2020-02-25 23:43:59 +01:00
Rémi Verschelde
2d980f6f13
Merge pull request #36542 from akien-mga/doc-64-arrays
...
doc: Sync classref for Packed{Int,Float}{32,64}Array additions
2020-02-25 22:19:55 +01:00
Rémi Verschelde
a7e1df4b1d
doc: Sync classref for Packed{Int,Float}{32,64}Array additions
2020-02-25 22:02:36 +01:00
Rémi Verschelde
2ead439370
Merge pull request #36512 from AndreaCatania/AndreaCatania-patch-2
...
Fixed remove region method.
2020-02-25 20:11:19 +01:00
Rémi Verschelde
0e724fc871
Merge pull request #36538 from YeldhamDev/packed_arrays_bits_icons
...
Update PackedInt/FloatArray icons for the new types
2020-02-25 20:10:10 +01:00
Michael Alexsander
19d7428db6
Update PackedIint/FloatArray icons for the new types
2020-02-25 14:46:40 -03:00
Rémi Verschelde
f708ab5553
Merge pull request #36510 from akien-mga/int-vectors-doc-bindings
...
Update docs and bindings for new integer vector types
2020-02-25 18:14:49 +01:00
Rémi Verschelde
dace1ec912
Merge pull request #36532 from Faless/debugger/weakref_crash_vulkan
...
Fix debugger crash inspecting freed object.
2020-02-25 16:45:12 +01:00
Rémi Verschelde
6c8f2ae53a
Update docs and bindings for new integer vector types
2020-02-25 15:27:29 +01:00
Rémi Verschelde
2f237d181b
Merge pull request #36515 from reduz/packed-array-64-bits
...
Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
2020-02-25 15:27:09 +01:00
Fabio Alessandrelli
d8ba07ea8f
Fix debugger crash inspecting freed object.
...
This seems to be the correct way to validate a reference.
Why is cast_to failing? Is this the correct way of checking if the
object is valid?
2020-02-25 15:00:52 +01:00
Rémi Verschelde
b8f0da7bed
Merge pull request #36529 from akien-mga/expression-int64
...
Expression: Fix parsing integers as 32-bit
2020-02-25 14:35:52 +01:00
Rémi Verschelde
fe1dfb5fb7
Merge pull request #36481 from nekomatata/fix-crash-connect-callable
...
Fixed crash when connecting a signal in GDScript
2020-02-25 13:26:08 +01:00
Rémi Verschelde
ceba2b6761
Expression: Fix parsing integers as 32-bit
2020-02-25 13:20:04 +01:00
Juan Linietsky
33b5c57199
Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
...
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.
Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as `float`.
We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
2020-02-25 12:55:53 +01:00
bruvzg
1af06d3d46
Rename scancode
to keycode
.
...
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-25 12:30:33 +02:00
Rémi Verschelde
376a8255a9
Merge pull request #36513 from Calinou/editor-icons-pascalcase-filenames
...
Use PascalCase file names for editor icons
2020-02-25 11:26:44 +01:00
Rémi Verschelde
c19488bd89
Merge pull request #36527 from akien-mga/travis-python-3.8
...
Travis: Use Python 3.8 alias instead of specific version
2020-02-25 10:46:29 +01:00
Rémi Verschelde
c418966623
Travis: Use Python 3.8 alias instead of specific version
...
Otherwise it breaks when they update the container to a new version,
like they did today with 3.7.6.
2020-02-25 10:30:51 +01:00
Rémi Verschelde
2ca5f22bce
Merge pull request #36525 from nathanwfranke/fix-project-godot-class-name
...
Fix project.godot for projects with class_name
2020-02-25 08:29:39 +01:00
Rémi Verschelde
a4125bbe2f
Merge pull request #36502 from nathanwfranke/re-remove-invalid-signal-connect
...
Re-Remove this signal call that was mistakenly added in #36244
2020-02-25 08:28:32 +01:00
nathanwfranke
1569c47c1a
Fix project.godot for projects with class_name
...
Fixes #36438
2020-02-24 21:28:14 -06:00
Hugo Locurcio
1f8c82df32
Use PascalCase file names for editor icons
...
Using PascalCase file names without any conversion step is
less confusing to new contributors.
2020-02-24 18:53:05 +01:00
Andrea Catania
c16711b155
Fixed remove region method.
2020-02-24 18:09:14 +01:00
Danil Alexeev
6e5cd36b12
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`.
2020-02-24 18:37:46 +03:00
Phischermen
2c01cf54f8
Enabled concave collision detection with Areas in Bullet.
2020-02-24 07:37:15 -08:00
Rémi Verschelde
5e181ac9f1
Merge pull request #36506 from kuruk-mm/marshall_to_object
...
Core: Change _Marshall class from inherit Reference to Object
2020-02-24 14:58:18 +01:00
Mateo Dev .59
9e8e5ebdc7
Core: Change _Marshall class inherit from Reference to Object
2020-02-24 10:45:19 -03:00
Rémi Verschelde
9e4d11d10d
Merge pull request #36503 from Redwan13/mac_os_build_fix
...
Scons: fixed build for vanilla clang in mac os x
2020-02-24 10:35:17 +01:00
Nickolai Korshunov
c491232ae2
Scons: fixed build for vanilla clang in mac os x
2020-02-24 12:19:41 +03:00
nathanwfranke
e0bb28c624
Remove this signal call that was mistakenly added in #36244
...
The original change was in #36340
2020-02-24 02:38:27 -06:00
Rémi Verschelde
128a55a597
Merge pull request #36494 from akien-mga/callable-fixes
...
Fix some signals and non-debug branch for callable_mp
2020-02-24 08:00:23 +01:00
Rémi Verschelde
49118315ba
Merge pull request #36489 from YeldhamDev/more_icons
...
Add icons for some new variants
2020-02-24 00:19:58 +01:00
Rémi Verschelde
b9757545ca
Merge pull request #36488 from Chaosus/capsule_y
...
Changed default capsule axis to vertical
2020-02-24 00:19:21 +01:00