Commit Graph

47079 Commits

Author SHA1 Message Date
Rémi Verschelde
d347d2f585 Merge pull request #65550 from MinusKube/small-popup-bug
Use embedding viewport instead of parent viewport to determine popup rect
2022-09-16 09:22:57 +02:00
Rémi Verschelde
14c602f032 Merge pull request #65854 from YeldhamDev/add_element_fix
Fix empty text in the add button when editing nodes with items
2022-09-16 09:22:36 +02:00
Rémi Verschelde
a981a8061f Merge pull request #65325 from TokageItLab/refactor-variant-for-anim
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-16 09:20:50 +02:00
Rémi Verschelde
780211b81b Merge pull request #36541 from MJacred/docs/texture2darray
Add class descriptions for Texture2DArray, CubemapArray and ImageTextureLayered, plus overhaul TextureLayered
2022-09-16 09:20:34 +02:00
Rémi Verschelde
d52dfebf75 Merge pull request #65432 from Calinou/doc-volumetric-fog
Improve volumetric fog and FogVolume documentation
2022-09-16 09:20:20 +02:00
Rémi Verschelde
848668ed45 Merge pull request #65794 from Geometror/fix-canvas-backbuffer
Fix/restore BackBufferCopy
2022-09-16 09:20:04 +02:00
Rémi Verschelde
16d44395b5 Merge pull request #65148 from Mickeon/animated-sprite-negative-speed-scale
Allow negative `speed_scale` in AnimatedSprite2D & 3D
2022-09-16 09:18:42 +02:00
Rémi Verschelde
9261d943ff Merge pull request #65842 from bruvzg/remove_quit_tabs
[macOS] Remove tabs for "Quit" menu item.
2022-09-16 09:18:34 +02:00
Rémi Verschelde
f5b9a89109 Merge pull request #65845 from aaronfranke/unused-abort-scan
Remove unused `abort_scan` variable
2022-09-16 09:18:28 +02:00
Yuri Rubinsky
4f0e0f1650 Fix sorting of uniform items in the material properties
Co-authored-by: Chia-Hsiang Cheng <garychia@users.noreply.github.com>
2022-09-16 08:59:13 +03:00
clayjohn
969f20656a Free preview sun and environement on editor close.
Previously, they would only be freed if they were in the editor node tree.
2022-09-15 20:45:19 -07:00
Haoyu Qiu
372e4cfd49 Fix crash open opening Add Metadata dialog 2022-09-16 11:28:09 +08:00
Clay John
95df3e7c88
Merge pull request #65800 from dsnopek/xr-resize-viewport-3
Fix XR rendering in 'opengl3' driver and expose true size via the Viewport node
2022-09-15 18:19:24 -07:00
Michael Alexsander
2f016c521f Fix empty text in the add button when editing nodes with items 2022-09-15 22:01:52 -03:00
Rindbee
9066d55763 Update checked based on the variant type of the value
In `EditorProperty::update_revert_and_pin_status`, if `checkable` is `true`, update `checked` based on the variant type of the value, and rename the function as `EditorProperty::update_editor_property_status`.

**Known problems:**
1. Unable to check Checkbox for properties of type `Object` when it is unchecked. This is probably because during value store/fetch, the `nullptr` (variant type is `Variant::OBJECT`) eventually becomes `Variant()` (variant type is `Variant::NIL`).
2. For theme overrides, click the revert icon will uncheck the Checkbox. This is probably because `EditorPropertyRevert::get_property_revert_value` returns `Variant()`.
2022-09-16 07:22:50 +08:00
bruvzg
89c68bb22d
[macOS] Remove tabs for "Quit" menu item. 2022-09-15 22:27:27 +03:00
Aaron Franke
2be9ef507a
Remove unused abort_scan variable 2022-09-15 14:23:38 -05:00
Rémi Verschelde
c2babb6558 Merge pull request #65831 from bruvzg/vlk_edge_lag
[macOS] Fix redraw lag at the edge of the resizing window.
2022-09-15 20:12:25 +02:00
Rémi Verschelde
76b41bde3c Merge pull request #65830 from EricEzaM/fix-shortcut-crash
Check TreeItem for nullptr before accessing.
2022-09-15 20:12:18 +02:00
Rémi Verschelde
78a9a3de69 Merge pull request #62903 from Rindbee/fix-property-link-not-work-in-MultiNodeEdit
Set the changed field to empty (meaning all) if the link button is pressed
2022-09-15 20:12:12 +02:00
Rémi Verschelde
2d3c14850d Merge pull request #65152 from s77rt/fix-56343
Fix GDScript preload fails in standalone build unless files are present in directory
2022-09-15 20:11:57 +02:00
Rémi Verschelde
3ac332a411 Merge pull request #65819 from raulsntos/theme-docs
Fix theme methods usage in docs
2022-09-15 20:11:50 +02:00
Rémi Verschelde
7a90345b01 Merge pull request #65818 from raulsntos/dotnet/crypto-docs
Fix invalid C# in crypto docs
2022-09-15 20:11:42 +02:00
Rémi Verschelde
80802d2718 Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
Rémi Verschelde
67c0514167 Merge pull request #65469 from BastiaanOlij/scene_data_reorg
Extract shared scene data into a separate class
2022-09-15 20:11:25 +02:00
Rémi Verschelde
dbd757f479 Merge pull request #65760 from Mickeon/try-vformat-var-args
Use variadic template in `vformat()` (allow more than 5 arguments)
2022-09-15 20:11:19 +02:00
Rémi Verschelde
f2ba73f4ea Merge pull request #63428 from fabriceci/fix-basis-get-axis-angle
Test, refactor and fix a bug in Basis.get_axis_angle
2022-09-15 20:11:08 +02:00
Ignacio Roldán Etcheverry
d39d462907
Merge pull request #65823 from raulsntos/dotnet/signal-docs
C#: Move signal documentation to the event
2022-09-15 18:37:12 +02:00
bruvzg
734b89124e
[macOS] Fix redraw lag at the edge of the resizing window. 2022-09-15 17:08:12 +03:00
Eric M
badea350ac Check TreeItem for nullptr before accessing. 2022-09-15 23:50:52 +10:00
Abdelhafidh Belalia
4dca9975e7 Fix GDScript preload fails in standalone build unless files are present in directory
Fixes #56343.
2022-09-15 13:52:37 +02:00
Raul Santos
a5ffd25292
C#: Move signal documentation to the event
Move signal documentation from the delegate to the event and also
deprecate the event if the signal is deprecated.
2022-09-15 13:24:41 +02:00
Raul Santos
361ff55241
Fix theme methods usage in docs
- Fix usages of `get_icon` that was renamed
`get_theme_icon`.
- Replace `new Control().get_font*` with
`ThemeDB.fallback_font*`.
2022-09-15 12:03:02 +02:00
Raul Santos
d762500164
Fix invalid C# in crypto docs 2022-09-15 11:39:03 +02:00
Rémi Verschelde
4ba934bf3d
Merge pull request #65507 from raulsntos/dotnet/nuget-fallback
Fix NuGet fallback folder packages
2022-09-15 09:48:13 +02:00
Raul Santos
02bd0724f5
Fix NuGet fallback folder packages
- Creates a `Godot.Offline.Config` file to configurate NuGet with
Godot's fallback folder. This is easier because now we can assume we can
override the entire file since user config will likely be in the default
`NuGet.Config` file or an additional `*.config` file.
- Ensure the NuGet fallback folder is created at the same time it is
added to the NuGet configuration so future builds don't fail.
- Add `GodotSharp` and `GodotSharpEditor` packages to the fallback folder.
- Add `.nupkg.metadata` file to packages in fallback folder.
- Refer to `Godot.SourceGenerators` using the specific non-floating version
since floating versions don't seem to work with fallbackPackageFolders.
2022-09-15 09:28:59 +02:00
Bastiaan Olij
02ea1de7d0 Extract shared scene data into a separate class 2022-09-15 12:09:57 +10:00
David Snopek
e82cd46a74 Fix XR rendering in 'opengl3' driver and expose true size via the Viewport node 2022-09-14 20:55:56 -05:00
Hendrik Brucker
e235bca995 Fix/restore BackBufferCopy 2022-09-15 02:36:39 +02:00
Hugo Locurcio
ca9ba968d8
Improve volumetric fog and FogVolume documentation 2022-09-15 02:19:22 +02:00
Rémi Verschelde
20d6672846 Bump version to 4.0-beta \o/
At long last!

We're now pretty much feature complete (with a few exceptions which might
still make their way to future betas) and ready to move on to the consolidation
and bugfixing beta phase.

The API is more or less settled for 4.0, though we still reserve the right to
do changes if we see that it's really for the better - but from here on we'll
do our best to ensure that early adopters of 4.0 beta have an easy upgrade path
to future beta and eventually stable releases.

A million of thanks to all contributors who worked so hard on shaping Godot 4.0
over the past 3 years! Git counts nearly a thousand of you authoring close to
11,000 unique commits (excluding merge commits). You're all breathtaking! <3
2022-09-15 01:47:27 +02:00
Rémi Verschelde
51082d6e47 Merge pull request #65806 from akien-mga/pm-improve-conversion-dialog
Clarify text in project conversion dialogs
2022-09-15 01:43:09 +02:00
Rémi Verschelde
f11745d7f5
Merge pull request #65804 from clayjohn/octahedral-decode 2022-09-15 01:42:29 +02:00
Rémi Verschelde
e7ce3f539e Project Manager: Clarify text in project conversion dialogs
Let the cancel button grab focus to prevent any accident.

Make the full project conversion respect OS specific ok/cancel
positions.

Improve popup sizing and wrapping a bit.
2022-09-15 01:38:26 +02:00
Rémi Verschelde
3f0692f965
Merge pull request #65801 from V-Sekai/skeleton-modification-docs 2022-09-15 00:52:42 +02:00
clayjohn
ef4f968232 Decode octahedral compression when retreiving meshes 2022-09-14 15:48:03 -07:00
Lyuma
033abdc59f 2D and 3D Skeleton modification docs, and small fixes.
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Rémi Verschelde
ecaa7b634e
Merge pull request #65322 from ceLoFaN/fix-dof-artifact-at-high-blur 2022-09-15 00:03:40 +02:00
Micky
0715250ae4 Use variadic template in vformat()
Allows `vformat()` to take more than 5 arguments. as well as being a general optimisation that avoids redundant empty Variant checks.
2022-09-14 23:55:34 +02:00
Rémi Verschelde
6fd3f6a287
Merge pull request #65048 from rburing/solve_static_world_boundary_motion_2d 2022-09-14 23:13:35 +02:00