Commit Graph

31758 Commits

Author SHA1 Message Date
lawnjelly 7ea35da462 Portals - Fix RoomManager PVS enum
The PVS mode enum had been declared using scope operator, which does not seem to work correctly from GDScript with the BIND_ENUM_CONSTANT macro.

This PR removes the scope operator in the declaration.
2021-08-28 07:27:50 +01:00
Max Hilbrunner 17e61fa0af
Merge pull request #52095 from kleonc/tree-item-drag-drop-drawing-3x
[3.x] Tree Fix line rendering when drag and dropping TreeItem
2021-08-27 20:55:58 +02:00
Fredia Huya-Kouadio 5b8d7752b5 Update Oculus vr configs and add support for accessing Oculus OpenXR runtime 2021-08-27 11:16:20 -07:00
Gilles Roudière a09124aaa5
Merge pull request #52143 from Calinou/add-array-pop-method-3.x
Add an `Array.pop_at()` method to pop an element at an arbitrary index (3.x)
2021-08-27 09:37:55 +02:00
Hugo Locurcio d717eb537b
Add an `Array.pop_at()` method to pop an element at an arbitrary index
Negative indices are supported to pop an element relative from the end.
2021-08-27 01:27:07 +02:00
Michael Alexsander ac33441b94
Merge pull request #52138 from LeaoLuciano/linkbutton-translation
LinkButton's text now is automatically translated in 3.x
2021-08-26 22:26:13 +00:00
LeaoLuciano 9cecabb186 LinkButton's text now is automatically translated 2021-08-26 17:56:34 -03:00
Camille Mohr-Daurat 7f1543256d
Merge pull request #52116 from timothyqiu/new-kinematic-methods
[3.x] Backport new methods for `KinematicBody` and `KinematicCollision`
2021-08-26 11:02:37 -07:00
Haoyu Qiu 5183c473f7 Backport new methods for KinematicBody and KinematicCollision
For both 2D and 3D, three methods are added:

- `get_floor_angle` on `KinematicBody` to get the floor angle.
- `get_angle` on `KinematicCollision` to get the collision angle.
- `get_last_slide_collision` to quickly get the latest collision of `move_and_slide`.
2021-08-26 12:16:40 +08:00
Clay John 46ad2560a1
Merge pull request #51780 from BastiaanOlij/output_linear_gles2
Convert output of GLES2 to linear color space
2021-08-25 22:22:05 -03:00
kleonc 92ea0f7dd9 Tree Fix line rendering when drag and dropping TreeItem 2021-08-25 12:03:05 +02:00
Hugo Locurcio f5e83e7305
Merge pull request #52052 from Calinou/dynamicfont-allow-woff
Allow using WOFF fonts in DynamicFont
2021-08-25 10:37:15 +02:00
Hugo Locurcio 1ab3ddf94a
Allow using WOFF fonts in DynamicFont
This is already supported by FreeType, but it wasn't exposed.

Adding support for WOFF2 would require linking a Brotli decompression
library in Godot, so only WOFF1 is exposed here.
2021-08-25 08:09:23 +02:00
Camille Mohr-Daurat 52b7be5c41
Merge pull request #52059 from mortarroad/3.x-fix-convex-hull-double-edges
[3.x] Fix emitting duplicate edges for convex hulls
2021-08-24 15:41:11 -07:00
Morris Tabor 647ab948c0 Fix emitting duplicate edges for convex hulls
Fixes https://github.com/godotengine/godot/issues/51909
2021-08-24 19:26:33 +02:00
Camille Mohr-Daurat 5ce734c073
Merge pull request #52056 from jmb462/fix-raycast3D-color-update
[3.x] Fix Raycast3D color update when not colliding anymore (Fix #52051)
2021-08-24 08:11:05 -07:00
Max Hilbrunner 0b0002e7b4
Merge pull request #52042 from Rubonnek/expose-simplify-path-3
[3.x] Expose `String.simplify_path`
2021-08-24 17:06:58 +02:00
Camille Mohr-Daurat 9c893d3c78
Merge pull request #52057 from fabriceci/fix-transmission-velocity-on-wall
[3.x] Remove the transmission of the velocity when a body is on_wall Fix #51960
2021-08-24 08:02:29 -07:00
fabriceci 13d5fa2c43 Remove the transmission of velocity when a body is on_wall 2021-08-24 11:29:40 +02:00
jmb462 5de6376a22 Fix Raycast3D color update when not colliding anymore 2021-08-24 11:24:02 +02:00
Wilson E. Alvarez fb5417a17b
[3.x] Expose String.simplify_path 2021-08-24 00:48:20 -04:00
Hugo Locurcio 3bd682cc7b
Merge pull request #52018 from Calinou/doc-networkedmultiplayerenet-compression-mode
Document that ENet compression mode must match between client and server
2021-08-23 18:57:28 +02:00
Hugo Locurcio c2945365d8
Document that ENet compression mode must match between client and server 2021-08-23 17:35:42 +02:00
Max Hilbrunner 27bcd0601e
Merge pull request #51938 from clayjohn/GLES3-reflection-probe
Properly clear cubemap filter state when texture array environment disabled
2021-08-23 16:02:55 +02:00
Max Hilbrunner 8c98320f93
Merge pull request #51967 from Calinou/spatialmaterial-gles2-allow-more-features
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
2021-08-23 16:01:55 +02:00
Bastiaan Olij 73722f3c65 Convert output of GLES2 to linear color space if keep_3d_linear is enabled 2021-08-23 15:59:56 +10:00
Hugo Locurcio 2370fe5c26
Merge pull request #51973 from Calinou/define-minimum-window-size-3.x
Define a default minimum window size to workaround rendering issues (3.x)
2021-08-23 04:10:55 +02:00
Hugo Locurcio 59f24d8867
Define a default minimum window size to workaround rendering issues
The minimum window size can still be set to `Vector2(0, 0)` in a script
if needed.
2021-08-23 04:10:24 +02:00
Michael Alexsander 2ea2f30d33
Merge pull request #51993 from Calinou/basebutton-remove-enabled-focus-mode-warning
Remove deprecation warning for `BaseButton.enabled_focus_mode`
2021-08-23 01:06:55 +00:00
Hugo Locurcio 43da1790c8
Remove deprecation warning for `BaseButton.enabled_focus_mode`
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.
2021-08-22 21:47:53 +02:00
Michael Alexsander a989eb9335
Merge pull request #51972 from Calinou/improve-editor-window-title-3.x
Improve the editor window title for better usability (3.x)
2021-08-22 19:11:29 +00:00
Michael Alexsander c62399557a
Merge pull request #51974 from anazr9/godot-3.x-fixes
Fixed Crash with RichTextLabel [fill] tag #51968
2021-08-22 13:40:51 +00:00
Anas Saifi 4874270592
Removed unused variable 2021-08-22 15:58:45 +05:30
Anas Saifi 9b06355488
Update scene/gui/rich_text_label.cpp
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-22 15:18:52 +05:30
anazr9 b8bf2ec3cd fixed crash with RichTextLabel [fill] tag #51968 by using 3.3 as reference 2021-08-22 14:17:01 +05:30
Hugo Locurcio 27e38b0f26
Improve the editor window title for better usability
- Display the scene name, then the project name, then "Godot Engine".
- Display the "modified" mark before anytihng else.

Both of these changes ensure important, project-specific elements
can always be seen in the task bar which may truncate strings due to
its low per-item width.

- Use "Unnamed Project" if the project has no name (similar to the
  Project Manager).
2021-08-22 08:59:42 +02:00
Hugo Locurcio 33d23281cb
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
These SpatialMaterial features work just fine in GLES2,
but they were not exposed in the inspector when GLES2 was used.
2021-08-22 02:18:36 +02:00
clayjohn 987aef4e0d Properly clear cubemap filter state when texture array environment disabled 2021-08-20 19:12:38 -07:00
20kdc 324c487c63 Fix issue #51897 (horizon occlusion causing black blob), fix ver. SP1
No, not service pack 1. Removes comments from the original fix commit.
2021-08-20 19:04:27 +01:00
Camille Mohr-Daurat 16642e2838
Merge pull request #51921 from mortarroad/3.x-fix-convex-hull-winding
[3.x] Fix winding of new convex hull implementation.
2021-08-20 08:20:52 -07:00
K. S. Ernest (iFire) Lee ffe39ee393
Merge pull request #51922 from Gallilus/Revert-sequence-port-VisualScriptPropertySet-basic-type
Revert sequence port VisualScriptPropertySet basic type
2021-08-20 08:05:14 -07:00
David Cambré be7718c96c Revert sequence port VisualScriptPropertySet basic type
Revert a part of #50709.
Adding a sequence port to basic type set breaks backwards compatibility
2021-08-20 15:43:47 +02:00
Morris Tabor 82279538a3 Fix winding of new convex hull implementation. 2021-08-20 15:19:39 +02:00
Rémi Verschelde 0452832a16
Merge pull request #51875 from V-Sekai/gltf_accessor_min
Assign the min values in gltf accessors [3.x]
2021-08-19 11:54:42 +02:00
Rémi Verschelde 9b3d3ee6fc
Merge pull request #48571 from SaracenOne/collada_semantic_fix_3_x
Fix to parsing some Collada files with extra vertex semantics  [3.x]
2021-08-19 11:09:18 +02:00
Lyuma 79b016adad Assign the min values in gltf accessors 2021-08-19 09:30:05 +01:00
Saracen 6482ba8807 Fix to parsing some Collada with extra vertex semantics referenced only in the vertices section. 2021-08-19 08:45:52 +01:00
Rémi Verschelde 6a058cbf39
Merge pull request #51746 from Calinou/add-shader-comment-3.x
Add a comment at the top of generated shaders (3.x)
2021-08-19 00:16:29 +02:00
Rémi Verschelde 364e281c75
Merge pull request #51834 from KoBeWi/🔓🔓🔓
[3.x] Include locked nodes on selection list
2021-08-19 00:15:15 +02:00
Fredia Huya-Kouadio 3baf5563e8
Delegate handling and implementation of the restart functionality to the Godot host.
(cherry picked from commit f4222733ca)
2021-08-18 23:21:13 +02:00