Commit graph

44455 commits

Author SHA1 Message Date
smix8
c394ea518e Add more detailed Navigation Debug Visualization
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-29 09:58:41 +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
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
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
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
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 Verschelde
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 Verschelde
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 Verschelde
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 Verschelde
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 Verschelde
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
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 Verschelde
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 Verschelde
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
MinusKube
a73882305c Fix animation player crashing when caching disabled tracks 2022-06-29 06:18:45 +02:00
Silc Renew
2201c281dd fixed Pingpong animation get snaging on the edge in AnimationTree 2022-06-29 08:39:41 +09:00
Rémi Verschelde
caa9ec8aca
Merge pull request #62489 from qarmin/more_renames
More function/class renames in converter
2022-06-28 23:39:33 +02:00
Rémi Verschelde
b730d2ee09
Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-output
Adding print_rich() for printing with BBCode
2022-06-28 23:35:53 +02:00
Rémi Verschelde
0cd049e411
Merge pull request #62494 from TechnoPorg/gradient-fix-precision 2022-06-28 21:57:39 +02:00
Rémi Verschelde
fed5ebb24b
Merge pull request #61196 from V-Sekai/animtree-advance-expressions 2022-06-28 21:40:29 +02:00
TechnoPorg
d45ad9bc58 Use single-precision floats in GradientEdit
Gradient itself only uses single-precision floats, so using double-precision floats in GradientEdit is both unnecessary, and creates casting issues.
2022-06-28 11:55:08 -06:00
Rémi Verschelde
f6072c9c98
Merge pull request #62485 from cdemirer/fix-set-chain-jump-if-shared
Fix chain assignment bug with jump_if_shared
2022-06-28 19:13:35 +02:00
Rémi Verschelde
8cd6127cb8
Merge pull request #59167 from akien-mga/zstd-1.5.2
zstd: Update to upstream version 1.5.2
2022-06-28 19:13:17 +02:00
SaracenOne
75a8606b83 Add AnimationTree Advance Expressions
Allows specifying an expression as a condition for state machine transitions.

This gives much greater flexibility for creating complex state machines. By directly interfacing with the script code, it is possible to create complex animation advance condition for switching between states.

Ensure assigning AnimationTreeStateMachineTransition base expression node in editor is relative to current AnimationTree node.

Allow setting an expression base node on the AnimationTree itself.

Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-28 09:26:13 -07:00
Rafał Mikrut
3ca45b8200 More function/class renames in converter 2022-06-28 18:21:11 +02:00