Commit Graph

2687 Commits

Author SHA1 Message Date
Rémi Verschelde 1426cd3b3a
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:26:54 +01:00
Haoyu Qiu bdcfb0877b Fix error when dropping script into script editor 2022-12-26 14:35:33 +08:00
Rémi Verschelde ac589edb36
Merge pull request #69939 from timothyqiu/open-packed-scene-3.x
[3.x] Add open scene button in Inspector for PackedScene resource
2022-12-22 08:57:30 +01:00
Rémi Verschelde 76bcc90da8
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
Add a project setting to make the root viewport transparent (3.x)
2022-12-22 08:55:21 +01:00
Anilforextra daa4be06b0 Enable material editor preview to be rotated.
(cherry picked from commit d4ee903004)
2022-12-18 10:32:04 +08:00
Hugo Locurcio 65465f309c
Add a project setting to make the root viewport transparent
This allows creating a project with a transparent window without having
to write any script.
2022-12-18 00:38:05 +01:00
Alfred Reinold Baudisch 7779164096 Add math operators to Visual Shader node names
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.

This feature is inspired by Unreal Engine node graph editor's UX.

Backported from https://github.com/godotengine/godot/pull/67905
2022-12-15 17:21:37 +01:00
Rémi Verschelde 6963ba631e
Fix typos with codespell 2022-12-15 12:26:59 +01:00
Fredia Huya-Kouadio 0825859a94 Update the visibility logic for the spatial editor navigation controls 2022-12-13 16:17:22 -08:00
Haoyu Qiu 433be4aa3e Add open scene button in Inspector for PackedScene resource 2022-12-12 16:10:00 +08:00
Rémi Verschelde 9983df9210
Merge pull request #69526 from m4gr3d/polish_navigation_controls_opacity_3x
[3.x] Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:33:43 +01:00
Rémi Verschelde bf7f93d236
Merge pull request #69384 from asalazar516/3.x_delete_nodes_request_param
[3.x] Add missing argument to `AnimationNodeBlendTreeEditor::_delete_nodes_request`
2022-12-05 00:13:31 +01:00
Fredia Huya-Kouadio f1e6ecd3b5 Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:33:14 -08:00
asalazar516 fd101d9def [3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request 2022-12-02 11:12:38 -08:00
Alfred Reinold Baudisch d3735d8b21
Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b)
2022-11-30 15:34:27 +01:00
kleonc 7f2c318e6e
`SpriteFramesEditor` Fix calculating frame index from mouse position
(cherry picked from commit d135957987)
2022-11-30 15:34:27 +01:00
kleonc 24eb91cd5b
Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10a)
2022-11-30 15:06:13 +01:00
Rémi Verschelde 5240609e67
Merge pull request #67681 from m4gr3d/android_editor_polish_3x
[3.x] Android Editor: Add navigation controls to the spatial editor viewport
2022-11-28 16:32:06 +01:00
Hendrik Brucker ea46617f12 Add Gradient resource preview generator
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-22 13:25:54 +08:00
Fredia Huya-Kouadio cc59e18c9b Add navigation control to the spatial editor viewport for the Android editor 2022-11-16 05:17:21 -08:00
Rémi Verschelde 36a8ebf882
Merge pull request #67666 from timothyqiu/editable-owner
[3.x] Fix wrong owner for editor plugin created nodes in instanced scene
2022-11-15 18:00:38 +01:00
Haoyu Qiu f32f4ec051 Improve dragging scene into 3D viewport 2022-11-01 18:58:16 +08:00
Haoyu Qiu 0025ab89c7 Fix spatial gizmo still active when node is deselected 2022-10-31 20:38:31 +08:00
Haoyu Qiu d50cfd9f18 Fix wrong owner for editor plugin created nodes in instanced scene 2022-10-20 15:06:17 +08:00
Micky eccc802d7e [3.x] Fix crash when ScriptEditor accesses Script with no language set 2022-09-23 13:58:31 +02:00
Michael Alexsander 13fec0a237 Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:26:17 +02:00
dzil123 c86f4c7f58 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:26:17 +02:00
Rémi Verschelde c8a748e7b6 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:26:17 +02:00
Rémi Verschelde fd1af84bf5
Merge pull request #64358 from kleonc/sprite-frames-dialog-deselect-frame-lmb-3x 2022-09-13 10:41:41 +02:00
Rémi Verschelde 930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
lawnjelly c8a39f6fb3 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-06 10:02:22 +01:00
Fredia Huya-Kouadio c875f23750 Disable logic that triggers automatic focus gain as the Godot Editor is loaded
For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
2022-09-05 22:13:03 -07:00
Kongfa Waroros 77a4615031 Update all AnimationTree's editors when editing
(cherry picked from commit 0f17fe642c)
2022-08-30 11:03:24 +02:00
Jummit fd91b2dbb9 Keep Perspective menu open on selection
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.

(cherry picked from commit e3ab344af9)
2022-08-24 17:52:15 +02:00
Hugo Locurcio cf002d4a99
Improve visibility rect/AABB generation usability in Particles
- Don't display the time dialog if the automatically calculated
  generation time is short enough.
- Clarify the purpose of waiting in the progress dialog.
2022-08-23 14:25:06 +02:00
kleonc e1fb4b4f21 `SpriteFramesEditor` Reallow deselecting frame with LMB press in select frames dialog 2022-08-13 13:26:37 +02:00
Rémi Verschelde 36fc99158d
Merge pull request #63971 from paddy-exe/spatial-shader-built-ins 2022-08-08 15:50:25 +02:00
Rémi Verschelde 5b4e7a0693
Merge pull request #64071 from Calinou/3d-editor-remove-alt-fov-adjustment-3.x 2022-08-08 12:00:22 +02:00
Grzegorz Puławski 1799189202 Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 10:52:14 +02:00
foxydevloper 543e74a988 Improve tooltips for grouping/ungrouping nodes
(cherry picked from commit 1ff9a09e2c)
2022-08-08 09:40:48 +02:00
Hugo Locurcio 53f4ff243d
Remove FOV adjustment with Alt + mouse wheel in the 3D editor
This shortcut got in the way when using the Maya navigation scheme,
and also when using the slow freelook modifier (regardless of
navigation scheme).
2022-08-07 19:47:22 +02:00
Rémi Verschelde ab7e2564f3
Merge pull request #63659 from PrecisionRender/add-shape-cast-3d
[3.x] Add `ShapeCast` and `ShapeCast2D` nodes
2022-08-06 00:33:29 +02:00
Patrick Exner be3d331f26 Backport spatial shader built-ins
Backport of this PR: https://github.com/godotengine/godot/pull/63597
This adds these as new Built-Ins to Spatial Shaders
* Object's Position in World Space
* Camera Position in World Space
* Camera Direction in World Space
* Object's Position in View Space
2022-08-05 21:19:15 +02:00
Rémi Verschelde 74de571827
Merge pull request #55626 from Calinou/3d-editor-drag-and-drop-auto-root-node-3.x 2022-08-05 19:38:45 +02:00
Rémi Verschelde 173a803c8a
Merge pull request #49495 from kleonc/sprite_frames_editor-updating-fixes-3x 2022-08-05 19:35:30 +02:00
Rémi Verschelde a6e70f1f1c
Merge pull request #63250 from YuriSizov/toolbars-go-with-the-flow-3.x 2022-08-05 19:34:21 +02:00
PrecisionRender 47a62e28ac [3.x] Add `ShapeCast` and `ShapeCast2D` nodes 2022-07-30 10:23:58 -05:00
Rémi Verschelde 818f1eed31 Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Yuri Sizov 842c3a644f Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 17:22:36 +03:00
Rémi Verschelde 59629fdf20
Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00