Commit graph

2646 commits

Author SHA1 Message Date
Michael Alexsander
6cc1dc309f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:27:52 +02:00
dzil123
26f7c0f1df Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:27:08 +02:00
Rémi Verschelde
eae3689153 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:27:02 +02:00
kleonc
0dad6d30ea SpriteFramesEditor Reallow deselecting frame with LMB press in select frames dialog
(cherry picked from commit e1fb4b4f21)
2022-09-20 10:24:09 +02:00
lawnjelly
be2739b1c7 Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.

(cherry picked from commit c8a39f6fb3)
2022-09-09 14:30:08 +02:00
Yuri Sizov
b779a2332b Use FlowContainer to handle toolbar overflow more gracefully
(cherry picked from commit 842c3a644f)
2022-08-08 13:35:36 +02:00
kleonc
2f0577fb0f AnimatedSprite Fix updating inspector when SpriteFrames is modified
(cherry picked from commit 8ae246f15e)
2022-08-08 13:34:05 +02:00
Hugo Locurcio
77d596088e 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).

(cherry picked from commit 53f4ff243d)
2022-08-08 13:20:42 +02:00
Grzegorz Puławski
1f1bed15ba Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 13:19:17 +02: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
Rémi Verschelde
59629fdf20
Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
kleonc
66551a94be TileMapEditor Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
kleonc
728a725b7b SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:32 +02:00
Twarit Waikar
af3a834d0e VCS: Fix wrong number of args passed into _refresh_commit_list 2022-07-09 23:31:44 +05:30
Fabio Alessandrelli
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
Haoyu Qiu
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
Jummit
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
kobewi
07953346fa Include quotes conditionally for dropped paths
(cherry picked from commit 995bcd6218)
2022-07-03 03:33:26 +02:00
python273
77a9f3d4d8 Make asset library's column count dynamic
(cherry picked from commit d65eb592b0)
2022-07-03 03:26:12 +02:00
Kirill
ad77a3f2f7 Stretch image on resize in asset description dialog
(cherry picked from commit 924658a849)
2022-07-02 00:08:56 +02:00
Haoyu Qiu
4356b5abf8 Fix prompt dialog title for Animation operations 2022-06-23 13:03:38 +08:00
Rémi Verschelde
acd4a01b8c ProjectSettings: Ensure 'editor/' settings aren't nested
Having a mix of settings with and without subcategory makes the 'Editor'
section stand out with a weird UX, as instead of simply being a foldable
section like the others, it also holds its own top-level settings and is
therefore selectable.

This wasn't the case in 3.4, and is fixed in 4.0 by refactoring, so for
3.5 we should preserve the 3.4 UX, even if it's not the best.
2022-06-19 11:47:19 +02:00
Hugo Locurcio
dccd925aff
Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
These actions create MeshInstance2D nodes, not Mesh2D resources.
2022-06-11 20:26:56 +02:00
Danny Chung
0ba78201ae Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3b)
2022-06-10 10:25:37 +02:00
kobewi
714891ace8 Properly release LMB even while panning 2022-06-09 14:02:58 +02:00
Rémi Verschelde
80b82e4e66 i18n: Misc fixes translation strings
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
Rémi Verschelde
9ca190dfe5
Merge pull request #61718 from ArshPanesar/Fixed-Populating-MultimeshInstance-Crash
Fixed Issue #61553 - Populating MultimeshInstance Crash
2022-06-07 14:12:02 +02:00
Arsh Panesar
84a6407286 Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-06-07 09:27:48 +05:30
Rémi Verschelde
0acd1ca850
Merge pull request #61266 from smix8/navigation_tilemap_poly_3.x 2022-05-31 11:25:00 +02:00
Rémi Verschelde
cb1ffbd0f6
Merge pull request #61383 from ChronicallySerious/fix-commit-list-size 2022-05-24 23:49:55 +02:00
ChronicallySerious
6f3975691e VCS: Change Commit list size button signal to item_selected
This is in contrast to the previous signal in use - "pressed", which doesn't get emitted on simple clicks on the OptionButton to open the popup.

Also, fixes the ids using which the metadata was being set on the items on the commit list. The commit list size button items now work as expected
2022-05-25 03:02:13 +05:30
ChronicallySerious
da563916e6 VCS: Don't assume Commit tab will stay at default location 2022-05-25 02:22:02 +05:30
smix8
1bac95b166 Fix TileSetEditor wrong NavigationPolygon format
TileSets created and stored NavigationPolyons in a format that did not work for Navigation.
2022-05-24 19:07:41 +02:00
Rémi Verschelde
88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
bruvzg
dc6d8d6098
Backport Label3D node implementation and Sprite*3D material render priority. 2022-05-23 09:14:41 +03:00
Aaron Franke
08a397c4b7
Tweaks to improve the Project Manager display at small sizes 2022-05-20 16:51:06 +02:00
Haoyu Qiu
b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Yuri Rubinsky
32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Haoyu Qiu
b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
Haoyu Qiu
59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
FireForge
f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Rémi Verschelde
eea48d9a1d
Merge pull request #60770 from KoBeWi/animetiles
Expose tile_texture property
2022-05-05 08:36:43 +02:00
kobewi
0b5289cadf Expose tile_texture property 2022-05-05 02:22:43 +02:00
Hugo Locurcio
aaf8424d7e
Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-05-05 01:33:47 +02:00
Rémi Verschelde
7774cbd8f2
Merge pull request #42298 from gvekan/stop-multimeshinstance-populate-reset
Stop reset of MultiMesh properties on populate
2022-05-05 00:35:24 +02:00
Haoyu Qiu
9c82c3581f Handle AssetLib repository config error 2022-05-04 22:19:21 +08:00
FireForge
e8d1552af2 Add an inspector preview for BitMap 2022-05-02 09:16:34 +08:00
Hugo Locurcio
2bc036dad5 Add an external link editor icon
This replaces the existing "chainlink" instance icon that was
used for external links. That icon is still used for scene instancing.

The icon was designed by redlamp.

Co-authored-by: Taylor Wright <taylor@redlamp.org>
(cherry picked from commit 5626d026d8)
2022-04-27 12:30:31 +02:00
FireForge
994c0b7ce5 Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326)
2022-04-27 12:26:10 +02:00
Haoyu Qiu
d088128b43 Remove duplicate editor settings definitions 2022-04-27 15:26:46 +08:00