Commit graph

31993 commits

Author SHA1 Message Date
Rémi Verschelde
7ac92d2bc8
Merge pull request #55701 from lawnjelly/fix_gles2_env_leak 2021-12-07 20:07:15 +01:00
lawnjelly
7134ef90bb Fix leaking environment RIDs in GLES2
This PR adds the code necessary to correctly free environments in GLES2, which was previously missing causing them to leak.
2021-12-07 18:42:10 +00:00
Camille Mohr-Daurat
05f8986e36
Merge pull request #52020 from Calinou/doc-physics-angular-velocity
Document that RigidBody angular velocity is in degrees per second
2021-12-07 11:15:30 -07:00
Hugo Locurcio
2fe15124de
Document that RigidBody angular velocity is in degrees per second
This will be changed to radians per second in Godot 4.0, but it can't
be changed in 3.x to preserve compatibility with existing projects.
2021-12-07 18:38:03 +01:00
Rémi Verschelde
98e0ebfc4b
Merge pull request #55480 from univeous/fix-joystick-focus-3.x 2021-12-07 12:15:42 +01:00
Rémi Verschelde
643a9a3420
Merge pull request #55526 from pycbouh/docs-sort-group-newline-theme-and-enums-3.x 2021-12-07 12:14:48 +01:00
Rémi Verschelde
7c82db2cd4
Merge pull request #55607 from RPicster/3.x-particle-double-seed-use-fix 2021-12-07 12:01:08 +01:00
Rémi Verschelde
04a9d2edb2
Merge pull request #55688 from godotengine/revert-54733-particles-emit-old-location 2021-12-07 10:56:17 +01:00
Rémi Verschelde
ee1877e63e
Revert "Fix particles emitting at old location" 2021-12-07 10:52:39 +01:00
Rémi Verschelde
71d8ccbe9e
Merge pull request #55676 from RandomShaper/fix_layered_lightmap_3.x
[3.x] Fix atlassed lightmaps not visible on GL ES 3
2021-12-06 21:44:27 +01:00
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
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