Commit Graph

42570 Commits

Author SHA1 Message Date
f8ab79e68a Zero initialize all pointer class and struct members
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
53317bbe14 Merge pull request #59866 from m4gr3d/update_default_display_scale_main 2022-04-04 19:31:37 +02:00
f084d50cdd Merge pull request #59880 from m4gr3d/update_resizeable_main 2022-04-04 19:06:54 +02:00
22e8e8626f Merge pull request #59881 from Sauermann/revert-59737 2022-04-04 19:04:04 +02:00
fc45c28660 Merge pull request #59841 from KoBeWi/drag_box 2022-04-04 18:24:06 +02:00
8eabf77f54 Update the editor display scale based on the device's scaled density 2022-04-04 09:23:43 -07:00
f1a7caf9bb Remove duplicate resizable settings 2022-04-04 09:18:07 -07:00
01c37dc277 Revert "Fix that collision objects ignore canvas transform"
This reverts commit 5521b93750.
2022-04-04 18:08:05 +02:00
e659eb66a0 Merge pull request #59874 from ConteZero/richtextlabel_deselect 2022-04-04 16:57:11 +02:00
45159e88e1 Add deselect() to RichTextLabel 2022-04-04 16:06:57 +02:00
e7c1888d20 Merge pull request #59807 from BastiaanOlij/mesh_storage 2022-04-04 14:59:16 +02:00
338b23d572 Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editor 2022-04-04 14:26:28 +02:00
f1592cb3da Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed 2022-04-04 13:50:52 +02:00
10d9e47949 Merge pull request #59861 from m4gr3d/enable_resizable_main 2022-04-04 11:17:24 +02:00
9b7b9de0e5 Add action map editor for OpenXR 2022-04-04 18:43:29 +10:00
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
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
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
25d36e085b Merge pull request #59856 from KoBeWi/touching_spam
Fix TouchScreenButton error spam
2022-04-04 09:35:48 +02:00
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
b47120de63 Merge pull request #59859 from bruvzg/center_align
Fix center aligned text clipping.
2022-04-04 09:31:39 +02:00
28520002cf Fix center aligned text clipping. 2022-04-04 09:04:05 +03:00
50bd5e6fbe [macOS] Add bundle launch code for older (pre 10.15) macOS versions. 2022-04-04 08:04:37 +03:00
db19cc60fb Fix TouchScreenButton error spam 2022-04-04 01:47:40 +02:00
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
0d17903bd5 Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling 2022-04-03 21:07:39 +02:00
1062bc9884 Fix creation and reopening of built-in scripts 2022-04-03 15:34:21 -03:00
c8de265307 Mention how to add dragging for SpinBox's LineEdit 2022-04-03 19:40:14 +02:00
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
b8be7903f3 Move storage for Mesh, MeshInstance, MultiMesh and Skeleton into MeshStorage 2022-04-02 16:29:04 +11:00
7bb963efe9 Merge pull request #59777 from octetdev2/chore-normalize-formatting 2022-04-02 00:32:09 +02:00
6bbd4def45 Merge pull request #59415 from KoBeWi/tween_time() 2022-04-02 00:31:40 +02:00
9c5818d212 Merge pull request #59774 from Chaosus/shader_fix 2022-04-01 21:37:44 +03:00
1ec40a94d5 Merge pull request #59791 from fountainment/fix_scroll_zoom 2022-04-01 17:57:58 +02:00
987c98f529 Merge pull request #59792 from Pineapple/audio-channels-count-change-crash-fix-master 2022-04-01 16:40:10 +02:00
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
0896fb5bcb Merge pull request #59205 from JFonS/color_pass_flags 2022-04-01 14:46:59 +02:00
916ec2b66e Merge pull request #59782 from bruvzg/clang_ci_san 2022-04-01 14:44:47 +02:00
26048c805b Merge pull request #59331 from bartekd97/navigation-agent-layers 2022-04-01 13:35:51 +02:00
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
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
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
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
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
4263f02f28 Merge pull request #59764 from reduz/blender-import-autodetect 2022-04-01 11:42:05 +02:00
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
d3dde0727c Normalize thirdparty readme formatting 2022-04-01 15:26:17 +08:00
f3fe2631da Merge pull request #59771 from timothyqiu/i18n-theme-props
Extract theme property names for localization
2022-04-01 08:44:11 +02:00
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
d47035a6fb Fix shader crashing when attempting to access length() at global space 2022-04-01 08:39:29 +03:00