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
Marcel Admiraal
7b293eddfb
Rename unselect to deselect
2020-12-21 10:26:41 +00: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
Rémi Verschelde
fe93f6292f
Merge pull request #44549 from YeldhamDev/git_button_disable
...
Disable "Commit" button in VCS plugin if there's no commit message
2020-12-20 19:24:52 +01:00
Michael Alexsander
221738fb81
Disable "Commit" button in VCS plugin if there's no commit message
2020-12-20 14:52:26 -03:00
Rémi Verschelde
d3ff3dc6ce
Merge pull request #44543 from Exxion/GD3D-collisions
...
Fixes collisions in Godot 3D physics
2020-12-20 17:35:54 +01:00
Juan Linietsky
fc4d90e70d
Merge pull request #44531 from reduz/add-dynamic-bvh
...
Add a Dynamic BVH implementation.
2020-12-20 13:22:05 -03:00
Rémi Verschelde
bc2ac0bbd6
Merge pull request #43115 from RandomShaper/reset_track
...
Add animation reset track feature
2020-12-20 16:35:53 +01:00
Marcel Admiraal
ecf8ae5bcf
Rename Camera3D near and far getters and setters
...
Renames:
- get_znear() -> get_near()
- set_znear() -> set_near()
- get_zfar() -> get_far()
- set_zfar() -> set_far()
2020-12-20 13:46:57 +00:00
Pedro J. Estébanez
b7367ac426
Add animation reset track feature
...
As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks.
2020-12-20 12:45:08 +01:00
Pedro J. Estébanez
1f52782bbb
Extend UndoRedo handling of Resource to every Reference
2020-12-20 10:59:23 +01:00
Exxion
583ab9ce7a
Fixes collisions in Godot 3D physics
2020-12-19 21:52:33 -05:00
reduz
5ff89931c7
Add a Dynamic BVH implementation.
...
-Based on Bullet Dbvh, has style and functional changes.
-Provides efficient pairing
-Needed to optimize rendering
-Needed to optimize physics
This PR is up for others to review the implementation.
2020-12-19 20:23:37 -03:00
Rémi Verschelde
e9d12f9e4e
Merge pull request #44521 from madmiraal/rename-rect2-clip
...
Rename Rect2 and Rect2i clip() to intersection()
2020-12-19 21:32:14 +01:00
Rémi Verschelde
93acaca8ca
Merge pull request #44528 from Janglee123/no-commit-msg-pre-fill
...
Removed default commit message
2020-12-19 21:29:29 +01:00
janglee
718227df6b
Removed default commit message
2020-12-20 00:09:18 +05:30
Hugo Locurcio
a86ed339a4
Document how to solve UV jittering when using large procedural meshes
2020-12-19 18:16:52 +01:00
Rémi Verschelde
2797c2a74c
Merge pull request #33207 from Calinou/increase-camera-default-zfar
...
Increase the default Camera Zfar to 4000
2020-12-19 15:32:32 +01:00
Juan Linietsky
86de8079fc
Merge pull request #44517 from reduz/fix-error-spam-on-wrong-attachment
...
Fix error spam on wrong attachment
2020-12-19 11:21:32 -03:00
Marcel Admiraal
e1128431de
Rename EditorInterface get_editor_viewport to get_editor_main_control
2020-12-19 14:17:42 +00:00
Hugo Locurcio
7ae487d2bb
Increase the default Camera Zfar to 4000
...
This makes it possible to view far away objects without
having to tweak any settings. This results in a more usable
editor when working on large-scale levels.
This change should have no impact on performance, but note that
Z-fighting will be visible at a distance. This can be made less
visible by increasing the Znear value (however, doing so will cause
nearby surfaces to disappear).
This change was also applied to the editor, but it will only
apply to newly created scenes.
This also changes the default camera settings in the glTF importer
to match the Camera node's defaults.
2020-12-19 14:52:44 +01:00
reduz
666d5f3431
Fix error spam on wrong attachment
...
-For now, disable reading from depth this was always broken, needs to be fixed later
-Give better error showing binding and set when this happens.
2020-12-19 10:18:08 -03:00
Marcel Admiraal
2df9a8ccad
Rename Rect2 and Rect2i clip() to intersection()
2020-12-19 12:59:08 +00:00
Rémi Verschelde
229fb888a3
Merge pull request #44505 from akien-mga/mbedtls-2.16.9
...
mbedtls: Update to upstream version 2.16.9
2020-12-19 13:11:02 +01:00