Commit Graph

31871 Commits

Author SHA1 Message Date
Yuri Sizov e77c6aaba7
Sort and group theme properties in docs, improve formatting for theme and enums
(cherry picked from commit ebd8101546)
2021-12-07 12:14:59 +01:00
Raffaele Picca d5aa00c2cb
Fix for double use of seed in random Particle shader variables.
(cherry picked from commit 20568b9768)
2021-12-07 12:01:52 +01:00
Rémi Verschelde 14f92f9944
Revert "Fix particles emitting at old location"
(cherry picked from commit ee1877e63e)
2021-12-07 10:56:45 +01:00
lawnjelly 1b5832494a
Fix incorrect RID cleanup in Rasterizers
Proper cleanup for GLES3 RIDs (preventing leak reports), and added missing destructor for RasterizerSceneGLES2.

(cherry picked from commit 6f4c0b95fc)
2021-12-07 09:14:40 +01:00
Francois Belair 97958e2a38
Prevent LSP adding signal func to non GDScripts
(cherry picked from commit 66f1b4bf66)
2021-12-07 09:14:32 +01:00
Haoyu Qiu 8ba1b94187
Fix EditorPlugin.remove_inspector_plugin() instance cleanup
(cherry picked from commit da94b61d09)
2021-12-07 09:14:32 +01:00
Manolis Papadeas 8c59dbda33
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-07 09:14:31 +01:00
Hugo Locurcio 6ff6c503d0
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.

(cherry picked from commit 796ea60d11)
2021-12-07 09:14:31 +01:00
Raffaele Picca 47f9a316ce
Fix Ring-Axis parameter being always visible
(cherry picked from commit 2f69caaff3)
2021-12-07 09:14:31 +01:00
Vincent 2c7f6832ae
AudioStreamMP3: expose loop properties to the editor
(cherry picked from commit 8263646f68)
2021-12-07 09:14:31 +01:00
Marcel Admiraal ca3ab75697
Allow any kind of Mesh to be added to an EditorSpatialGizmo
(cherry picked from commit e0729b9c79)
2021-12-07 09:14:31 +01:00
kleonc d3b0436cfb
Clarify Transform.xform_inv docs
(cherry picked from commit c20d097636)
2021-12-07 09:14:31 +01:00
Yuri Sizov 3d0676a588
Allow scrolling theme preview when the control picker is active
(cherry picked from commit eb98210be4)
2021-12-07 09:14:31 +01:00
Raul Santos 34bdca36de
Skip script property in remote object property list
(cherry picked from commit ba3e1d6ced)
2021-12-07 09:14:30 +01:00
kobewi 03bfedc67c
Improve store_string() description
(cherry picked from commit 09b1fc1956)
2021-12-07 09:14:27 +01:00
Rémi Verschelde 5a06859bd7
Merge pull request #55673 from lawnjelly/rids_34_rasterizersync 2021-12-07 09:14:07 +01:00
lawnjelly bf785444ff [3.4] Cutdown version of RID fixes to sync with 3.5 RID handles
The RID Handles PR introduced a couple of bug fixes, they are added here without the RID handles functionality in order to keep 3.4 and 3.x roughly in sync, allowing further fixes to RID lifetimes to be backported.
2021-12-06 16:43:27 +00:00
Yuri Sizov fce6e13034
Make default/project theme wait for modules before initializing
(cherry picked from commit 33fb44223f)
2021-12-02 17:32:36 +01:00
Hugo Locurcio e463d3daca
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:32:17 +01:00
Rémi Verschelde ba277a0aa0
Revert "Expose Variant operator= to GDNative"
(cherry picked from commit 796f875870)
2021-12-02 11:47:50 +01:00
BimDav 521af55301
expose Variant operator= to GDNative
(cherry picked from commit 084b21c4a8)
2021-12-01 17:09:04 +01:00
Vincent 72709bb821
Fix crash when loading an invalid mp3 file
(cherry picked from commit 2d0068d1cb)
2021-12-01 17:01:31 +01:00
Yuri Sizov 2b9a1e0d2c
Fix a crash in editor's script parent class check
(cherry picked from commit 62c34a6be7)
2021-12-01 14:36:24 +01:00
Rémi Verschelde 49285b2639
Remove editor splash screen with sponsors logo
The Godot Project Leadership Committe has decided to update the sponsoring
tiers so that the Platinum Sponsorship no longer includes a logo on the
editor splash screen.

This lets us reclaim the editor splash screen space for community-related
content instead of sponsors (e.g. a different community-designed splash
screen for each stable branch?).

Also removes two Platinum Sponsors whose sponsorship has expired earlier this
year.

(cherry picked from commit c283fce698)
2021-12-01 14:36:03 +01:00
Rémi Verschelde 187530de7d
doc: Fixup Tabs reference after cherry-pick
(cherry picked from commit 6cf77f80b5)
2021-11-30 14:47:22 +01:00
Fabio Alessandrelli 4ce01a35be
[HTML5] Fix multi-touch input handling.
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.

(cherry picked from commit 470496d8d4)
2021-11-30 12:21:28 +01:00
zacryol 7a79ee014d
Clarify usage of TabContainer
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.

(cherry picked from commit 5c645d510f)
2021-11-30 11:00:05 +01:00
bruvzg 726fe83b84
[macOS] Fix driver crash when enabling per-pixel transparency on M1 macs.
(cherry picked from commit f72cc71ebe)
2021-11-30 10:59:49 +01:00
ator-dev 43d23c3926
Prevent hidden tab close buttons from intercepting input [3.x]
(cherry picked from commit a8977006fd)
2021-11-30 10:59:32 +01:00
Haoyu Qiu 8e441d7c8b
Fix potential infinite loop when connecting HTTPClient
(cherry picked from commit de1cdc2102)
2021-11-30 10:59:18 +01:00
kobewi b646852765
Don't show tooltips for paused controls
(cherry picked from commit fe28e823c5)
2021-11-29 17:01:51 +01:00
bruvzg 552feba40b
Fix RTL min/max line width calculation.
(cherry picked from commit 33b26e5cdc)
2021-11-29 16:45:32 +01:00
kobewi 97404dc612
Fix right alignment in RichTextLabel
(cherry picked from commit 820f7c9d15)
2021-11-29 16:45:22 +01:00
Eric 2e1646e484
Fix condition on 'jump to limits' logic
This is a fix for: #54856

(cherry picked from commit 7257bb6ad0)
2021-11-29 16:44:53 +01:00
Yuri Sizov 93fe9ecb97
Add methods to get position from column and line in TextEdit
(cherry picked from commit ba747e2a26)
2021-11-29 16:44:34 +01:00
Wilson E. Alvarez 07767fc676
Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor
(cherry picked from commit 1a2153eb0a)
2021-11-29 16:44:21 +01:00
Red Headphone d5bd37a1d1
progress_offset now added to reference cross draw function
(cherry picked from commit 8a6c6d5329)
2021-11-29 16:43:57 +01:00
Fabio Alessandrelli 35b7e86e6e
[HTML5] Use compatibility function for glGetBufferSubData.
The "webgl/webgl2.h" include provides that function, but it's not
available in emscripten versions < 2.0.17 .

Since we need to support emscripten 1.39.9 (mono builds), this commit
adds a JS function in library_godot_display.js as a compatibility layer
for it, and implement glGetBufferSubData by funneling the call to that
function (so we don't have name collisions JS-side with recent emcc).

All those hacks are now moved to the platform directory instead of being
ifdefs inside the drivers implementations.

(cherry picked from commit bbfe054175)
2021-11-29 16:42:26 +01:00
Fabio Alessandrelli 8fb897ecfa
[HTML5] Use absolute path for JS lib/pre/externs.
Ensure better compatibility when emcc which may run some tools from
different paths (e.g. closure compiler).

This fixes externs include issues with modern emcc using the closure
compiler.

(cherry picked from commit eaedc92c61)
2021-11-29 16:41:44 +01:00
zacryol afa8844679
Fix description of Viewport `find_world_2d()` method.
The doc now states that the method searches for a World2D among ancestor Viewports as well, differentiating it from the get_world_2d() getter.

and also find_world_3d()

(cherry picked from commit 81c1d5197e)
2021-11-29 16:40:48 +01:00
Fabio Alessandrelli 8f0208af65
[HTML5] Fix focus (again) in Firefox's iframes.
This actually makes sense(?), when running inside an iframe the active
element might be our canvas, while the iframe itself is not active in
the parent window. Since we consume the event, the iframe does not get
focused in Firefox (but does in Chromium-based browsers), so we must
always call focus to handle such occasions.

(cherry picked from commit 63e2db2499)
2021-11-26 10:43:32 +01:00
Rémi Verschelde 7b0801c7fb
Merge pull request #55326 from akien-mga/3.4-cherrypicks 2021-11-26 00:12:36 +01:00
kobewi e203910804
Correct the doc about ease()
(cherry picked from commit 44e6655924)
2021-11-25 23:13:16 +01:00
kobewi f5ea27e587
Mention that replace_by doesn't free the node
(cherry picked from commit 58a3ea5453)
2021-11-25 23:13:16 +01:00
bruvzg b8f888a43b
Add Input.is_physical_key_pressed method.
(cherry picked from commit 9877d91c4a)
2021-11-25 23:13:15 +01:00
Hugo Locurcio 5555a69b5e
Document the engine's use of internal groups in Node
(cherry picked from commit f8d9e4afdb)
2021-11-25 23:13:15 +01:00
Gergely Kis f2ef3e67a1
Fix debug build for iphone
printf() does not have a version that accepts std::string
as format string parameter.

(cherry picked from commit a1a3e79ea5)
2021-11-25 23:13:15 +01:00
kobewi b8bda1fb67
Clarify get_indexed in relation to Nodes
(cherry picked from commit 4ea6709558)
2021-11-25 23:13:15 +01:00
kobewi 4876686cf7
Improved some editor checkboxes
(cherry picked from commit 5dc7346ab4)
2021-11-25 23:13:15 +01:00
Hugo Locurcio 60d1200a26
Print a warning with unknown SCons variables to ease troubleshooting
When disabling specific modules, misspellings can occur. Additionally,
when switching between the `3.x` and `master` branches frequently,
it's possible to forget about renamed modules such as `lightmapper_cpu`
versus `lightmapper_rd`.

(cherry picked from commit 69b2d3f791)
2021-11-25 23:13:15 +01:00