Commit graph

33148 commits

Author SHA1 Message Date
Rémi Verschelde
4fc1a57295
Merge pull request #60347 from lawnjelly/interpolation_cpuparticles_process
Fix CPUParticles emission updating using physics interpolation
2022-04-25 16:29:55 +02:00
Rémi Verschelde
40ad013afb
Merge pull request #60294 from timothyqiu/label-cjk-wrap
[3.x] Fix `Label` autowrap for CJK text
2022-04-25 16:21:57 +02:00
Rémi Verschelde
71d50af4ab
Merge pull request #60437 from Calinou/doc-gltf-editor-only 2022-04-25 16:19:55 +02:00
Rémi Verschelde
9260dd3ac1
Merge pull request #60427 from lawnjelly/rid_handles_safer_locks 2022-04-25 15:50:00 +02:00
Rémi Verschelde
ba21c76b46
Merge pull request #60442 from madmiraal/remove-superfluous-inputmanager-3.x 2022-04-25 15:42:06 +02:00
Rémi Verschelde
4c47e407a7
Merge pull request #60502 from timothyqiu/sem-api 2022-04-25 15:31:18 +02:00
Haoyu Qiu
8f0f98ffab Bind Semaphore.try_wait() 2022-04-25 20:47:09 +08:00
Rémi Verschelde
795fcc4081
Merge pull request #60505 from m4gr3d/fix_low_processor_mode_rendering_after_resume_3x 2022-04-25 12:32:45 +02:00
Fredy Huya-Kouadio
7a88d5bf28 Fix the issue causing the screen to be black after resuming when in low processor mode.
This is done by forcing a redraw and buffers swap when resuming the app.
2022-04-25 00:20:44 -07:00
lawnjelly
130cc36a88 Improve locking safety for RID handles builds
Additional locks are added. This is primarily to cover a potential race condition where the pool is resized from another thread during a get operation.
2022-04-23 09:09:50 +01:00
Marcel Admiraal
b5402818d7 Remove superfluous Android InputManager interface and implementation 2022-04-22 19:10:01 +02:00
Hugo Locurcio
3a8104289d
Document that glTF classes are only usable in editor builds
Run-time glTF saving/loading is only available in Godot 4.0,
not Godot 3.x.
2022-04-22 19:08:37 +02:00
Clay John
3ba980379d
Merge pull request #60334 from twobitadder/mesh_array_graceful_fail
`mesh_surface_get_format_offset` and `mesh_surface_get_format_stride` should now print an error message instead of silently crashing
2022-04-18 23:39:53 -07:00
tdetoy
8e57aae57d mesh_surface_get_format_offset and mesh_surface_get_format_stride will now provide an error with an invalid array index 2022-04-19 00:36:59 -04:00
lawnjelly
fbbb208a35 Fix CPUParticles emission updating using physics interpolation
When switching emission on and off, processing was always being switched on and off using internal_process, which was incorrect for using physics interpolation (where physics_process is the relevant one).

This PR correctly updates the process mode according to whether physics interpolation is being used.
2022-04-18 15:30:37 +01:00
Haoyu Qiu
d43b4039db Fix Label autowrap for CJK text 2022-04-18 21:54:46 +08:00
Rémi Verschelde
494876e3d8
Merge pull request #60183 from RandomShaper/fix_async_hidden_3.x
[3.x] Fix handling of async hidden render mode
2022-04-17 12:59:44 +02:00
Rémi Verschelde
2d03d06ad3
Merge pull request #60276 from Calinou/project-manager-fix-scale-window-position-3.x
Fix project manager window position when editor scale is above 100%
2022-04-15 21:20:54 +02:00
Rémi Verschelde
64eb2ebf40
Merge pull request #54629 from Gallilus/Fixes-copy-paste-issue-in-the-visual-script-editor-3.x
Fixes copy-paste issue in the visual script editor
2022-04-15 21:19:09 +02:00
Hugo Locurcio
c3da5228a3
Fix project manager window position when editor scale is above 100%
This backports a fix from `master` to `3.x` (with simplified code).
2022-04-15 18:05:32 +02:00
RedHeadphone
b6968ab060 validate input in Time.get_datetime_string_from_dict()
format fix

better fix to handle ERR_FAIL_COND_V_MSG return data type

(cherry picked from commit 7e35af3dc3)
2022-04-14 21:38:27 +02:00
FireForge
8aa30eee2f Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59)
2022-04-14 21:38:06 +02:00
Michael Alexsander
21bdadbf79 Fix GridContainer not ignoring toplevel children
(cherry picked from commit 506d8ba526)
2022-04-14 21:36:07 +02:00
KingCakeTheFruity
198d147f8e Added p_shape check to avoid engine crush
(cherry picked from commit 29a2809d21)
2022-04-14 21:35:32 +02:00
Rémi Verschelde
8182a754d2
Merge pull request #59827 from ConteZero/fix_right_menu 2022-04-14 21:29:57 +02:00
Rémi Verschelde
73d77bc1f5
Merge pull request #60242 from kleonc/navmap-reset-least_cost_id-3x 2022-04-14 21:28:26 +02:00
kleonc
c52d842435 NavMap::get_path Fix not resetting least_cost_id 2022-04-14 17:15:39 +02:00
Rémi Verschelde
4e4f6311b6
Merge pull request #60233 from ZheisterCoding/leading-space-fix-3.x
Fixed leading spaces pushing text outside Label autowrap boundary problem
2022-04-14 12:15:33 +02:00
DESKTOP-893BK8A\howar
c0513268bd Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character

Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
2022-04-14 16:05:35 +07:00
Rémi Verschelde
c8cd638a94
Merge pull request #60226 from timothyqiu/anim-ref
[3.x] Add option to paste animation as duplicate
2022-04-14 10:36:57 +02:00
Rémi Verschelde
79bcfb8ef4
Merge pull request #60231 from timothyqiu/undo-autocomplete
[3.x] Fix undo history for function name autocompletion
2022-04-14 10:21:28 +02:00
Haoyu Qiu
19a0145742 Fix undo history for function name autocompletion 2022-04-14 14:37:31 +08:00
Haoyu Qiu
4e0547afe9 Add option to paste animation as duplicate
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-14 10:40:39 +08:00
Rémi Verschelde
e1eb3c2fb1
Merge pull request #60147 from lawnjelly/interpolation_out_of_scenario 2022-04-13 17:08:08 +02:00
Rémi Verschelde
9a45eb70b4
Merge pull request #60204 from akien-mga/3.x-cherrypicks 2022-04-13 14:23:56 +02:00
Rémi Verschelde
57b53f5b53
Merge pull request #60035 from Calinou/camera-allow-lower-size-3.x 2022-04-13 12:48:17 +02:00
Rémi Verschelde
10966da874
Merge pull request #60202 from Pineapple/cowdata-getdata-3x 2022-04-13 12:40:48 +02:00
Rémi Verschelde
feb585e7e9
Merge pull request #60200 from timothyqiu/atp-ui 2022-04-13 11:54:51 +02:00
Oğuzhan Eroğlu
ebaca9d432 Added set_extra_headers() to WebSocketServer
(cherry picked from commit fd4341fba4)
2022-04-13 11:43:49 +02:00
Markus Sauermann
b0b1e55305 Add a note about collisions in different canvases.
(cherry picked from commit b9c91d620e)
2022-04-13 11:43:49 +02:00
Nicholas Huelin
861c5fe567 Fix Visual Script's jump to function relative to zoom
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.

(cherry picked from commit e8a326a08f)
2022-04-13 11:43:49 +02:00
Igor Kordiukiewicz
6bf7e8e010 String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++
(cherry picked from commit 6c3b6664b5)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
6598eb9547 Improves EditorInspector documentation
(cherry picked from commit 2fa3c65d30)
2022-04-13 11:43:49 +02:00
Eric McGuirk
f82cd740cf Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfc)
2022-04-13 11:43:49 +02:00
kobewi
bf6e7dc6f6 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
8d9071542b Localize unnamed project name in editor window title
(cherry picked from commit 35d0878139)
2022-04-13 11:43:49 +02:00
Ryan Roden-Corrent
24d40ebed9 Clarify Array.erase for nonexistant element.
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.

(cherry picked from commit f84e2db35e)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
1d476d7737 Consider chained operation when selecting text in TextEdit::undo()
(cherry picked from commit 8cefbfcf43)
2022-04-13 11:43:49 +02:00
Jason Yundt
6ca73386d1 Improve autoload inheritance error message
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.

Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.

Fixes #59884.

(cherry picked from commit 1cc7e7ec33)
2022-04-13 11:43:49 +02:00
kobewi
427480aa35 Mention how to add dragging for SpinBox's LineEdit
(cherry picked from commit c8de265307)
2022-04-13 11:43:49 +02:00