Commit Graph
51458 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 8c8eea9428 Merge pull request #62555 from akien-mga/error-fallback-to-fprintf 2022-06-30 19:06:06 +02:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub daa055d479 Merge pull request #61867 from Bromeon/refactor/property-info 2022-06-30 15:45:31 +02:00
Rémi VerscheldeandGitHub c5ad34d6cd Merge pull request #61096 from leogeier/expose-adding-resource-loaders-savers 2022-06-30 15:02:05 +02:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 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. AlvarezandRémi Verschelde 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 VerscheldeandGitHub 62994bec2a Merge pull request #62542 from TechnoPorg/remove-scene-tree-dependency 2022-06-30 11:44:31 +02:00
Rémi VerscheldeandGitHub 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
Rémi VerscheldeandGitHub ce6c4ab86a Merge pull request #62538 from Calinou/movie-writer-split-pngwav
Split MovieWriterPNGWAV into its own file
2022-06-30 01:31:08 +02:00
Fabio Alessandrelli 0e504e4191 [AssetLib] Fix crash in Web editor.
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.
2022-06-30 01:26:08 +02:00
Rémi VerscheldeandGitHub 047cdc9a9f Merge pull request #62511 from Chaosus/fix_doc_title_property
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-30 01:25:24 +02:00
Rémi VerscheldeandGitHub 8a00d7c847 Merge pull request #62527 from smix8/navigation_agent_property_groups
Group NavigationAgent properties
2022-06-30 01:24:05 +02:00
Hugo Locurcio aa177fc4db Split MovieWriterPNGWAV into its own file
This makes its organization consistent with MovieWriterMJPEG.
2022-06-30 01:02:28 +02:00
leogeier 359f7fc51f Exposes methods for adding and removing ResourceFormatLoaders and -Savers in the ClassDB 2022-06-29 21:38:20 +02:00
Rémi VerscheldeandGitHub a7e589df38 Merge pull request #62084 from smix8/path_debug_options_4.x
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Jan Haller 60ffadd133 GDExtension: reuse code with constructor PropertyInfo(const GDNativePropertyInfo&) 2022-06-29 19:30:01 +02:00
smix8 dde09be302 Group NavigationAgent properties
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.
2022-06-29 18:42:51 +02:00
Hugo Locurcio 87c989f98d Mention mipmap and memory usage in the texture editor preview
This is important to quickly determine if a texture is using
unexpectedly high amounts of memory, or to troubleshoot
why mipmap sampling modes have no effect on it.

- Improve readability by increasing outline size and reducing
  font size to match the rest of the editor UI.
2022-06-29 17:38:50 +02:00
Rémi VerscheldeandGitHub 44516d1a5c Merge pull request #62518 from akien-mga/android-fix-etcpak-armv7-build 2022-06-29 15:00:37 +02:00
Rémi Verschelde de75085c7f etcpak: Fix Android ARMv7 build with NDK r23
Fix merged upstream.
Fixes #62516.
2022-06-29 14:31:57 +02:00
Yuri Rubinsky c6f57c30c3 Fix help_title_font_size editor property to correctly apply to docs 2022-06-29 15:08:54 +03:00
kobewi 798f9c8632 Advance animation after confirming 2022-06-29 13:55:23 +02:00
Rémi Verschelde 26dd4746a1 i18n: Sync classref translations with Weblate
(cherry picked from commit c93ccb5d1d)
2022-06-29 12:12:48 +02:00
Rémi Verschelde 5235ce4379 i18n: Sync editor translations with Weblate
(cherry picked from commit f29241fa1e)
2022-06-29 12:12:43 +02:00
Rémi VerscheldeandGitHub d631ee3307 Merge pull request #62510 from MinusKube/animation-reset-crash
Fix animation player crashing when caching disabled tracks
2022-06-29 10:19:33 +02:00
Rémi VerscheldeandGitHub 90bed51d1c Merge pull request #62502 from TokageItLab/fix-pingpong-snag
Fixed pingpong animation get snaging on the edge in AnimationTree
2022-06-29 10:13:30 +02:00