Commit graph

32191 commits

Author SHA1 Message Date
Pedro J. Estébanez
c026c86255 Fix atlassed lightmaps not visible on GL ES 3 2021-12-06 19:06:59 +01:00
kobewi
4405daa09b
Allow to add RESET values from existing keys
(cherry picked from commits f77a494d22
and b7d83689e4)
2021-12-06 18:26:15 +01:00
Rémi Verschelde
dbe9bb85c9
Merge pull request #55669 from lawnjelly/rid_fixes 2021-12-06 18:14:11 +01:00
Francois Belair
ba1d6b7532
Prevent LSP adding signal func to non GDScripts
(cherry picked from commit 66f1b4bf66)
2021-12-06 17:51:11 +01:00
lawnjelly
6f4c0b95fc Fix incorrect RID cleanup in Rasterizers
Proper cleanup for GLES3 RIDs (preventing leak reports), and added missing destructor for RasterizerSceneGLES2.
2021-12-06 16:05:27 +00:00
Rémi Verschelde
0845f20784
Merge pull request #55614 from Calinou/add-os-crash-method-3.x 2021-12-06 17:04:14 +01:00
Haoyu Qiu
dcb5d7a14f
Fix EditorPlugin.remove_inspector_plugin() instance cleanup
(cherry picked from commit da94b61d09)
2021-12-06 16:52:00 +01:00
Manolis Papadeas
3be071f8c6
Fix link to the supported image formats in the Image class
It previously linked to this page which doesn't exist. https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats

Now, it should link here: https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_images.html#supported-image-formats

(cherry picked from commit c01c4c687b)
2021-12-06 16:52:00 +01:00
kobewi
9776241ce6
Bind column_titles_visible as property
(cherry picked from commit 7f6ab0006d)
2021-12-06 16:52:00 +01:00
Vincent
d6fb13234e
AudioStreamMP3: expose loop properties to the editor
(cherry picked from commit 8263646f68)
2021-12-06 16:52:00 +01:00
Aaron Franke
d75e580765
Warn when using an AABB or Rect2 with a negative size
(cherry picked from commit 9687f6fca3)
2021-12-06 16:51:59 +01:00
kobewi
d0569255f2
Properly reload built-in tool scripts
(cherry picked from commit 75e8eafa72)
2021-12-06 16:51:55 +01:00
Rémi Verschelde
efadd46640
Merge pull request #54907 from lawnjelly/rid_handles 2021-12-06 16:50:34 +01:00
lawnjelly
3d981b8265 Add option to use handles to RID
Adds an option to compile an alternative implementation for RIDs, which allows checks for erroneous usage patterns as well as providing leak tests.
2021-12-06 14:43:34 +00:00
Max Hilbrunner
4c8cc2ab7c
Merge pull request #55643 from Calinou/doc-scenetreetimer-free-elapse-3.x
Document SceneTreeTimer being freed automatically when elapsed (3.x)
2021-12-06 02:16:00 +01:00
Hugo Locurcio
796ea60d11
Document SceneTreeTimer being freed automatically when elapsed
The note was present in the SceneTree `create_timer()` class
documentation, but not in the SceneTreeTimer class documentation.
2021-12-05 18:39:10 +01:00
Rémi Verschelde
c42e9bd589
Merge pull request #55564 from raulsntos/csharp-delegates-for-generic-class-3.x
[3.x] Fix C# `get_all_delegates` method for generic classes
2021-12-04 14:12:11 +01:00
Rémi Verschelde
8cedf916bc
Merge pull request #55611 from KoBeWi/yet_another_nice_backport
[3.x] Improve save handling for built-in scripts
2021-12-04 08:56:03 +01:00
Raul Santos
613751a742 Fix get_all_delegates method for generic classes
If the class is generic, we must get its generic type definition and use
it to retrieve the delegates.
2021-12-04 01:51:50 +01:00
Hugo Locurcio
58296c7e21
Add an OS.crash() method for testing system crash handler
This makes it possible to test the system's crash handler without
having to modify engine code or exploit an engine bug.
2021-12-04 01:40:56 +01:00
kobewi
f899b76747 Improve save handling for built-in scripts 2021-12-04 01:28:52 +01:00
Raffaele Picca
20568b9768 Fix for double use of seed in random Particle shader variables. 2021-12-03 23:31:55 +01:00
Rémi Verschelde
ade0e700f1
Merge pull request #55591 from RPicster/3.x-particlemat-ring-axis-fix
Fix Ring-Axis parameter being always visible
2021-12-03 21:38:16 +01:00
Raffaele Picca
2f69caaff3 Fix Ring-Axis parameter being always visible 2021-12-03 21:16:32 +01:00
Yuri Sizov
1cf6d21f69 Make overridden properties link to parent definition
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:48:49 +03:00
Rémi Verschelde
cd4a08ada3
Viewport: Fixup dragging code after a0fb66d
The check was removed by mistake while cherry-picking.
2021-12-03 13:19:59 +01:00
Haoyu Qiu
a0fb66d802
Fix mouse cursor and notification for force dragging
(cherry picked from commit 86a47c6540)
2021-12-03 12:51:15 +01:00
kobewi
eef08ea3e0
Show mouse position when clicking ruler tool
(cherry picked from commit 0f7d7c9ffb)
2021-12-03 12:19:47 +01:00
kobewi
ad5cb8ef5e
Improve store_string() description
(cherry picked from commit 09b1fc1956)
2021-12-03 12:19:47 +01:00
Rémi Verschelde
7c6bb122f1
Merge pull request #55579 from madmiraal/fix-55561-3.x 2021-12-03 12:12:59 +01:00
Marcel Admiraal
e0729b9c79 Allow any kind of Mesh to be added to an EditorSpatialGizmo 2021-12-03 08:51:38 +00:00
Rémi Verschelde
868a6c2ba2
Merge pull request #55574 from Chaosus/shader_fix_xor_3.x
[3.x] Fix ^= operator in shaders
2021-12-03 08:57:43 +01:00
Yuri Roubinsky
de9205f72d Fix ^= operator in shaders 2021-12-03 10:34:56 +03:00
Haoyu Qiu
144e3cd31f
Fix various misused code tag in classref
(cherry picked from commit 85c136bd07)
2021-12-02 17:31:16 +01:00
Hugo Locurcio
4d4e972041
Only print message for get_modified_time() failure when in verbose mode
This error message was often displayed for no good reason when PCK
files were loaded in the editor.

Since file modification dates are secondary metadata, it's not
very important if it can't be retrieved successfully anyway.

(cherry picked from commit 5acb8a253e)
2021-12-02 17:28:57 +01:00
Rémi Verschelde
9d509c735a
Merge pull request #55550 from pycbouh/editor-scroll-dat-preview-3.x 2021-12-02 17:22:58 +01:00
Rémi Verschelde
d5b22e614e
Merge pull request #55484 from pycbouh/theme-load-and-order-3.x 2021-12-02 17:20:31 +01:00
Yuri Sizov
eb98210be4 Allow scrolling theme preview when the control picker is active 2021-12-02 19:03:31 +03:00
Rémi Verschelde
8956c275a1
Merge pull request #55540 from raulsntos/fix-duplicate-script-property-3.x 2021-12-02 12:57:44 +01:00
Rémi Verschelde
6f1fcdee0d
Merge pull request #49662 from kleonc/transforms-xform_inv-docs 2021-12-02 12:54:44 +01:00
Raul Santos
ba3e1d6ced Skip script property in remote object property list 2021-12-02 12:37:17 +01:00
Rémi Verschelde
17de61170b
Merge pull request #55539 from godotengine/revert-54508-variant_operator_assign_gdnative 2021-12-02 11:47:19 +01:00
Rémi Verschelde
796f875870
Revert "Expose Variant operator= to GDNative" 2021-12-02 11:45:11 +01:00
Rémi Verschelde
97bbdde9e5
Merge pull request #55364 from Calinou/reflectionprobe-tweak-property-hint-3.x 2021-12-02 10:09:01 +01:00
Rémi Verschelde
f36debf8de
Merge pull request #55232 from Calinou/script-editor-add-replace-in-files-3.x 2021-12-02 09:38:01 +01:00
PouleyKetchoupp
f29f996199
Fix shape index in multiple physics queries with Bullet
Two main changes:

- Better handling of concave shapes to make sure the queries don't
return a triangle index instead of shape index.
Note: A concave shape within a compound shape will always return a shape
index of 0 because of Bullet limitations.

- Extra check for compound shapes in some queries to avoid undefined
behavior, because the shape index can have an uninitialized value with
convex shapes in some cases.

(cherry picked from commit 02d40de30d)
2021-12-01 23:49:26 +01:00
Yuri Sizov
ebd8101546 Sort and group theme properties in docs, improve formatting for theme and enums 2021-12-01 22:48:17 +03:00
Hugo Locurcio
9d3acbfad9
Draw the filled part of the slider on float EditorSpinSliders
This makes it more obvious that the slider has a "filled" part
on the left, which improves visibility especially in wider inspectors
(such as the Project Settings and Editor Settings).
2021-12-01 19:12:31 +01:00
Rémi Verschelde
c2470f5298
EditorInspector: Add missing arg names for GDNative 2021-12-01 17:34:38 +01:00
Rémi Verschelde
e154ce78cb
Merge pull request #54508 from BimDav/variant_operator_assign_gdnative 2021-12-01 17:08:39 +01:00