ne0fhyk
b5c750fa65
Restrict the project data directory configuration
2021-10-18 14:10:38 -07:00
Rémi Verschelde
f4d9749e23
Merge pull request #53741 from DmitriySalnikov/exposed_sensor_setters_master
2021-10-18 23:00:56 +02:00
Rémi Verschelde
c5f4bf2077
Merge pull request #53950 from qarmin/memory_leak_gdscript
2021-10-18 14:02:33 +02:00
qarmin
343d005e0f
Fix memory leak in exported project
2021-10-18 11:19:31 +02:00
unknown
73c5e07051
Added better descriptive error messages for file operations in core_bind.cpp
2021-10-18 02:09:42 +05:30
mennomax
b4eeeb315a
Swap args of Plane(point, normal) constructor
...
Now (normal, point)
2021-10-15 20:49:42 -05:00
Rémi Verschelde
c133480531
SCons: List .gen.cpp
sources explicitly to avoid globbing errors
...
Whenever we change the name (or remove) generated cpp files with the `.gen.cpp`
extension, users run into build issues when switching between branches (i.e.
switching before and after the name change/removal). This is because we glob
`*.cpp` so if a now-obsolete file from a previous build is present, we'll
include it too, potentially leading to bugs or compilation failure (due to
missing headers or invalid code).
So globbing patterns in `add_source_files` will now skip files ending with
`.gen.cpp`, which should instead be passed explicitly where they're used.
2021-10-15 22:14:11 +02:00
Rémi Verschelde
cd21cc683a
SCons: Set DEBUG_ENABLED
and DEV_ENABLED
in SConstruct
...
They're the same for all platforms so they don't need to be repeated in all
platform definitions.
2021-10-15 10:26:58 +02:00
K. S. Ernest (iFire) Lee
8f0c056431
Fix specific warnings issues by Clang
...
Found by `scons dev=yes` on llvm-mingw.
2021-10-14 14:14:26 -07:00
George Marques
4c14051b3f
Zero Dictionary and Array variants when changing type with reset
...
So they don't reference to the old values anymore and instead refer to
a new value.
2021-10-14 11:22:17 -03:00
Rémi Verschelde
a801a2031d
Merge pull request #53773 from nathanfranke/fix-license-character-encoding
2021-10-13 21:04:13 +02:00
Rémi Verschelde
fd2dcba02c
Merge pull request #53772 from RandomShaper/fix_hash_map
2021-10-13 21:03:50 +02:00
Nathan Franke
28c163a432
Fix character encoding of Engine::get_copyright_info
2021-10-13 10:42:41 -05:00
Pedro J. Estébanez
f80e4e4f4c
Fix HashMap element copy leaving hash as zero
2021-10-13 17:25:31 +02:00
Rémi Verschelde
6569635ec0
Merge pull request #53757 from groud/fix_undo
2021-10-13 12:42:07 +02:00
Gilles Roudière
cf7242dd8e
Fix undo in inspector not working
2021-10-13 10:45:21 +02:00
Rémi Verschelde
6f1d2133bb
Merge pull request #52495 from kdiduk/issue-52491-fix-value-conversion-in-hashfuncs-header
...
#52491 Cosmetic: fix type cast so that it matches return value type
2021-10-12 22:38:39 +02:00
Rémi Verschelde
b48c6418fe
Merge pull request #52293 from neikeq/class-db-api-type-bug
...
Fix ClassDB API type mismatch bug between --editor and player
2021-10-12 22:34:21 +02:00
Дмитрий Сальников
9b38e04fff
Exposed setters for sensor values in Input class
2021-10-12 23:26:03 +03:00
Gilles Roudière
5504e11fb7
Fix useless debug print
2021-10-12 17:03:39 +02:00
Rémi Verschelde
480fc31450
Merge pull request #53713 from groud/add_force_keep_on_undo_redo_merge_ends
2021-10-12 15:33:20 +02:00
Fabio Alessandrelli
74b46bb220
[Net] Fix spawn/despawn custom callable argument.
...
Was always reporting it to be a spawn, even for despawns.
2021-10-12 14:18:16 +02:00
Gilles Roudière
1be00864b7
Add a way to force undo/redo operations to be kept in MERGE_ENDS mode
2021-10-12 14:03:05 +02:00
Rémi Verschelde
0fd50ff217
Merge pull request #52736 from aaronfranke/lgtm-mult
...
Fix some LGTM errors of "Multiplication result converted to larger type"
2021-10-12 08:38:46 +02:00
Rémi Verschelde
1bd6a2f020
Merge pull request #52548 from m4gr3d/customize_metadata_dir_master
...
Make the project data directory customizable
2021-10-12 08:26:47 +02:00
Aaron Franke
7e51e4cb84
Fix some LGTM errors of "Multiplication result converted to larger type"
2021-10-12 00:17:27 -05:00
Juan Linietsky
610de0974d
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:27:50 -03:00
ne0fhyk
3e44a6375e
Make the project data directory customizable.
2021-10-11 14:40:14 -07:00
Rémi Verschelde
9ed4f8367b
Merge pull request #48332 from TokageItLab/implement-ping-pong
2021-10-11 22:55:01 +02:00
Yuri Roubinsky
e270d1cce3
Fix autocompletion of built-in functions in GDScript
2021-10-11 19:06:17 +03:00
Tokage
372ba76663
implement ping-pong loop in animation
...
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09:00
mashumafi
575d4e00b6
Enhance and cleanup stringify for Vector
2021-10-09 06:19:25 +00:00
Pedro J. Estébanez
73697d4de6
Avoid the need for copy assignment in HashMap key/data types
2021-10-08 20:06:07 +02:00
Rémi Verschelde
26b3aff01d
Merge pull request #53517 from ColinKinloch/native_callback_typedef
2021-10-08 14:28:36 +02:00
Rémi Verschelde
cdaa52a820
Merge pull request #53555 from Pineapple/faster-int-string-dictionary
2021-10-08 14:26:48 +02:00
Fabio Alessandrelli
54ec66a700
[Net] Rename RPCConfig.sync to call_local.
...
For consistency with the other user facing changes.
2021-10-08 12:39:09 +02:00
Bartłomiej T. Listwon
4a723842b6
Faster hash_compare for integer and string keys in dictionaries
2021-10-08 10:09:13 +02:00
Rémi Verschelde
49e7e049ab
Merge pull request #53422 from KoBeWi/add_LUA_to_Godot
2021-10-07 23:37:37 +02:00
Rémi Verschelde
6090f90743
Merge pull request #53545 from vnen/gdscript-release
2021-10-07 23:28:34 +02:00
Rémi Verschelde
5abc966be4
Merge pull request #53500 from vnen/variant-in-string-name
2021-10-07 22:51:00 +02:00
George Marques
fafa8c7f6e
Enable method type information on release builds
...
This is needed to ensure GDScript compilation works properly on release
builds and make use of optimized typed instructions.
2021-10-07 16:13:44 -03:00
Hugo Locurcio
bcf4a56c74
Replace references to VisualServer in code comments with RenderingServer
...
VisualServer no longer exists in the `master` branch.
2021-10-07 15:49:41 +02:00
Colin Kinloch
a66e59be84
Add typedef to GDNativeInstanceBindingCallbacks
2021-10-07 11:59:18 +01:00
George Marques
13a2d03dde
Add Variant in
operator for any String/StringName operands
...
Allow using String or StringName types as operand in any position of the
`in` operator, which is more convenient in scripting when interacting
with data in the engine (such as a Node name).
2021-10-06 22:07:32 -03:00
Brian Semrau
f28c677f3d
[core_bind] Add is_alive
to Thread. Replace is_active
with is_started
.
...
Replacing `is_active` resolves an API discrepancy between core_bind Thread and core/os Thread.
2021-10-06 12:47:58 -04:00
Kirill Diduk
1f38b00242
#52491 Cosmetic: fix type cast and add comment with the algorithm source
2021-10-05 21:40:33 +02:00
Rémi Verschelde
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
Rémi Verschelde
a603b2d7c7
Merge pull request #47497 from briansemrau/nan-inf-tscn-parsing-bug
2021-10-05 19:57:33 +02:00
Thakee Nathees
3f3ed5d34c
NaN, INF read/write bug fixed
...
Fix : #40589
2021-10-05 09:25:49 -04:00
Maxime Lapointe
29dc8de88b
Improve error message when instantiating virtual class
2021-10-05 08:09:35 -04:00