A Thousand Ships
7d8684fdb5
[Editor] Merge duplicate entries in enum property inspector
...
This helps with confusion over how selecting a key with a duplicate
value won't be selected as only the first entry with a particular value will
be selected.
2024-09-12 16:05:11 +02:00
Rémi Verschelde
b0328993e6
Merge pull request #87674 from WhalesState/line-edit
...
Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.
2024-09-11 12:34:31 +02:00
Mounir Tohami
c36f466a4c
Prevent `LineEdit` from losing focus when text is submitted or rejected.
2024-09-10 13:43:31 +00:00
Rémi Verschelde
a0823ce5fe
Merge pull request #96620 from ajreckof/fix-clear-button-on-Array-Node]
...
Fix clear button on `Array[Node]`.
2024-09-09 17:51:46 +02:00
ajreckof
dee0453b57
fix clear button on Array[Node]
2024-09-06 13:39:25 +02:00
Thaddeus Crews
9853a69144
Implement typed dictionaries
2024-09-04 10:27:26 -05:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
A Thousand Ships
fbb879debd
[Scene] Add `SceneStringNames::text/value_changed`
2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add `SceneStringNames::confirmed`
2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add `SceneStringNames::item_selected`
2024-06-19 09:39:05 +02:00
A Thousand Ships
d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)`
2024-06-18 17:24:27 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
kobewi
6479b5673f
Remove unused base_hint from EditorPropertyNodePath
2024-05-29 13:18:19 +02:00
A Thousand Ships
4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-27 13:29:57 +02:00
Michael Alexsander
e1798f4278
Fix unchecking theme overrides not creating an undo action
2024-05-22 21:24:31 -03:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
ajreckof
114ab9dd04
fix infinite call loop on theme change.
...
Apply suggestions from code review
2024-05-13 14:39:02 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
kobewi
464a1e8672
Fix temporary Euler when editing quaternion
2024-05-07 22:16:02 +02:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
...
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
ajreckof
cba9606611
Add colored margin in Inspector for arrays and dictionaries.
...
Apply suggestions from code review
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Rémi Verschelde
8063ea9e32
Merge pull request #84446 from KoBeWi/EditorYOLOPicker
...
Don't check resource type assigned in property
2024-04-26 15:13:06 +02:00
jsjtxietian
7d4bdcf80a
Fix `_node_assign` will crash when base_node is nullptr
2024-04-09 12:37:32 +08:00
Rémi Verschelde
c97885be7d
Merge pull request #89811 from timothyqiu/missing-i18n
...
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Haoyu Qiu
91204f6f3f
Fix missing i18n for some editor strings
2024-04-03 16:42:28 +08:00
RedMser
9cd30208d6
Improve SceneTreeEditor usability
...
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Zi Ye
d827b34ea8
Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
2024-03-24 15:12:11 -05:00
Adam Scott
44d3ce2c11
Add browse folder and browse file icons
2024-03-12 09:57:59 -04:00
Abel Toy
882441a0ad
Support Array and PackedArray in @export_*
2024-03-06 16:17:54 +09:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
ajreckof
a8173439ef
Fix paste Value can empty a dictionary depending on right-click location
2024-02-26 06:53:40 +01:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
Yuri Sizov
635b8a1474
Split theme generation logic into several subroutines
...
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.
Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.
In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.
This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Aaron Franke
8a407ff82e
Use `set_value_no_signal` in editor property code
2023-12-18 11:47:03 -06:00
Yuri Sizov
7fbaefd244
Merge pull request #85723 from ilyabelow/84609-visual-shader-viewport-texture-error
...
Add a specific error when creating a ViewportTexture in a Texture2D node
2023-12-08 16:58:39 +01:00
Yuri Sizov
0481a0b8b3
Merge pull request #82528 from SaracenOne/path_types
...
Add support for exporting script classes without a name
2023-12-08 15:22:48 +01:00
ilyabelow
429f24e665
Add a specific error when creating a ViewportTexture in a Texture2D node in a Visual Shader
2023-12-04 15:16:43 +04:00
kobewi
4296f0a771
Fill remaining global scope constant descriptions
2023-11-13 15:17:10 +01:00
kobewi
aff49d3a76
Fix missing arrows in integer vector properties
2023-11-09 17:35:15 +01:00
Saracen
7559eb1667
Script path type support in editor:
...
Allow script path type hints to be used in drag and drop
and scene tree popup.
2023-11-08 00:18:40 +00:00
kobewi
0f755ce8d1
Don't check resource type assigned in property
2023-11-04 13:04:28 +01:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
Rémi Verschelde
7a0fc7e0c1
Merge pull request #75274 from KoBeWi/NodeTrail
...
Enhance NodePath property editing
2023-10-04 15:32:36 +02:00
kobewi
52b62921b0
Fix node icons appearing too big in some cases
2023-10-03 15:56:13 +02:00
kobewi
cf36afd9d2
Enhance NodePath property editing
2023-10-02 14:50:38 +02:00
Rémi Verschelde
563d225654
Merge pull request #82287 from jsjtxietian/fix-clear-error-when-unset-exported-typed-array-vai-editor
...
Fix can't unset exported typed array element when the type is set to Node
2023-09-26 08:31:01 +02:00