Fabio Alessandrelli
9dd28a2953
Merge pull request #35246 from zaksnet/disconnect-while-downloading
...
Disconnect while downloading
2021-03-02 12:42:52 +01:00
Zak Stam
bc8fe786b2
Update scene/main/http_request.cpp
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-02 11:58:09 +01:00
Rémi Verschelde
0862b29260
Merge pull request #46585 from akien-mga/fix-animation-track-enabled
...
Fix Animation tracks disabled by default
2021-03-02 10:12:09 +01:00
Rémi Verschelde
f49433c91c
Fix Animation tracks disabled by default
...
Was a regression from #45845 .
2021-03-02 09:15:01 +01:00
Riteo Siuga
b24bba95d0
Change CapsuleShape3D's collision detection axis to vertical
...
This fixes an issue where its collision detection would actually work as if it had the old default orientation.
2021-03-02 08:33:44 +01:00
kleonc
39a4ec50ea
Fix examples in Callable docs
2021-03-02 02:34:53 +01:00
jmb462
5c58d3731c
fix selection error after commenting or indenting text
2021-03-01 21:57:26 +01:00
Rémi Verschelde
8fbe644b6e
Merge pull request #46423 from kleonc/color_from_hsv_fix
...
Make Color::from_hsv use Color::set_hsv
2021-03-01 19:37:58 +01:00
Rémi Verschelde
da8eef486b
Merge pull request #46046 from BastiaanOlij/cleanup_gi
...
Moving GI and Sky code from RendererSceneRenderRD into separate classes
2021-03-01 19:34:53 +01:00
Michael Alexsander
f70ccbca52
Make Camera2D's editor helper code only be compiled on editor builds
2021-03-01 14:05:45 -03:00
Rémi Verschelde
09b5d6886f
Merge pull request #46563 from pycbouh/graph-edit-hide-minimap-properly
...
Properly hide GraphEdit's minimap
2021-03-01 17:26:50 +01:00
Yuri Sizov
2ff1c48e0c
Properly hide GraphEdit's minimap
2021-03-01 18:19:48 +03:00
Rémi Verschelde
ec7053259b
Merge pull request #41437 from KoBeWi/put_it_here
...
Allow to create a node at specific position
2021-03-01 15:48:53 +01:00
Andy Maloney
4e89cb330b
[script editor] Fix two special cases not being checked in code completion
...
When this code was changed for 4.0, a "break" statement inside a for loop in 3.x was changed to "return".
This means that the two special cases (autoloads and input actions) are never checked.
Removing the return lets these work properly in the editor.
(Also reorder conditionals to short-circuit and avoid expensive methods.)
2021-03-01 09:39:03 -05:00
Rémi Verschelde
bd42a6c51e
Merge pull request #42007 from HaSa1002/callable-docs
...
Document missing Callable methods
2021-03-01 13:20:07 +01:00
HaSa1002
54ff2da476
Document missing Callable methods
...
* Callable.hash()
* Callable.is_custom()
* Callable.is_null()
* Callable.is_standard()
* Callable.bind()
* Callable.unbind()
* Callable::operator==
* Callable::operator!=
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-01 12:49:21 +01:00
Rémi Verschelde
b98b2744a6
Merge pull request #46551 from bruvzg/json_utf16
...
JSON parser: add UTF-16 surrogate pairs support.
2021-03-01 12:42:09 +01:00
Mateo Kuruk Miccino
a3db2fd46b
LineEdit: Now double click to select a word, and triple click to select all the content using the new TextServer
...
TextEdit: Update the method to search words with the new TextServer
2021-03-01 08:38:08 -03:00
bruvzg
76b653528d
JSON parser: add UTF-16 surrogate pairs support.
2021-03-01 13:23:12 +02:00
Rémi Verschelde
c2799893f4
Merge pull request #46544 from Chaosus/tilemap_signal_fix
...
Check before connecting `TileMapEditor::settings_changed`
2021-03-01 11:59:11 +01:00
Rémi Verschelde
1eaa89a008
Merge pull request #46539 from Chaosus/vs_fix_return
...
Removes redundant code from get_input/output_port_type (visual shaders)
2021-03-01 09:44:20 +01:00
Rémi Verschelde
d9c7dd910f
Merge pull request #46536 from likeich/master
...
Refactored cpu_particles_2d.cpp _notification Method
2021-03-01 09:42:08 +01:00
Rémi Verschelde
4b1887fa28
Merge pull request #46535 from asmaloney/fix-gizmo-names
...
Fix Node3D gizmo names
2021-03-01 09:40:54 +01:00
Rémi Verschelde
5b58482b41
Merge pull request #46508 from rcorre/pathbake
...
Clarify Curve.get_closest_point uses baked points.
2021-03-01 09:37:16 +01:00
Rémi Verschelde
e9cb64a8b5
Merge pull request #46522 from Ev1lbl0w/bugfix-shader_noret
...
Added missing returns on error scenarios
2021-03-01 09:36:15 +01:00
Rémi Verschelde
a637cd8016
Merge pull request #46534 from asmaloney/doc-styleboxflat-grammar
...
Fix some grammar in StyleBoxFlat class docs
2021-03-01 09:35:22 +01:00
Rémi Verschelde
9269d66bc7
Merge pull request #45937 from revilo/fix-42611
...
Fix for "Save Branch as Scene"
2021-03-01 09:23:06 +01:00
Rémi Verschelde
947f22a90b
Merge pull request #46532 from kuruk-mm/improve_flush
...
Logger: Cache 'flush_stdout_on_print' to improve performance, and wor…
2021-03-01 09:19:15 +01:00
Rémi Verschelde
fb8cfc442d
Merge pull request #46543 from Chaosus/shader_fix_hex
...
Fix parsing hexadecimal (lowercase `e`,`f`) in shaders
2021-03-01 09:17:08 +01:00
Yuri Roubinsky
1e7662f972
Check before connecting TileMapEditor::settings_changed
2021-03-01 10:25:33 +03:00
Yuri Roubinsky
75ac36f939
Merge pull request #46541 from Chaosus/vs_fix_step
...
Fix incorrect switching port type in VisualShaderNodeStep
2021-03-01 10:23:05 +03:00
Yuri Roubinsky
19e0a1ec9d
Fix parsing hexadecimal (lowercase e
,f
) in shaders
2021-03-01 09:08:44 +03:00
Yuri Roubinsky
6f9bdaf656
Fix incorrect switching port type in VisualShaderNodeStep
2021-03-01 08:45:49 +03:00
Yuri Roubinsky
9aca12a1af
Removes redundant code from get_input/output/_port_type (visual shaders)
2021-03-01 08:34:39 +03:00
Kyle
821591a95b
Refactored cpu_particles_2d.cpp _notification Method
...
Refactors the _notification method in cpu_particles_2d.cpp to use a switch statement for readability and to bring it inline with other classes like node.cpp and timer.cpp.
2021-02-28 21:59:01 -05:00
Andy Maloney
14c50fdb94
Fix gizmo names
...
Commit 5ef62e546f
renamed EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name", but it wasn't done everywhere. Because EditorNode3DGizmoPlugin inherits from Resource, it was then using Resource::get_name() which resulted in null names.
Fixes godotengine/godot#46349
2021-02-28 20:52:53 -05:00
Andy Maloney
89e7e61773
Fix some grammar in StyleBoxFlat class docs
2021-02-28 20:09:10 -05:00
Johannes
a97db7fad6
Fix Window.get_window_id() returning -1 when embedded
2021-03-01 00:12:20 +01:00
Mateo Kuruk Miccino
89283b7b53
Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
...
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-28 19:36:10 -03:00
Rémi Verschelde
165d77a496
Merge pull request #46526 from pdfrod/fix-crash-on-giprobe-bake
...
Fix crash in GIProbe::bake
2021-02-28 22:31:27 +01:00
Pedro Rodrigues
82fed7b6da
Fix crash in GIProbe::bake
...
The problem happened when the passed from_node was null and the GIProbe
node had no parent node.
Fixes #45978
2021-02-28 20:09:55 +00:00
Ev1lbl0w
3d9ef1e4de
Added missing returns on error scenarios
2021-02-28 19:48:35 +00:00
Rémi Verschelde
e3dd38c9f0
Merge pull request #46517 from pdfrod/fix-out-of-bounds-acess-on-x11
...
Fix out of bounds array access on DisplayServerX11 code
2021-02-28 19:17:32 +01:00
Rémi Verschelde
870de12111
Merge pull request #46474 from RootKiller/fix_joints
...
Fix for crash after joint connected node is set to null
2021-02-28 18:15:02 +01:00
Pedro Rodrigues
1cb21b6937
Fix out of bounds array access on DisplayServerX11 code
...
The problem happened on methods `screen_get_position`,
`screen_get_usable_rect` and `window_set_current_screen` when they were
passed a negative screen value.
Fixes:
- #46184
- #46185
- #46186
2021-02-28 16:43:46 +00:00
Oliver Dick
0559fc58d1
SceneTreeDock: Changed "Save Branch as Scene" to make use of Node::duplicate_from_editor, which is also used by "Duplicate" function of the SceneTreeDock
...
- Removed Node::duplicate_and_reown method as it is not used anymore
2021-02-28 17:19:01 +01:00
Rémi Verschelde
0e77dc6e92
Merge pull request #46475 from RootKiller/fix_joint_collision
...
Fixed bug that caused collision not to be properly reenabled when joi…
2021-02-28 14:27:18 +01:00
Rémi Verschelde
a6ec6521fa
Merge pull request #45201 from EricEzaM/PR/popup-menu-fix
...
Fixed popup not calculating size correctly before adjusting its rect.
2021-02-28 13:34:06 +01:00
Ryan Roden-Corrent
ef5042a70f
Clarify Curve.get_closest_point uses baked points.
...
Based on the doc, I wasn't sure if get_closest_point would return the
closest baked point or the closest "source" point. It seems to use
baked:
8faecd6a47/scene/resources/curve.cpp (L809)
2021-02-28 07:18:34 -05:00
Rémi Verschelde
8faecd6a47
Merge pull request #46499 from kuruk-mm/fix_cache_load
...
ResourceLoader: Fix inverse 'if' on the cache mode
2021-02-28 10:32:49 +01:00