Commit Graph

42569 Commits

Author SHA1 Message Date
Rémi Verschelde 53317bbe14
Merge pull request #59866 from m4gr3d/update_default_display_scale_main 2022-04-04 19:31:37 +02:00
Rémi Verschelde f084d50cdd
Merge pull request #59880 from m4gr3d/update_resizeable_main 2022-04-04 19:06:54 +02:00
Rémi Verschelde 22e8e8626f
Merge pull request #59881 from Sauermann/revert-59737 2022-04-04 19:04:04 +02:00
Rémi Verschelde fc45c28660
Merge pull request #59841 from KoBeWi/drag_box 2022-04-04 18:24:06 +02:00
Fredia Huya-Kouadio 8eabf77f54 Update the editor display scale based on the device's scaled density 2022-04-04 09:23:43 -07:00
Fredia Huya-Kouadio f1a7caf9bb Remove duplicate `resizable` settings 2022-04-04 09:18:07 -07:00
Markus Sauermann 01c37dc277 Revert "Fix that collision objects ignore canvas transform"
This reverts commit 5521b93750.
2022-04-04 18:08:05 +02:00
Rémi Verschelde e659eb66a0
Merge pull request #59874 from ConteZero/richtextlabel_deselect 2022-04-04 16:57:11 +02:00
ConteZero 45159e88e1 Add deselect() to RichTextLabel 2022-04-04 16:06:57 +02:00
Rémi Verschelde e7c1888d20
Merge pull request #59807 from BastiaanOlij/mesh_storage 2022-04-04 14:59:16 +02:00
Rémi Verschelde 338b23d572
Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editor 2022-04-04 14:26:28 +02:00
Rémi Verschelde f1592cb3da
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed 2022-04-04 13:50:52 +02:00
Rémi Verschelde 10d9e47949
Merge pull request #59861 from m4gr3d/enable_resizable_main 2022-04-04 11:17:24 +02:00
Bastiaan Olij 9b7b9de0e5 Add action map editor for OpenXR 2022-04-04 18:43:29 +10:00
Fredia Huya-Kouadio 3f299e9255 Update `resize` settings:
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
2022-04-04 01:02:10 -07:00
Rémi Verschelde 91d6177187
Merge pull request #59819 from YeldhamDev/fixing_the_thing_nobody_uses
Fix creation and reopening of built-in scripts
2022-04-04 09:38:33 +02:00
Rémi Verschelde 72b8aeb45c
Merge pull request #59854 from Zylann/fix_blender_import_non_initialized_vars
Initialize pointer variables to fix random crash on startup.
2022-04-04 09:36:42 +02:00
Rémi Verschelde 25d36e085b
Merge pull request #59856 from KoBeWi/touching_spam
Fix TouchScreenButton error spam
2022-04-04 09:35:48 +02:00
Rémi Verschelde 00879000a8
Merge pull request #59800 from bruvzg/osx_1014_crash_fix
[macOS] Add bundle launch code for older (pre 10.15) macOS versions.
2022-04-04 09:33:03 +02:00
Rémi Verschelde b47120de63
Merge pull request #59859 from bruvzg/center_align
Fix center aligned text clipping.
2022-04-04 09:31:39 +02:00
bruvzg 28520002cf
Fix center aligned text clipping. 2022-04-04 09:04:05 +03:00
bruvzg 50bd5e6fbe
[macOS] Add bundle launch code for older (pre 10.15) macOS versions. 2022-04-04 08:04:37 +03:00
kobewi db19cc60fb Fix TouchScreenButton error spam 2022-04-04 01:47:40 +02:00
Marc Gilleron 277825e956 Initialize pointer variables to fix random crash on startup.
`configure_blender_dialog` is lazily created if equal to null,
however nothing really sets it to null.
2022-04-03 23:21:29 +01:00
jmb462 0d17903bd5 Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling 2022-04-03 21:07:39 +02:00
Michael Alexsander 1062bc9884 Fix creation and reopening of built-in scripts 2022-04-03 15:34:21 -03:00
kobewi c8de265307 Mention how to add dragging for SpinBox's LineEdit 2022-04-03 19:40:14 +02:00
Rémi Verschelde c630c2001d
Merge pull request #59633 from EricEzaM/better-code-complete-update
Improve sorting of Code Completion options.
2022-04-03 12:34:00 +02:00
Bastiaan Olij b8be7903f3 Move storage for Mesh, MeshInstance, MultiMesh and Skeleton into MeshStorage 2022-04-02 16:29:04 +11:00
Rémi Verschelde 7bb963efe9
Merge pull request #59777 from octetdev2/chore-normalize-formatting 2022-04-02 00:32:09 +02:00
Rémi Verschelde 6bbd4def45
Merge pull request #59415 from KoBeWi/tween_time() 2022-04-02 00:31:40 +02:00
Yuri Rubinsky 9c5818d212
Merge pull request #59774 from Chaosus/shader_fix 2022-04-01 21:37:44 +03:00
Rémi Verschelde 1ec40a94d5
Merge pull request #59791 from fountainment/fix_scroll_zoom 2022-04-01 17:57:58 +02:00
Rémi Verschelde 987c98f529
Merge pull request #59792 from Pineapple/audio-channels-count-change-crash-fix-master 2022-04-01 16:40:10 +02:00
Bartłomiej T. Listwon 30962c6b69 Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.) 2022-04-01 16:01:22 +02:00
Rémi Verschelde 0896fb5bcb
Merge pull request #59205 from JFonS/color_pass_flags 2022-04-01 14:46:59 +02:00
Rémi Verschelde 916ec2b66e
Merge pull request #59782 from bruvzg/clang_ci_san 2022-04-01 14:44:47 +02:00
Rémi Verschelde 26048c805b
Merge pull request #59331 from bartekd97/navigation-agent-layers 2022-04-01 13:35:51 +02:00
Max Hilbrunner c7f6af2855
Merge pull request #59759 from novaplusplus/month_late_typo_fix
Fixing some of my own typos
2022-04-01 12:49:17 +02:00
Eric M 4ab605d14d Improve sorting of Code Completion options.
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-04-01 20:39:09 +10:00
C.Even 2080077c9c Fix that slow mouse wheel scroll has no zoom effect on 2D editor
* scroll_vec in ViewPanner::gui_input is multiplied by float factors, 
  so it should be a Vector2 rather than Vector2i
* Fixes #57423
2022-04-01 18:34:00 +08:00
bruvzg ba0317be04
Add CI build with clang sanitizers, increase stack size to 30 MB for builds with sanitizers. 2022-04-01 13:15:35 +03:00
jfons e69d762dd0 Add color pass flags to Forward Clustered renderer
This commit removes a lot of enum values related to the color render pass in favor of a new flag-bases approach. This means instead of hard-coding all the possible option combinations into enums, we can write our logic by checking a bit-mask.

The changes in rendering_device_vulkan.cpp add support for unused attachments. That means RenderingDeviceVulkan::framebuffer_create() can take null RIDs in the attachments vector, which will result in VK_ATTACHMENT_UNUSED entries in the render pass.

This is used in this same PR to establish fixed locations for the color pass attachments (only color and separate specular so far, but TAA will add motion vectors as well). This way the attachment locations in the shader can stay the same regardless of which attachments are actually used.

Right now all the combinations of flags are generated, but we will need to add a way to limit the amount of combinations in the future.
2022-04-01 12:12:49 +02:00
Rémi Verschelde 4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect 2022-04-01 11:42:05 +02:00
reduz e32215fbad Add Blender install autodetection and configuration.
This PR is a continuation to #54886

* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.

**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Casper Beyer d3dde0727c Normalize thirdparty readme formatting 2022-04-01 15:26:17 +08:00
Rémi Verschelde f3fe2631da
Merge pull request #59771 from timothyqiu/i18n-theme-props
Extract theme property names for localization
2022-04-01 08:44:11 +02:00
Rémi Verschelde 0e8caf1a4e
Merge pull request #59769 from fire-forge/fastnoise-group-name
Fix group names in FastNoise and Gradient
2022-04-01 08:37:53 +02:00
Yuri Roubinsky d47035a6fb Fix shader crashing when attempting to access `length()` at global space 2022-04-01 08:39:29 +03:00
Haoyu Qiu 2f20ff0ed6 Extract theme property names for localization 2022-04-01 11:35:22 +08:00