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
Rémi Verschelde
20d4c66066
Merge pull request #62563 from RandomShaper/robust_binding_rw_determination
...
Use a more robust method of determining writability of bindings
2022-06-30 21:31:33 +02:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
Pedro J. Estébanez
95ac9081d6
Use a more robust method of determining writability of bindings
2022-06-30 20:07:30 +02:00
Rémi Verschelde
8c8eea9428
Merge pull request #62555 from akien-mga/error-fallback-to-fprintf
2022-06-30 19:06:06 +02:00
Rémi Verschelde
55048b1ca5
Merge pull request #62557 from KoBeWi/find_next_valid_freeze
2022-06-30 19:04:41 +02:00
MinusKube
d56185146d
Add editor properties for Callable and Signal
2022-06-30 17:39:10 +02:00
MinusKube
f67891fcd1
Add serialization for RID and Signal
2022-06-30 17:39:01 +02:00
kobewi
d9ede52ded
Fix find_next_valid_focus() freeze
2022-06-30 16:22:40 +02:00
Rémi Verschelde
c83084fccb
Errors: Fallback to fprintf if OS singleton doesn't exist
...
Otherwise we would crash if something prints an error before init or
after destruction of the `OS` singleton which handles printing/logging.
2022-06-30 16:00:30 +02:00
Rémi Verschelde
daa055d479
Merge pull request #61867 from Bromeon/refactor/property-info
2022-06-30 15:45:31 +02:00
Rémi Verschelde
c5ad34d6cd
Merge pull request #61096 from leogeier/expose-adding-resource-loaders-savers
2022-06-30 15:02:05 +02:00
Rémi Verschelde
e7197cb6f9
Merge pull request #62550 from Bromeon/bugfix/cli-version-ok
2022-06-30 14:36:43 +02:00
Jan Haller
e3a8edf536
Command line arguments '--version' and '--help' return exit code 0 instead of 255
...
Allows to detect whether those commands executed successfully, which makes integration with shell scripts/CI/bindings straightforward.
2022-06-30 13:55:15 +02:00
Rémi Verschelde
1e082914e2
Merge pull request #62299 from Calinou/texture-preview-add-mipmap-memory-usage
...
Mention mipmap and memory usage in the texture editor preview
2022-06-30 13:12:09 +02:00
Wilson E. Alvarez
aadf831a67
Properly check for fullscreen toggle made through the Window Manager
...
Fixes #40007 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2022-06-30 12:14:46 +02:00
Rémi Verschelde
62994bec2a
Merge pull request #62542 from TechnoPorg/remove-scene-tree-dependency
2022-06-30 11:44:31 +02:00
Rémi Verschelde
fd3970f762
Merge pull request #62531 from Faless/fix/4.x_assetlib_is_available
2022-06-30 10:06:17 +02:00
clayjohn
93c82ab4b9
Evaluate specular reflections using specular dominant direction instead of assuming mirror reflections
2022-06-29 23:36:18 -07:00
TechnoPorg
9961881b98
Remove SceneTree dependency from LocalDebugger
...
Core classes should not have dependencies on scene classes.
2022-06-29 19:49:27 -06:00