Commit graph

51315 commits

Author SHA1 Message Date
Raul Santos
0476fc5a07
C#: Replace Rotation and Scale properties with get methods
- Replace `Rotation` property with `GetRotation` method in `Transform2D`.
- Replace `Scale` property with `GetScale` method in `Transform2D`.
- Replace `Scale` property with `GetScale` method in `Basis`.

Core does not expose set methods.
2023-01-15 14:06:16 +01:00
Rémi Verschelde
55bf948fe7
Fix change_scene memory leak due to duplicate instantiation
Regression from #71105.
Fixes #71363.
2023-01-15 14:05:15 +01:00
Raul Santos
28a8caac26
C#: Make Length and LengthSquared into methods in Quaternion.
The `Length` and `LengthSquared` members are implemented as methods
in every other C# struct, `Quaternion` was the only one implementing
them as properties.
2023-01-15 14:03:44 +01:00
Rémi Verschelde
9711abe787
Merge pull request #71437 from vaartis/linux-backtrace
Alter linux debug stacktraces handling to support more environments
2023-01-15 13:09:31 +01:00
Rémi Verschelde
d6d87b6ca4
Merge pull request #71374 from raulsntos/dotnet/remove-spherical_interpolate_with
C#: Remove `SphericalInterpolateWith` from Transform3D
2023-01-15 13:08:15 +01:00
Rémi Verschelde
e51426cab9
Merge pull request #71423 from raulsntos/dotnet/intersects-without-include_borders
C#: Remove `includeBorders` parameter from `Rect2i.Intersects` and `AABB.Intersects`
2023-01-15 13:07:13 +01:00
Rémi Verschelde
90c1f4bba4
Merge pull request #71424 from raulsntos/dotnet/sync-basis
C#: Sync `Basis` with Core
2023-01-15 13:06:48 +01:00
Rémi Verschelde
4f9bdf0639
Merge pull request #70701 from bruvzg/remote_debug_menu
Move remote debug buttons to a single menu.
2023-01-15 13:06:20 +01:00
Rémi Verschelde
0f2937ead1
Merge pull request #71229 from reduz/fix-recursive-resource-inclusion-check
Fix recursive resource inclusion check
2023-01-15 13:03:20 +01:00
Bastiaan Olij
909ec66ca3 Fixes issue where failed start of OpenXR causes issues 2023-01-15 16:57:42 +11:00
Bastiaan Olij
318656d326 Enabling additional vulkan extension and adding further checks 2023-01-15 14:49:15 +11:00
TechnoPorg
2904d19069 Make EditorResourceConversionPlugin usable.
Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one.
This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins.
Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example.
2023-01-14 18:48:11 -07:00
kobewi
2cfab94fef Improve performance of imported file scan 2023-01-15 00:53:41 +01:00
Ekaterina Vaartis
5e041eee11 Alter linux debug stacktraces handling to support more environments
- Use -gdwarf-4 to support both LLVM and GCC when calling addr2line
- Subtract position-independant execuable relocation when passing the
  address to addr2line
2023-01-15 02:48:33 +03:00
Rémi Verschelde
cd3e03432a
Merge pull request #71410 from YuriSizov/docs-update-tutorial-links
Update all outdated online documentation links
2023-01-15 00:16:30 +01:00
Rémi Verschelde
4f631dc1b0
Merge pull request #71411 from Paulb23/new-textfile-global-path
Globalise path for New TextFile in FileSystemDock
2023-01-15 00:12:58 +01:00
Rémi Verschelde
f7c5dbaeee
Merge pull request #71404 from Paulb23/fix-multi-caret-searchbar
Remove secondary carets when using FindReplaceBar
2023-01-15 00:12:46 +01:00
Rémi Verschelde
03d11e608e
Merge pull request #71402 from Paulb23/autocomplete-extra-quote
Fixed adding extra quote when completing strings
2023-01-15 00:11:42 +01:00
bruvzg
5406b001ca
Move remote debug buttons to a single menu. 2023-01-14 22:25:35 +02:00
Hugo Locurcio
65560315a4
Add a property hint for SpinBox's custom_arrow_step property
Only positive or zero values make sense for this property.
2023-01-14 20:18:01 +01:00
Raul Santos
949a2778ca
C#: Sync Basis with Core
- Remove `GetOrthogonalIndex` method (moved to `GridMap`).
- Remove `GetRow` and `SetRow` methods.
2023-01-14 20:06:45 +01:00
Paulb23
659d9b0fa3 Globalise path for New TextFile in FileSystemDock 2023-01-14 16:43:33 +00:00
Yuri Sizov
4c1f11944e Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
Paulb23
b9f24f1586 Remove secondary carets when using FindReplaceBar 2023-01-14 15:58:56 +00:00
Paulb23
1aac10d73d Fixed adding extra quote when completing strings 2023-01-14 15:28:22 +00:00
Emmanuel Leblond
38d9e8b366
Add missing is_bitfield field for global enum in extension_api_dump 2023-01-14 16:08:41 +01:00
kobewi
59ea36b87c Remove set_drag_forwarding_compat() 2023-01-14 15:16:51 +01:00
Yuri Rubinsky
60d031777b
Merge pull request #71393 from Chaosus/fix_template_classname 2023-01-14 16:58:49 +03:00
Rémi Verschelde
ac104a69b8
Merge pull request #71309 from BastiaanOlij/improve_renderscaling_options
Improving communication of scaling settings to renderer implementation
2023-01-14 14:45:02 +01:00
Juan Linietsky
1aaff63b8f Fixes to JSON as resource
* It was not a resource, hence it was not working to load it as such.
* Changed so, when opened in editor, a parse error will not fail load and the text will be kept.
* This should allow proper editing from within the code editor, including syntax checking and saving files as-is in text.

Partially addresses #66820.

The code editor still needs to be changed for this to work.
2023-01-14 14:41:51 +01:00
Yuri Rubinsky
9bd5ef1836 Fix GDScript script templates to use a PascalCase style for _CLASS_ 2023-01-14 16:21:05 +03:00
Yuri Rubinsky
d2d5e548c9
Merge pull request #71385 from Chaosus/vs_fix_crash 2023-01-14 14:51:46 +03:00
Yuri Rubinsky
8180d38910 Fix node preview crashes after updating visual shader node 2023-01-14 14:08:00 +03:00
jainl28patel
390f83bf5a fix normal map not flipping in sprite2D 2023-01-14 11:51:56 +05:30
Raul Santos
c990f7984e
C#: Remove includeBorders parameter from Rect2i.Intersects and AABB.Intersects 2023-01-14 04:39:40 +01:00
clayjohn
e0e073138d Enforce a default minimum lightmap size hint size 2023-01-13 17:46:55 -08:00
Raul Santos
4438315242
C#: Remove SphericalInterpolateWith from Transform3D 2023-01-14 02:10:59 +01:00
Rémi Verschelde
a51ca2beaf
Merge pull request #71346 from Chaosus/material_fix_freezing
Clear material arrays to prevent freeing of invalid texture RID
2023-01-14 00:44:18 +01:00
Rémi Verschelde
02f5f56a42
Merge pull request #71368 from anthonyec/uppercase-color-constants-documentation
Uppercase references to color constants in documentation
2023-01-14 00:43:45 +01:00
Rémi Verschelde
c87176d324
Merge pull request #71367 from Maran23/4-x-more-node-tests
More `Node` tests
2023-01-14 00:43:18 +01:00
Rémi Verschelde
e97372068b
Merge pull request #71360 from bruvzg/progress_dialog_theme
Fix editor progress dialog theme update.
2023-01-14 00:42:36 +01:00
Rémi Verschelde
81b9c26872
Merge pull request #71366 from Scony/fix-navi-process-monitor
Fix 'Navigation Process' monitor initialization
2023-01-14 00:42:11 +01:00
Marius Hanl
d2f246806c Added more node tests
Testing the following functions:
- reparent
- duplicate
- replace_by (also with keeping groups)
2023-01-14 00:23:58 +01:00
Rémi Verschelde
61c48f6910
Merge pull request #71321 from TokageItLab/stop-edit
Implement toggling pause / stop button to AnimationPlayerEditor
2023-01-14 00:09:43 +01:00
bruvzg
026002859b Fix editor progress dialog theme update. 2023-01-14 01:07:24 +02:00
Anthony Cossins
ddab3976fe Uppercase references to color constants in documentation 2023-01-13 22:56:22 +00:00
Pawel Lampe
dec0a3ed99 Fix 'Navigation Process' monitor initialization 2023-01-13 23:47:31 +01:00
Silc 'Tokage' Renew
e7d4361fae Implement toggling pause / stop button to AnimationPlayerEditor 2023-01-14 07:10:20 +09:00
Rémi Verschelde
f0117a2c8d
Merge pull request #71354 from clayjohn/GLES3-glsl-crash
Avoid crashing when custom GLSL shaders are imported when using the gl_compatibility renderer
2023-01-13 22:48:43 +01:00
Rémi Verschelde
ae66a4b301
Merge pull request #71235 from Calinou/doc-shader-per-instance-uniforms
Clarify the difference between uniforms and per-instance uniforms in docs
2023-01-13 22:34:50 +01:00