Commit Graph

46993 Commits

Author SHA1 Message Date
Clay John 57bdddce02
Merge pull request #49954 from Calinou/lightmapgi-tweak-defaults
Tweak LightmapGI defaults to be closer to the CPU lightmapper
2022-09-16 10:18:07 -07:00
Hugo Locurcio 7dee32ad14
Tweak LightmapGI defaults to be closer to the CPU lightmapper
- Use 3 bounces by default.
- Enable environment lighting from the scene by default.
  - This is not done in `3.x` for compatibility with existing projects,
    but it makes sense to do this by default since pretty much all
    outdoor scenes benefit from this.
- Set the custom environment color to white (like ReflectionProbe).
  - Its default energy is still 0, so it's invisible by default.
- Enable the generation of dynamic object probes by default.
- Tweak the `max_texture_size` property hint for better usability.
- Improve error messages when passing invalid sizes to
  `LightmapGI.set_max_texture_size()`.
2022-09-16 16:27:00 +02:00
Rémi Verschelde 99e06740cf Merge pull request #65892 from konczg/fix_openxr_layer_composition_blending
Fix OpenXR layer composition blending
2022-09-16 14:57:43 +02:00
Rémi Verschelde 27a33e7efa Merge pull request #65896 from KoBeWi/breakt_the_crash
Fix crash when playing Tween right after finishing
2022-09-16 14:57:32 +02:00
kobewi 1a462bc84e Fix crash when playing Tween right after finishing 2022-09-16 14:20:12 +02:00
Rémi Verschelde 55bed82b05 Merge pull request #65525 from MJacred/os/distribution
Add get_distribution_name() and get_version() to OS
2022-09-16 13:18:32 +02:00
Gabor Koncz 8972600146 Fix OpenXR layer composition blending 2022-09-16 12:52:01 +02:00
Rémi Verschelde bda63e1b5a Merge pull request #65833 from JFonS/taa_fix_particles_errors
Fix error spam in the renderer when using GPUParticles3D
2022-09-16 11:59:00 +02:00
Rémi Verschelde 6f96a20a0d Merge pull request #65878 from raulsntos/dotnet/absolute-push_nupkgs_local
Make `push_nupkgs_local` absolute
2022-09-16 11:58:46 +02:00
MJacred ac9786c525 Add get_distribution_name() and get_version() to OS
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP

Co-authored-by: bruvzg
2022-09-16 11:17:36 +02:00
Rémi Verschelde d1b2a191ab
Merge pull request #65295 from reduz/json-as-resource 2022-09-16 10:58:01 +02:00
Raul Santos ba0e7622cd
Make `push_nupkgs_local` absolute
Ensures the `push_nupkgs_local` argument in build_assemblies.py is an
absolute path so the argument can be
given as a relative path and it will be converted.
2022-09-16 10:08:05 +02:00
JFonS b668268772 Fix error spam in the renderer when using GPUParticles3D
The flag INSTANCE_DATA_FLAG_MULTIMESH is used for both multimesh and particles instances, this commit adds a new INSTANCE_DATA_FLAG_PARTICLES flag to discriminate between them.

This flag will also be used in the future to properly support TAA in particles.
2022-09-16 09:44:22 +02:00
Rémi Verschelde d6d43dc785 Merge pull request #65873 from Chaosus/fix_uniform_sorting
Fix sorting of uniform items in the material properties
2022-09-16 09:24:18 +02:00
Rémi Verschelde 3546add9b3 Merge pull request #60786 from Rindbee/update-editor-property-status
Update checked based on the variant type of the value
2022-09-16 09:24:10 +02:00
Rémi Verschelde 37146763b1 Merge pull request #65868 from timothyqiu/metadata-crash
Fix crash open opening Add Metadata dialog
2022-09-16 09:24:02 +02:00
Rémi Verschelde 18ad00b44c Merge pull request #65846 from clayjohn/mem-leak
Free preview sun and environement on editor close
2022-09-16 09:23:54 +02:00
Rémi Verschelde d79040e7eb Merge pull request #65496 from MinusKube/popup-capture-mouse-bug
Fix MOUSE_MODE_CAPTURED not working correctly with popups
2022-09-16 09:23:40 +02:00
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