Commit Graph

31993 Commits

Author SHA1 Message Date
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
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
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 4b8b803931 Rename Control margin to offset 2020-12-23 06:25:56 +00:00
K. S. Ernest (iFire) Lee 4b4efd2674 Add exporting glTF2.
* Support KHR_texture_transform.
* Support exporting glTF2
* Support exporting instanced scenes
* Extract into a gltf state and gltf document
* Add a tools menu for exporting gltf2
2020-12-22 16:56:28 -08:00
Gordon MacPherson 6607fc7da9 Port FBX module from commit 68013d2393
Ports FBX module from 3.2 branch to 4.0

This is the only time the plugin will be updated from 3.2 and marks the final time we do this, from now on we will backport FBX to 3.2 with fixes.

Changelog:
- fixed crash importing files with buggy format (because of bad newlines in ASCII data, this is yet to be fixed fully)
- fixed const correctness with C++/C version change
- rewrote material handling to be simpler and better
- ports from 3.2 to 4.0 the fbx importer
2020-12-23 00:45:03 +00:00
Rémi Verschelde 8ad0ff8ae5
Merge pull request #44487 from bruvzg/ctl_fixes_2
[CTL] Fix RTL scrolling and tabs selection.
2020-12-23 01:15:29 +01:00
Rémi Verschelde 727faf9b48
Merge pull request #44540 from jacobcoughenour/vulkan-sdk-1.2.126.0
Vulkan: loader, headers, and glslang updated to sdk-1.2.162.0
2020-12-23 01:13:18 +01:00
Rémi Verschelde a7d8fddf31
Merge pull request #44598 from YeldhamDev/file_disambiguation_fix
Fix filename disambiguation on scripts in certain occasions
2020-12-22 23:38:26 +01:00
Rémi Verschelde a003ff0cf2
Merge pull request #44599 from RevoluPowered/remove_assimp_fbx
[fbx] remove old assimp plugin - pending fbx upgrade
2020-12-22 23:12:43 +01:00
Gordon MacPherson 5b5fdb0adf remove assimp pending fbx upgrade 2020-12-22 21:31:06 +00:00
Michael Alexsander ed488b72a6 Fix filename disambiguation on scripts in certain occasions 2020-12-22 17:27:06 -03:00
David Hoppenbrouwers 41e00b6787
Fix joint RID not being passed to _set in PhysicalBone
Also remove default RID() argument from JointData._set()
2020-12-22 13:20:34 +01:00
Rémi Verschelde 30d469a5e0
Merge pull request #44562 from mcognetta/randi_range_simplification
Simplify `randi_range` implementation
2020-12-22 11:28:59 +01:00
Rémi Verschelde 6e43c68e40
Merge pull request #44182 from clayjohn/ASSAO
Replace SAO with ASSAO as Godot's new SSAO
2020-12-22 11:27:25 +01:00
clayjohn 44f8922305 Port ASSAO to Godot to replace SAO 2020-12-21 23:08:59 -08:00
jacobcoughenour 66d429576c Vulkan: loader, headers, and glslang updated to sdk-1.2.162.0
Updated glslang and Vulkan headers/loader following the instructions found in thirdparty/README.

glslang was updated to the 'known good' matching Vulkan SDK version 1.2.162.0.  Vulkan headers and loader were updated to the commit tagged with sdk-1.2.162.0.

'vk_mem_alloc.h' and 'vk_mem_alloc.c' are unchanged since there hasn't been a new tagged release since 2.3.0.

Here's the Vulkan release notes for this update:
https://vulkan.lunarg.com/doc/sdk/1.2.162.0/windows/release_notes.html

Reverted and removed the unnecessary fix-mingw-snprintf patch for glslang as well as the mention of it in thirdparty/README.md.
2020-12-21 20:28:49 -05:00
Marco Cognetta 900e55eb70 simplify randi_range 2020-12-21 20:25:58 -05:00
Rémi Verschelde 2cbc0b641a
Merge pull request #44573 from reduz/add-paged-array
Add a paged array template
2020-12-21 21:48:39 +01:00
reduz 37c6434e16 Add a paged array template
Used for reusable stacks, or filling arrays from multiple threads efficiently.
2020-12-21 15:06:50 -03:00
Rémi Verschelde 6532596d97
Merge pull request #44472 from winterpixelgames/PR-duplicate-packedarrays
Add support for duplicate() for Packed*Array, and they are pass by ref in godot 4.0
2020-12-21 17:30:01 +01:00
Rémi Verschelde 0923494c78
Merge pull request #44507 from bruvzg/icu_update_68_2
ICU: Update to upstream release 68.2
2020-12-21 12:36:47 +01:00
Rémi Verschelde 1a04dcc324
Merge pull request #44566 from madmiraal/fix-redefined-default-parameter
Ensure default value in _render_shadow is the same as parent
2020-12-21 12:07:04 +01:00
Rémi Verschelde 5d79804044
Merge pull request #44263 from madmiraal/rename-xrpositionaltracker-sets
Rename XRPositionalTracker methods
2020-12-21 11:59:08 +01:00
Rémi Verschelde 0f4a23b046
Merge pull request #44560 from Xrayez/rng-tests
Add unit tests for `RandomNumberGenerator`
2020-12-21 11:55:29 +01:00
bruvzg cc4d6eb7f6
Improve fill aligned text hit testing. 2020-12-21 11:57:35 +02:00
Marcel Admiraal efea408d23 Ensure default value in _render_shadow is the same as parent
Use double instead of int for the p_lod_distance_multiplier default value in
RendererSceneRenderForward::_render_shadow to match parent default value in
RendererSceneRenderRD::_render_shadow
2020-12-21 09:36:20 +00:00
Marcel Admiraal fdf92ca298 Rename XRPositionalTracker methods
Renames:
- set_type() -> set_tracker_type()
- set_name() -> set_tracker_name()
- get_tracks_orientation() - `is_tracking_orientation()
- get_tracks_position() -> `is_tracking_position()
- get_hand() -> get_tracker_hand()
- set_hand() -> set_tracker_hand()
2020-12-21 06:32:53 +00:00
bruvzg 784f869f0f
Fix RichTextLabel content height and scrollbar calculations. 2020-12-21 07:49:27 +02:00
bruvzg 1adea98d07
Use integer text position in scroll container, TextEdit and canvas editor, to ensure sharp text rendering.
Use integer font align/advance with any font scaling, to ensure sharp text rendering.
2020-12-21 07:49:27 +02:00
bruvzg 7d5a8ea0e9
Always include space characters (including tabs and other space-like chars) into selection rectangles. 2020-12-21 07:49:26 +02:00
Andrii Doroshenko (Xrayez) b12a6cb431 Add unit test for `RandomNumberGenerator`
This covers RNG functionality completely.

Co-authored-by: @vinayakmtiwari.
2020-12-21 03:12:53 +02:00
Rémi Verschelde bccbd4be90
Merge pull request #44261 from madmiraal/rename-trackerhand-enums
Rename TrackerHand enums
2020-12-21 00:26:44 +01:00
Rémi Verschelde f7ddcbf446
Merge pull request #44328 from gongpha/tabs-label-incorrect
Refresh TextLine buffer when moving a tab
2020-12-21 00:26:08 +01:00
Rémi Verschelde 153c132a7e
Merge pull request #44300 from KoBeWi/🧹🧹
Move initialization of some classes to headers
2020-12-21 00:24:36 +01:00
Rémi Verschelde 5f7c88ab4e
Merge pull request #44525 from Calinou/doc-procedural-mesh-uv-jittering
Document how to solve UV jittering when using large procedural meshes
2020-12-21 00:17:46 +01:00
Rémi Verschelde 59b3b9fa3f
Merge pull request #44556 from Calinou/improve-editor-checkbutton-apperance
Tweak the editor CheckButton "presed" appearance to be more recognizable
2020-12-21 00:16:58 +01:00
Hugo Locurcio 114c1a78d9
Tweak the editor CheckButton "presed" appearance to be more recognizable
The blue accent color is now used, which matches the default editor
accent color.

It doesn't change to match the currently configured accent color
automatically, but doing so would require modifying the CheckButton
class a lot for little benefit.
2020-12-20 22:32:37 +01:00
Rémi Verschelde fa9332a0e7
Merge pull request #43414 from Xrayez/pi-type-string
Expose `PROPERTY_HINT_TYPE_STRING` to scripting
2020-12-20 21:18:11 +01:00
Rémi Verschelde bf088da339
Merge pull request #43196 from Xrayez/property-list-changed-notify-protected
Make `property_list_changed_notify()` protected in `Object`
2020-12-20 21:16:14 +01:00
Rémi Verschelde f3d1fceb16
Merge pull request #42136 from Xrayez/test-list-api
Add test cases for the `List` to cover public methods
2020-12-20 21:15:55 +01:00