Commit graph

32813 commits

Author SHA1 Message Date
Rémi Verschelde
6019dab0b4
Merge pull request #44697 from madmiraal/fix-44677
Update GraphEdit connection to reflect new signal name
2020-12-26 13:25:50 +01:00
Marcel Admiraal
dc8c29ee95 Update GraphEdit connection to reflect new signal name 2020-12-26 09:48:40 +00:00
Rémi Verschelde
f2968f59e1
Merge pull request #44682 from madmiraal/fix-etc-quality
Fix ETC quality setting
2020-12-26 10:23:06 +01:00
Marcel Admiraal
072b8a1894 Fix ETC quality setting 2020-12-26 07:21:17 +00:00
Andrii Doroshenko (Xrayez)
f018ae74f9 Use relative path to executable for loading test data
Fixes crash if tests are run outside the Godot root directory.
2020-12-25 20:28:28 +02:00
Yuri Roubinsky
0f509b0723
Merge pull request #44684 from Chaosus/vs_ttr
Makes strings translatable on context menu in visual shader
2020-12-25 19:10:19 +03:00
Rémi Verschelde
7d972b8c67
Merge pull request #44640 from nekomatata/joint2d_update_body_transforms
Update body transforms on joint2D setup
2020-12-25 14:59:53 +01:00
Rémi Verschelde
ecffa43335
Merge pull request #44662 from reduz/bvh-use-page-allocator
Use page allocator for BVH
2020-12-25 14:58:40 +01:00
Rémi Verschelde
af2232521c
Merge pull request #44680 from madmiraal/fix-cvtt-options
Ensure flags are applied to CVTT options
2020-12-25 14:57:48 +01:00
Yuri Roubinsky
8c2363922e Makes strings translatable on right-click menu in visual shader 2020-12-25 16:43:39 +03:00
Marcel Admiraal
709aa8ae2c Ensure flags are applied to CVTT options 2020-12-25 11:28:29 +00:00
Hugo Locurcio
b98540dd9d
Document the expected low performance of VideoPlayer on HTML5 2020-12-25 11:59:37 +01:00
Thakee Nathees
16bb01adfb Array/Dictionary marked as not safe to const fold
Fix: #44459
2020-12-25 12:33:55 +05:30
clayjohn
28d0f8a455 Use cubemap downsampler for reflection mipmaps 2020-12-24 16:39:17 -08:00
reduz
2e66e5d599 Use page allocator for BVH 2020-12-24 14:08:03 -03:00
Andrea Catania
7c6506e028
Fixes: GDscript min and max are inverted 2020-12-24 18:03:50 +01:00
Juan Linietsky
545c894614
Merge pull request #44656 from reduz/cull-fixes-and-optimizations
Cull fixes and optimizations
2020-12-24 14:01:19 -03:00
Rémi Verschelde
ecda989c85
Merge pull request #44649 from lyuma/bone_aabb_blendshapes
Fix blendshapes and calculation of bone_aabbs
2020-12-24 17:20:07 +01:00
reduz
1bebb2ba05 Cull fixes and optimizations 2020-12-24 12:18:28 -03:00
Juan Linietsky
4d9b95f3a8
Merge pull request #44651 from lawnjelly/bvh_world_aabb
Fix BVH to world_aabb, and call update
2020-12-24 08:45:19 -03:00
lawnjelly
6d687de9b8 Fix BVH to world_aabb, and call update
The calls to the BVH need to use the world space AABB, rather than local space for it to work. Also, update was not being called which is required to update the AABB as objects move.
2020-12-24 11:19:50 +00:00
Rémi Verschelde
dbd00d932e
Merge pull request #44636 from Calinou/doc-sliderjoint3d-description
Fix confusing SliderJoint3D brief description
2020-12-24 10:10:56 +01:00
Rémi Verschelde
6063af6788
Merge pull request #44641 from reduz/get-frame-setup-time
Add API to get frame setup time on CPU
2020-12-24 10:07:54 +01:00
Lyuma
d976003b16 Fix blendshapes and calculation of bone_aabbs
Blendshapes without a skeleton already worked.
However, due to a faulty ERR_FAIL_COND, it was impossible to create a mesh with both bones and blendshapes.
This also fixes an assumption that all surfaces reference the same number of bones as surface 0.
2020-12-24 00:01:07 -08:00
clayjohn
3a8c99a10b Use basic uniform set for depth prepass 2020-12-23 20:23:51 -08:00
Juan Linietsky
3fdf4bfe71
Merge pull request #44623 from reduz/rewrite-renderer-indexer
Replace Octree by DynamicBVH in cull code
2020-12-24 00:20:45 -03:00
reduz
7219f37cb5 Add API to get frame setup time on CPU
Needed for benchmarks
2020-12-24 00:13:52 -03:00
PouleyKetchoupp
11bee25de4 Update body transforms on joint2D setup
Body transforms from physics are used to setup the joint and they are
only updated before the physics step by default.

Without forcing the transform update, joints could use a previous
position if the body's position was set after it was added to the scene.

3D physics is not affected by this issue.
2020-12-23 20:04:22 -07:00
Hugo Locurcio
27f964d538
Fix confusing SliderJoint3D brief description 2020-12-24 01:48:31 +01:00
Rémi Verschelde
169159c8aa
Merge pull request #44635 from reduz/bind-rs-viewport-measure
Bind viewport measure functions
2020-12-24 01:01:08 +01:00
reduz
f910e9f70c Bind viewport measure functions 2020-12-23 20:40:19 -03:00
Rémi Verschelde
210ebb04d3
Merge pull request #44609 from m4gr3d/fix_top_level_android_export
Fix the `String::get_base_dir()` logic to properly check for top level directories on Windows
2020-12-23 23:56:45 +01:00
reduz
83058597cf Replace Octree by DynamicBVH in cull code
-Much greater pairing/unpairing performance
-For now, using it for culling too, but this will change in a couple of days.
-Added a paged allocator, to efficiently alloc/free some types of objects.
2020-12-23 19:31:30 -03:00
Hugo Locurcio
435848192e
Improve the Array.hash() documentation
Co-authored-by: Laguzus <67963093+Laguzus@users.noreply.github.com>
2020-12-23 19:13:10 +01:00
Rémi Verschelde
c4c211c3b7
Merge pull request #44605 from madmiraal/rename-control-margin
Rename Control margin to offset
2020-12-23 18:24:00 +01:00
Rémi Verschelde
1e08647195
Merge pull request #44621 from fire/update-fbx
Update FBX because of changes in the core api.
2020-12-23 18:23:34 +01:00
K. S. Ernest (iFire) Lee
58a00b4f3c Update FBX because of changes in the core api. 2020-12-23 08:52:52 -08:00
Rémi Verschelde
719e4b1156
Merge pull request #44619 from bruvzg/m1_dragdrop_4
[4.0] Fix file drag-drop on M1 Macs.
2020-12-23 17:37:42 +01:00
Rémi Verschelde
35a8ebaa10
Merge pull request #44499 from RevoluPowered/fbx_plugin_port_4.0
[fbx] Port FBX module from 3.2 branch
2020-12-23 17:14:56 +01:00
bruvzg
39bcc77d6a
[4.0] Fix file drag-drop on M1 Macs. 2020-12-23 18:00:50 +02:00
Rémi Verschelde
b233f23c37
Merge pull request #44535 from Demindiro/fix-joint-rid-not-passed
Fix joint RID not being passed to _set in PhysicalBone
2020-12-23 16:08:06 +01:00
Rémi Verschelde
73357a76b8
Merge pull request #44611 from lyuma/fix_gltfmesh_mesh
Fix mistake in GLTFMesh.mesh property
2020-12-23 16:05:12 +01:00
Rémi Verschelde
25d6147b05
Merge pull request #44612 from m4gr3d/migrate_deprecate_java_modules_to_new_godot_fragment_master
Fix invalid invocation of `get_class_loader`.
2020-12-23 16:04:03 +01:00
geekrelief
cc5d8bb5ad Removes the gdnative library when no script (gdns) references it any longer. This enables hot reload for gdnative. 2020-12-23 06:36:01 -08:00
Lyuma
4c4a405887 Fix mistake in GLTFMesh.mesh property 2020-12-23 02:11:13 -08:00
Fredia Huya-Kouadio
2d492ff8ba Fix invalid invocation of get_class_loader.
The call was made on a `Godot` instance instead of an `Activity` instance.
2020-12-23 02:08:27 -08:00
Fredia Huya-Kouadio
8edacea04a Fix the String::get_base_dir() logic to properly check for top level directories on Windows. 2020-12-23 00:48:18 -08:00
Rémi Verschelde
187be733aa
Merge pull request #34193 from fire/scene_export_native_gltf
Create gltf Importer/Exporter.
2020-12-23 09:31:01 +01:00
Marcel Admiraal
b832003c6b Rename Control rotation to rotation_degrees 2020-12-23 07:06:30 +00:00
Marcel Admiraal
4b8b803931 Rename Control margin to offset 2020-12-23 06:25:56 +00:00