Commit Graph

59045 Commits

Author SHA1 Message Date
mj.Jernigan a413656e07 Register missing WebRTCDataChannelJS type 2022-07-03 01:21:17 +02:00
Rémi Verschelde c818e3dfc2 Merge pull request #62647 from python273/asset-library-dynamic-column-count 2022-07-02 23:42:54 +02:00
Hugo Locurcio de976eb82f Fix 3D editor gizmos appearing in GI following default GI mode change 2022-07-02 23:19:01 +02:00
python273 d65eb592b0 Make asset library's column count dynamic 2022-07-02 23:42:09 +03:00
Rémi Verschelde f254500753 Merge pull request #61168 from DeeJayLSP/wav_ieee 2022-07-02 22:04:06 +02:00
Rémi Verschelde 08044aa2e3 Vulkan: Make loader_get_json "error" a verbose message on Windows
In far most cases it seems like it's going to message about bogus manifests
in the Windows registry which point to JSON files which have since been
uninstalled, but without clearing the registry.

This happens with bogus Vulkan overlays from Twitch, Epic Online Services,
NVIDIA Nsight Systems, OBS Studio, Rockstar Games... fix your mess folks.

Fixes #56089.
2022-07-02 19:25:01 +02:00
Hugo Locurcio cf1ce8494d Improve antialiased line drawing sharpness and respect of original width
Antialiased lines with a width of 2 pixels or more now use a smaller
feather width of 1.25 instead of 2.0. This makes them look sharper
and better preserves their original shape while still having good
antialiasing quality.

This also improves the appearance of thin antialiased lines by
slightly increasing their feather size (from 1.0 to 1.25). It
makes them appear a tad thicker, but the antialiasing quality is
much improved by doing this.
2022-07-02 18:45:42 +02:00
Hugo Locurcio feac27476c Use antialiasing for line drawing in the AnimationTree editor
- Use EDSCALE where relevant to improve scaling on hiDPI displays.
2022-07-02 18:26:41 +02:00
Rémi Verschelde 73812c70f2 Merge pull request #62636 from akien-mga/scons-shadergen-depends 2022-07-02 16:53:07 +02:00
Rémi Verschelde 6bbfd160b0 SCons: Properly track codegen script dependency for generated GLSL headers 2022-07-02 16:01:48 +02:00
Estelle Linkpy Reid 3a37053aac Make sure the tile data clears its terrain field when said terrain is removed from the tileset. 2022-07-02 15:01:07 +02:00
Rémi Verschelde 2b31c88982 Merge pull request #62556 from akien-mga/displayserver-no-headless-fallback
DisplayServer: Don't fallback to headless
2022-07-02 10:54:46 +02:00
Rémi Verschelde ec1348a72a Merge pull request #62618 from Bromeon/bugfix/exit-code
Fix exit code of --help and --version, and test them in CI
2022-07-02 10:25:03 +02:00
Fabio Alessandrelli 04bdd7eb93 Merge pull request #62607 from RPicster/master-default-cursor-fix
Default cursor fix for html5 export
2022-07-02 08:05:52 +02:00
Rindbee d9709e151b Make import preview of blend files visible
Unlike other scene imports, the import of blend files requires options. Otherwise, the preview may not be visible.
2022-07-02 13:10:29 +08:00
Jan Haller d38d76d039 Fix exit code of --help and --version, and test them in CI
Corrects prior regression which caused ERROR output and exit code of 1.
2022-07-02 01:17:35 +02:00
Rémi Verschelde a2459c7d35 Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid 2022-07-02 00:17:21 +02:00
Rémi Verschelde d67691fbd6 Merge pull request #62605 from Calinou/internal-group-names-prefix-underscore 2022-07-02 00:16:38 +02:00
Rémi Verschelde 2f0b2d6654 Merge pull request #62616 from bruvzg/fix_macos_chmod 2022-07-01 23:58:24 +02:00
Rémi Verschelde 833c786813 DisplayServer: Don't fallback to headless
Unless users requested the headless driver specifically, they expect to either
see a window, or that the process terminates if there's an error.

Currently it would fallback to headless so they'd unexpectedly get a valid headless
instance if their DisplayServer failed initializing (e.g. missing Vulkan support).

Fixes #58414.
2022-07-01 23:52:08 +02:00
bruvzg 4cca1352b9 [macOS export] Unref FileAccess to ensure chmod is successful. 2022-07-02 00:34:27 +03:00
Rémi Verschelde 692c2d9215 Merge pull request #50755 from foxydevloper/add-global-position-and-global-rotation
Add global_position and global_rotation to Node3D
2022-07-01 21:50:42 +02:00
Raffaele Picca 7e43fb6ad2 Default cursor fix for html5 export 2022-07-01 20:50:04 +02:00
Rémi Verschelde 4b225acc58 Merge pull request #62603 from Calinou/gi-remove-debug-print 2022-07-01 20:33:32 +02:00
Rémi Verschelde 8c51b8246f Merge pull request #62600 from Calinou/decal-fade-no-negative-values 2022-07-01 20:26:06 +02:00
Hugo Locurcio 462432f89f Add an underscore to internal group names as per engine policy
This also adds `SNAME()` macros where relevant to improve performance.
2022-07-01 20:16:25 +02:00
Hugo Locurcio f9e6b292e2 Remove debugging print following GI reorganization 2022-07-01 20:08:10 +02:00
Rémi Verschelde d8fe9ad864 Merge pull request #62595 from python273/patch-1 2022-07-01 20:02:19 +02:00
Hugo Locurcio e7315fcc45 Clamp Decal's upper/lower fade to positive values
Negative easing values result in broken rendering.
2022-07-01 19:23:57 +02:00
Rémi Verschelde e75bd53fb2 Merge pull request #62439 from timothyqiu/str-format 2022-07-01 18:03:59 +02:00
foxydevloper 8b16a4131f Add global_position and global_rotation to Node3D 2022-07-01 10:27:07 -04:00
Kirill 924658a849 Stretch image on resize in asset description dialog 2022-07-01 17:17:40 +03:00
Rémi Verschelde d30a0d223e Merge pull request #62594 from KoBeWi/docs_be_like-I'm_back 2022-07-01 15:39:18 +02:00
kobewi 1a9fc25e00 Restore and improve some ParticlesMaterial docs 2022-07-01 15:09:41 +02:00
Rémi Verschelde 56e50f91d3 Merge pull request #62589 from KoBeWi/custom_threads 2022-07-01 13:46:50 +02:00
kobewi 7d5c943202 Handle custom Callables in Thread.start() 2022-07-01 13:11:31 +02:00
Rémi Verschelde 03765b2985 Merge pull request #62587 from bruvzg/fix_m1_build 2022-07-01 12:48:11 +02:00
Rémi Verschelde daec5bed57 Merge pull request #59089 from KoBeWi/I_am_root
Add `root_subfolder` to FileDialog
2022-07-01 11:53:33 +02:00
bruvzg b767d2e0fd Add arch flag to assembler to fix build on ARM64 macOS / iOS. 2022-07-01 12:44:23 +03:00
Rémi Verschelde 110248cd57 Merge pull request #62551 from akien-mga/x11-check-fullscreen
Properly check for fullscreen toggle made through the Window Manager
2022-07-01 09:09:49 +02:00
Rémi Verschelde 88192269a8 Merge pull request #62477 from lyuma/packedbytearray
Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays.
2022-07-01 09:03:20 +02:00
Lyuma 33fd7c63e1 Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays. 2022-06-30 18:04:33 -07:00
MinusKube 92367bad4e Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern 2022-07-01 02:05:00 +02:00
holgac 95244f0e7a Fixes #62097: infinite loop in animation compress due to too small page size
Fixed an infinite loop caused when given page size is too small to store anything.

If, in the first step of compression, we attempt a rollback, we end up calling LocalVector::resize with AnimationCompressionDataState::validated_packet_count which is -1.  This resize function takes a uint, and there's a bitshift operation that assumes that by bitshifting enough times, we'll reach a number greater than or equal to the requested memory amount, which we'll never do for uint(-1), and this causes an infinite loop.

To fix, I'm adding an early failure in case the given page size isn't enough.
2022-07-01 01:03:13 +02:00
Rémi Verschelde afdae67cc3 Merge pull request #62573 from KoBeWi/🥶 2022-07-01 00:47:56 +02:00
kobewi 8d62b736b2 Fix find_next_valid_focus() freeze 2022-07-01 00:25:10 +02:00
Hugo Locurcio 32973094f5 Add a Bake Mask property to GPUParticlesCollisionSDF3D
This allows not accounting for certain visible meshes during baking
(such as foliage and thin fixtures).

This also adds a clarification about transparent materials always
being excluded in the OccluderInstance3D documentation.
2022-06-30 23:12:40 +02:00
Rémi Verschelde 0800d475a4 Merge pull request #62540 from MinusKube/debugger-array-crash
Add/fix support for RID, Callable and Signal in editor properties
2022-06-30 23:04:08 +02:00
Rémi Verschelde 0bc500eee9 Merge pull request #62567 from voylin/Print_Rich_fix_terminal_only
Fixing print_rich() which only displays correctly in terminal - Fixes #62560
2022-06-30 23:02:39 +02:00
Voylin cebdfd1bbd Fixing Print_rich which only displays correctly in terminal
There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
2022-07-01 04:34:19 +09:00