Commit Graph

40704 Commits

Author SHA1 Message Date
Johannes Witt 0505b08a56
Add `GraphEdit` drag notifications
This commit adds two signals:
 * connection_drag_begun, which is emitted when a connection is started
   to be created by the user and
 * `connection_drag_ended`, which is emitted when no longer a connection
   is created.

Additionally `force_connection_drag_end()` adds the possibility to end
the connection dragging. If called from user code, no other connection
request signals are invoked. This is useful to add `GraphNode`s via
shortcuts while the user is dragging a connection to directly connect
the newly added node.
2022-01-06 17:51:40 +01:00
Rémi Verschelde 4ea309b405
Merge pull request #56425 from V-Sekai/foreign_scene_child_node_fix 2022-01-06 17:38:19 +01:00
Aaron Franke 05ce2c80bb
Rename Variant enum members in resource_format_binary.cpp 2022-01-06 08:12:26 -08:00
Rémi Verschelde 8d83da5bf9
Merge pull request #56224 from Calinou/variant-rename-packed-array-constants 2022-01-06 17:08:36 +01:00
SaracenOne 901f376671 Move metallic and roughness automated assignment to an inspector UndoRedo
callback.
2022-01-06 16:07:26 +00:00
SaracenOne cd842b65bf Fix queueing a texture and regular uniform update in RD backend in succession. 2022-01-06 16:05:07 +00:00
SaracenOne 726fbb821b Fix incorrect default transform values on foreign 3D nodes 2022-01-06 15:52:22 +00:00
Rémi Verschelde f57bdf13af
Merge pull request #50493 from timothyqiu/local-vector-list-init 2022-01-06 16:51:57 +01:00
Rémi Verschelde 6ebbdb4a80
Merge pull request #43757 from KoBeWi/minimum_size_changed_bro 2022-01-06 16:33:11 +01:00
Rémi Verschelde df491d2f1c
Merge pull request #56560 from akien-mga/ci-swiftshader-oct2021 2022-01-06 16:20:13 +01:00
SaracenOne 941ea38b9a Prevent saving branches in foreign scenes 2022-01-06 15:04:12 +00:00
Tomasz Chabora e72adab511 Update the minimum size of ViewportContainer 2022-01-06 15:43:12 +01:00
Rémi Verschelde aafac1e33a
CI: Update SwiftShader to 2021-10-02 build
No specific reason that I know of aside from it being available in our
prebuilt CI dependencies.
2022-01-06 15:17:34 +01:00
Rémi Verschelde 84d82030c3
Merge pull request #56549 from bruvzg/utf8_fixes 2022-01-06 14:46:48 +01:00
Rémi Verschelde 985ae61dda
Merge pull request #56552 from timothyqiu/deja-vu 2022-01-06 14:07:17 +01:00
Rémi Verschelde 069ce08fea
Merge pull request #56551 from godotengine/revert-55203-scons-warn-unknown-variables 2022-01-06 14:04:16 +01:00
bruvzg c69e0d16bc
Fix multiple missing UTF-8 decoding. 2022-01-06 14:35:22 +02:00
JFonS 1f0dc02649
Merge pull request #56006 from KoBeWi/6yearslater
Add physics material to GridMap
2022-01-06 13:28:42 +01:00
Haoyu Qiu 3d08becd06 Unify similar method descriptions
Notably:

* `Packed*Array.size()` and `Array.size()`.
* Shared methods of `Transform2D` and `Transform3D`.
* Shared methods of `Vector2`, `Vector3`, and `Vector2i`.

This reduces the Deja Vu when translating the class reference :)
2022-01-06 19:50:57 +08:00
Yuri Roubinsky 8e2398207c
Merge pull request #56480 from Chaosus/vs_plugin_gdscript_template 2022-01-06 14:41:41 +03:00
Rémi Verschelde 6bb6d36816
Revert "Print a warning with unknown SCons variables to ease troubleshooting" 2022-01-06 12:23:14 +01:00
Rémi Verschelde cc82b043bd
Merge pull request #56554 from akien-mga/ci-upstreamed-regression-test-project 2022-01-06 12:10:58 +01:00
Rémi Verschelde 94232dcb48
CI: Update links to regression test project and prebuilt SwiftShader
qarmin's repository has been moved to the godotengine organization.
2022-01-06 12:10:15 +01:00
Rémi Verschelde a2a4ec7cb5
Merge pull request #56376 from pycbouh/theme-tombe-les-theme-properties 2022-01-06 11:33:43 +01:00
Yuri Roubinsky 21cfcaa129 Add a GDScript template for `VisualShaderNodeCustom` 2022-01-06 12:06:33 +03:00
Rémi Verschelde b238218363
Merge pull request #55851 from Chaosus/better-completion-options-list_rebased 2022-01-06 09:40:44 +01:00
Rémi Verschelde ad07a339ee
Merge pull request #56504 from Chaosus/fix_code_editor_goto_error 2022-01-06 09:39:10 +01:00
Rémi Verschelde 0157742422
Merge pull request #53434 from Faless/io/4.x_file_access_compressed
[File] Fix FileAccessCompressed::get_buffer return value.
2022-01-06 09:20:27 +01:00
Rémi Verschelde 98693e96ae
Merge pull request #56542 from aaronfranke/format-no-bat
Skip formatting `.bat` files in `file_format.sh`
2022-01-06 08:22:08 +01:00
Aaron Franke 4cdc75915f
Skip formatting .bat files in file_format.sh
These are supposed to have CRLF because Windows, so we'll just skip this file type in the script.
2022-01-05 18:30:27 -08:00
Hugo Locurcio 221efffdf7
Expose RenderingServer SSIL quality setter methods
This allows changing SSIL quality at run-time in a project.
2022-01-06 02:35:49 +01:00
Rémi Verschelde 3662105f8b
Merge pull request #56479 from V-Sekai/import-options 2022-01-05 20:44:42 +01:00
Marc Gilleron 5e86683df2 Added key name to error message about key not being valid 2022-01-05 19:36:10 +00:00
rafallus b4abb73ea5 Inspector property array for `TabBar` 2022-01-05 12:23:11 -06:00
Rémi Verschelde 8f6cba3a44
Merge pull request #56398 from KoBeWi/cooler_picker 2022-01-05 17:42:48 +01:00
Rémi Verschelde cbf8757289
Merge pull request #56522 from akien-mga/navigation-restore-safe-get_singleton 2022-01-05 17:10:21 +01:00
Rémi Verschelde 3fcae531e2
Merge pull request #55293 from LlamaLad7/master 2022-01-05 16:42:17 +01:00
Rémi Verschelde 6af77c7b09
Merge pull request #53684 from TokageItLab/orthogonal-mode 2022-01-05 16:05:40 +01:00
Rémi Verschelde b23552922f
NavigationServer: Restore constness for thread safe `get_singleton`
This was removed by mistake in #47024, NavigationServer uses internal
mutability for thread safety, and removing `const` breaks the contract.
2022-01-05 15:41:21 +01:00
Rémi Verschelde bb4157a9af
Merge pull request #56519 from RandomShaper/fix_scene_cleared 2022-01-05 15:32:06 +01:00
Rémi Verschelde 75c06289c4
Merge pull request #56517 from bruvzg/fix_export_utf8 2022-01-05 15:08:27 +01:00
Rémi Verschelde 63d9308b4b
Merge pull request #56047 from piiertho/feature/osx-sign-directory 2022-01-05 14:38:17 +01:00
Pedro J. Estébanez 2db9397fb9 Clear only owners that are no longer in the same tree 2022-01-05 14:00:49 +01:00
Rémi Verschelde ffddb19a69
Merge pull request #56516 from KoBeWi/nice 2022-01-05 13:59:13 +01:00
Haoyu Qiu c0d3bdc0ca Add list initialization support for Vector & LocalVector 2022-01-05 20:42:09 +08:00
bruvzg d2573c1636
Fix decoding UTF-8 filenames on unzipping. 2022-01-05 14:31:20 +02:00
Rémi Verschelde d2ac67d55e
Merge pull request #53069 from fbcosentino/3d-material-overlay-4.0 2022-01-05 13:26:38 +01:00
kobewi 77eb25421e Fix names of scenes dropped onto viewport 2022-01-05 13:11:18 +01:00
Max Hilbrunner 6a6c4f2197 Windows input: Fix wrong OEM key, add missing keys 2022-01-05 12:20:47 +01:00
Fernando Cosentino ca79373d13
Added material_overlay property to MeshInstance3D
Applying overlay materials into multi-surface meshes currently
requires adding a next pass material to all the surfaces, which
might be cumbersome when the material is to be applied to a range
of different geometries. This also makes it not trivial to use
AnimationPlayer to control the material in case of visual effects.
The material_override property is not an option as it works
replacing the active material for the surfaces, not adding a new pass.

This commit adds the material_overlay property to GeometryInstance3D
(and therefore MeshInstance3D), having the same reach as
material_override (that is, all surfaces) but adding a new material
pass on top of the active materials, instead of replacing them.
2022-01-05 11:47:51 +01:00