Commit graph

34253 commits

Author SHA1 Message Date
Rémi Verschelde
b923726f67
Merge pull request #48141 from akien-mga/android-fileaccess-get_buffer-false-positive
Android: Fix get_buffer false positive on empty dest buffer
2021-04-23 21:49:11 +02:00
jfons
4d9d99bb82 Implement occlusion culling
Added an occlusion culling system with support for static occluder meshes.
It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`.

Occluders are defined via the new `Occluder3D` resource and instanced using the new
`OccluderInstance3D` node. The occluders can also be automatically baked from a
scene using the built-in editor plugin.
2021-04-23 21:45:23 +02:00
Rémi Verschelde
a09f3833bd
Android: Fix get_buffer false positive on empty dest buffer
Follow-up to #46810, this was missed in #47079 when fixing the issue
for other platforms.

Fixes #48135.
2021-04-23 21:33:13 +02:00
George Marques
1e4ff2ede6
GDScript: Make sure Lua-style dicts use StringName as keys 2021-04-23 16:00:23 -03:00
George Marques
c7511de02e
GDScript: Fix resolution of dictionary keys
There was a mixup between String and StringName keys. Now they're
clearly separated. This also means you have to consider which type
you're using for the dictionary keys and how you are accessing them.
2021-04-23 15:42:33 -03:00
Rémi Verschelde
ff6f384618
Merge pull request #48129 from kleonc/args-master
Docs: Minor argument names fix
2021-04-23 17:13:09 +02:00
Rémi Verschelde
1a3d60944f
Merge pull request #47485 from rafallus/fix/rigidbody-crash
Fix crash on RigidBody _direct_state_changed
2021-04-23 16:02:26 +02:00
jfons
34b3e8f9e2 Add Embree-aarch64 thirdparty library 2021-04-23 15:57:28 +02:00
kleonc
d13cfc8d62 Docs: Minor argument names fix 2021-04-23 15:46:51 +02:00
Rémi Verschelde
eeccab26c5
Merge pull request #48126 from akien-mga/nodepath-remove-unimplemented-get_parent
NodePath: Remove unimplemented `get_parent()` method
2021-04-23 13:34:39 +02:00
Rémi Verschelde
12f826da7d
NodePath: Remove unimplemented get_parent() method
Fixes #48100.
2021-04-23 12:37:53 +02:00
Rémi Verschelde
c04681b969
Merge pull request #48098 from KoBeWi/you_never_know
Make randomize() use unix time instead of ticks
2021-04-23 11:45:58 +02:00
Rémi Verschelde
492b8aa9a5
Merge pull request #43330 from KoBeWi/rngesus
Call randomize() automatically
2021-04-23 10:17:11 +02:00
Rémi Verschelde
a3fbc0b4e5
Merge pull request #48028 from smix8/issue_47337_broken_navagent3d_callback 2021-04-23 10:14:04 +02:00
Rémi Verschelde
bd7a92ec23
Merge pull request #48030 from smix8/issue_47337_broken_navagent2d_callback 2021-04-23 10:13:44 +02:00
rafallus
cfa06f0f76 Unexpose _direct_state_changed in PhysicsBody
Removed _direct_state_changed bindings
Affects 2D and 3D nodes
Callbacks now use Callable
Tests were changed accordingly
2021-04-22 23:20:58 -05:00
Fabio Alessandrelli
6cfbf36338
Merge pull request #48079 from sboron/fix-47643-remote
Fix Closing Running Game, still shows remote and local tabs
2021-04-23 02:59:37 +02:00
Stefan Boronczyk
7b9a9e57a7 fix stop debugger on closing game 2021-04-23 01:04:15 +02:00
Tomasz Chabora
497c3f97b2 Call randomize() automatically 2021-04-22 21:13:43 +02:00
kobewi
22efa850bd Make randomize() use unix time too 2021-04-22 21:08:33 +02:00
Hugo Locurcio
188bd5638c
Link to Feature tags more explicitly in ProjectSettings documentation 2021-04-22 20:07:54 +02:00
Rémi Verschelde
c7b97f077a
Merge pull request #48095 from akien-mga/safe_refcount-include-type_traits
Add type_traits include for `std::is_trivially_destructible`
2021-04-22 17:15:55 +02:00
Rémi Verschelde
4753b309a8
Merge pull request #48074 from akien-mga/fbx-fix-zlib-unbundling
fbx: Fix include for zlib that broke unbundling
2021-04-22 16:53:06 +02:00
Rémi Verschelde
3f270022d2
Merge pull request #48088 from bruvzg/icu_update_69_1
ICU: Update to version 69.1, improve ICU data export process.
2021-04-22 16:24:31 +02:00
Rémi Verschelde
3d46f28558
Add type_traits include for std::is_trivially_destructible 2021-04-22 16:23:55 +02:00
bruvzg
b56241f22f
ICU: Update to version 69.1, improve ICU data export process. 2021-04-22 16:56:53 +03:00
Rémi Verschelde
77a876c6e1
Merge pull request #48081 from bruvzg/fix_api_gen_crash
Fix crash on GDNative API json generator exit.
2021-04-22 09:46:43 +02:00
bruvzg
a4423c82f8
Fix crash on GDNative API json generator exit. 2021-04-22 10:24:13 +03:00
Rémi Verschelde
93b7406138
fbx: Fix include for zlib that broke unbundling
It's possible to link against system zlib on Linux, so we should use system paths.
2021-04-22 02:18:44 +02:00
Rémi Verschelde
f6d5b2f3c2
Merge pull request #48046 from BastiaanOlij/fix_reflection_probe
Fix reflection probe
2021-04-21 16:12:58 +02:00
Bastiaan Olij
ebf10fe736 Fix reflection probe 2021-04-21 23:42:29 +10:00
Rémi Verschelde
e271dba9cb
i18n: Sync translations with Weblate
(cherry picked from commit 305c364c13)
2021-04-21 09:52:26 +02:00
Rémi Verschelde
a5bb9e7c80
Merge pull request #47772 from Calinou/doc-engine-editor-hint
Improve the `Engine.editor_hint` property documentation
2021-04-21 07:49:41 +02:00
Hugo Locurcio
17591fc6a1
Improve the Engine.editor_hint property documentation 2021-04-20 22:56:44 +02:00
Rémi Verschelde
38b25617fe
Merge pull request #48053 from bruvzg/icu_no_except
Re-add "no-exceptions" for export templates builds with ICU.
2021-04-20 22:35:39 +02:00
Rémi Verschelde
b06116d62f
Merge pull request #42770 from madmiraal/fix-26680
Move collision layer and mask into CollisionObject.
2021-04-20 21:07:32 +02:00
Rémi Verschelde
c395b9c4ac
Merge pull request #47552 from szymonm-google/validation_layers_android
Validation layers on Android
2021-04-20 20:53:34 +02:00
bruvzg
7e557bbec6
[JS, Android] Re-add "no-exceptions" for export templates builds with ICU. 2021-04-20 21:50:48 +03:00
Rémi Verschelde
1616055b3b
Merge pull request #47879 from SilverCreekEntertainment/add-uwp-export-project-notifier
Fix EditorExportPlugin  _export_begin and _export_end  functions not being called when exporting UWP
2021-04-20 20:07:45 +02:00
Rémi Verschelde
8a8dd9cef4
Merge pull request #47896 from Calinou/videoplayer-stream-position-warning
Print a warning when trying to seek in VideoPlayer
2021-04-20 20:07:13 +02:00
Rémi Verschelde
399f55751e
Merge pull request #47983 from smix8/doc_animationnodetimeseek
Document AnimationNodeTimeSeek with clarified usage and code example
2021-04-20 20:05:08 +02:00
Rémi Verschelde
0c995a9790
Merge pull request #47976 from RoniPerson/patch-4
changed description of `merge_polygons`
2021-04-20 20:04:13 +02:00
Rémi Verschelde
d85fa25318
Merge pull request #47953 from Calinou/doc-astar-thread-safety
Document `AStar.get_point_path()` not being thread-safe
2021-04-20 20:03:24 +02:00
Rémi Verschelde
7879e0494b
Merge pull request #48048 from kleonc/project_settings_add_property_type_fix
ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values
2021-04-20 20:00:59 +02:00
kleonc
f8f12d0564 ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values. 2021-04-20 18:50:36 +02:00
Rémi Verschelde
c36807994d
Merge pull request #47345 from nekomatata/heightmap-draw-triangles
Draw triangles for HeightMapShape debug collision
2021-04-20 17:41:11 +02:00
Rémi Verschelde
fdf041a466
Merge pull request #47347 from nekomatata/heightmap-support
Heightmap collision shape support in Godot Physics
2021-04-20 17:40:28 +02:00
Rémi Verschelde
a9ecf66342
Merge pull request #47956 from vnen/gdscript-double-stack
GDScript: Use special stack space for temporaries to reduce type changes
2021-04-20 17:39:09 +02:00
Marcel Admiraal
071871b787 Move collision layer and mask into CollisionObject. 2021-04-20 10:38:42 +01:00
Rémi Verschelde
aa677865e3
Merge pull request #47991 from LightningAA/regroup-area-inspector-4.0
`Area[X]D`: Put physics override parameters in their own group and document that areas can be used to influence audio
2021-04-20 09:54:07 +02:00