Commit Graph

2677 Commits

Author SHA1 Message Date
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
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
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
fd101d9def [3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request 2022-12-02 11:12:38 -08:00
d3735d8b21 Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b)
2022-11-30 15:34:27 +01:00
7f2c318e6e SpriteFramesEditor Fix calculating frame index from mouse position
(cherry picked from commit d135957987)
2022-11-30 15:34:27 +01:00
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
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
ea46617f12 Add Gradient resource preview generator
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-22 13:25:54 +08:00
cc59e18c9b Add navigation control to the spatial editor viewport for the Android editor 2022-11-16 05:17:21 -08:00
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
f32f4ec051 Improve dragging scene into 3D viewport 2022-11-01 18:58:16 +08:00
0025ab89c7 Fix spatial gizmo still active when node is deselected 2022-10-31 20:38:31 +08:00
d50cfd9f18 Fix wrong owner for editor plugin created nodes in instanced scene 2022-10-20 15:06:17 +08:00
eccc802d7e [3.x] Fix crash when ScriptEditor accesses Script with no language set 2022-09-23 13:58:31 +02:00
13fec0a237 Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:26:17 +02:00
c86f4c7f58 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:26:17 +02:00
c8a748e7b6 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:26:17 +02:00
fd1af84bf5 Merge pull request #64358 from kleonc/sprite-frames-dialog-deselect-frame-lmb-3x 2022-09-13 10:41:41 +02:00
930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
c8a39f6fb3 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
2022-09-06 10:02:22 +01:00
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
77a4615031 Update all AnimationTree's editors when editing
(cherry picked from commit 0f17fe642c)
2022-08-30 11:03:24 +02:00
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
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
e1fb4b4f21 SpriteFramesEditor Reallow deselecting frame with LMB press in select frames dialog 2022-08-13 13:26:37 +02:00
36fc99158d Merge pull request #63971 from paddy-exe/spatial-shader-built-ins 2022-08-08 15:50:25 +02:00
5b4e7a0693 Merge pull request #64071 from Calinou/3d-editor-remove-alt-fov-adjustment-3.x 2022-08-08 12:00:22 +02:00
1799189202 Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 10:52:14 +02:00
543e74a988 Improve tooltips for grouping/ungrouping nodes
(cherry picked from commit 1ff9a09e2c)
2022-08-08 09:40:48 +02:00
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
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
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
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
173a803c8a Merge pull request #49495 from kleonc/sprite_frames_editor-updating-fixes-3x 2022-08-05 19:35:30 +02:00
a6e70f1f1c Merge pull request #63250 from YuriSizov/toolbars-go-with-the-flow-3.x 2022-08-05 19:34:21 +02:00
47a62e28ac [3.x] Add ShapeCast and ShapeCast2D nodes 2022-07-30 10:23:58 -05:00
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
842c3a644f Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 17:22:36 +03:00
59629fdf20 Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
66551a94be TileMapEditor Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
728a725b7b SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:32 +02:00
8ae246f15e AnimatedSprite Fix updating inspector when SpriteFrames is modified 2022-07-13 15:48:11 +02:00
af3a834d0e VCS: Fix wrong number of args passed into _refresh_commit_list 2022-07-09 23:31:44 +05:30
ad5fdcc0f3 [AssetLib] Fix crash in Web editor.
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.

(cherry picked from commit 0e504e4191)
2022-07-08 14:37:35 +02:00
f7c144a180 Update TextureRegion editor when NinePatchRect/StyleBoxTexture changes
Updates the editor when the region rect or margins change.
2022-07-06 14:04:42 +08:00
90cf6688f2 Automatically add root node when drag-and-dropping in 3D editor
This also uses correct capitalization scheme for 3D meshes that are
drag-and-dropped, like in the 2D editor.
2022-07-05 00:54:31 +02:00
63f35d24c6 Use % when dropping unique scene nodes into script
This expands uppon #60708, using `get_node("%NodeName")` for nodes that
have a unique scene name to avoid having to change the onready
statements when the paths of the nodes change.

(cherry picked from commit 1101f6c660)
2022-07-03 03:34:23 +02:00
07953346fa Include quotes conditionally for dropped paths
(cherry picked from commit 995bcd6218)
2022-07-03 03:33:26 +02:00
77a9f3d4d8 Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
2022-07-03 03:26:12 +02:00