1
0
Fork 0
Commit Graph

534 Commits

Author SHA1 Message Date
Thaddeus Crews e0c8de80a5
Merge pull request #107598 from ydeltastar/fix-nameless-audio
Fix audio name doesn't appear in exports of child classes of `AudioStream`
2025-07-01 17:57:55 -05:00
kobewi 4b9e65da73 Swap UID and path buttons 2025-06-20 16:18:21 +02:00
ydeltastar abecb3f261
Fix audio name doesn't appear in exports of child classes of AudioStream 2025-06-16 12:28:05 -03:00
kobewi a6d4faf9b4 Allow toggling UID display in path properties 2025-06-16 15:46:50 +02:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Lukas Tenbrink e2931a5c19 Make conversions from `NodePath` to `String` explicit. 2025-06-11 16:50:27 +02:00
Ryan 305befb482 Fix hint.radians_as_degrees on Vector2 and Vector4 editor properties 2025-06-06 21:52:33 -04:00
Haoyu Qiu 19226d77ed Improve Variant type menus in the editor 2025-05-28 23:05:34 +08:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
kobewi 076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Thaddeus Crews 1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
kobewi d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
Thaddeus Crews c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Dynamic-Pistol c8fed1e1d0 Add PROPERTY_HINT_INPUT_NAME
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
Thaddeus Crews ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Thaddeus Crews 409fe3c944
Merge pull request #102534 from ttencate/feature/drag_drop_into_array
Improve drag and drop into array property editors
2025-03-14 10:06:06 -05:00
Thaddeus Crews 0edb0e17f8
Merge pull request #103692 from Rindbee/fix-forcing-ViewportTexture-after-selecting-a-viewport-in-the-Pick-a-Viewport-popup
Fix forcing `ViewportTexture` after selecting a viewport in the "Pick a Viewport" popup
2025-03-13 08:57:37 -05:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Thaddeus Crews 3bc2821e26
Merge pull request #102372 from Rindbee/display-the-actual-used-theme-items-in-the-Inspector
Display the actual used theme items in the Inspector
2025-03-11 16:53:55 -05:00
Thomas ten Cate 36c1b019fa Highlight Node and NodePath properties as valid drop targets
This was already done for Resource properties; this just makes things
consistent.
2025-03-08 19:24:33 +01:00
A Thousand Ships 5113022dfe
Clean up some uses of `String::substr`
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
风青山 5257f3e770
Fix forcing `ViewportTexture` after selecting a viewport in the "Pick a Viewport" popup
This popup only pops up when a `ViewportTexture` (or its derived class) object is **just** assigned.
2025-03-06 21:03:34 +08:00
风青山 62aa4a6f9e
Make `EditorProperty` and its child EditorProperties behave more like sibling nodes
Let `EditorProperty::gui_input()` no longer handle mouse events that
occur in the child EditorProperty rect.
2025-02-28 07:40:04 +08:00
kobewi 012d47b089 Allow exporting variables of type Variant 2025-02-15 18:00:55 +01:00
kleonc 03bc116f6d Show enum property invalid value in inspector 2025-02-12 14:31:56 +01:00
Thaddeus Crews b934413657
Merge pull request #102518 from Giganzo/rectN-slider
Hide EditorSpinSlider slider for Rect2i
2025-02-07 14:50:36 -06:00
Giganzo 2a655acd5b Hide EditorSpinSlider slider for Rect2i 2025-02-07 03:37:57 +01:00
风青山 bef64baa18
Display the actual used theme items in the Inspector
Closes: godotengine/godot-proposals#4439.

Allows viewing the default values ​​of the currently used theme item
in the Inspector.

For theme item properties of resource type, editing the default
resource does not make sense. Use **Make Unique** to create a copy
before editing.
2025-02-07 07:29:30 +08:00
Giganzo d53dbaf81a Hide EditorSpinSlider slider for VectorNI 2025-02-05 23:27:33 +01:00
Hugo Locurcio 57700b0563
Make EditorSpinSlider display a slider for floats with a step of 1.0
Integers still don't display a slider (and use up/down arrows instead),
so that they can be quickly distinguished from floats in the inspector.

However, this now makes floats with a step of 1.0 look different
from integers in the inspector.
2025-01-22 23:03:01 +01:00
Lars Pettersson 3376ba6688
Don't instantiate `ColorPicker` in `EditorPropertyColor` constructor 2025-01-21 00:16:07 +01:00
Michael Alexsander 753900188a
Make Inspector search inside sub-resources 2025-01-06 12:30:55 -03:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Hugo Locurcio e4106f8d61 Show String properties' text in a tooltip in the inspector
This allows previewing single-line or multipline strings
that are too long too fit within the box in the inspector.
2024-12-04 01:24:14 +01:00
A Thousand Ships af56d6e8e8
Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
Rémi Verschelde 8d3fc48abf
Merge pull request #97521 from pafuent/enhance_scroll_container_focus
Add a focus border on `ScrollContainer`
2024-11-29 22:46:09 +01:00
Thaddeus Crews 0ee60dd543
Merge pull request #99516 from KoBeWi/quantum_entanglement_of_source_files
Untangle ColorPicker includes
2024-11-26 13:04:54 -06:00
Thaddeus Crews 185a86a87d
Merge pull request #98567 from ydeltastar/remote-pick
Fix `ColorPicker`'s remote synchronization when typing values
2024-11-26 13:04:42 -06:00
Pablo Andres Fuente 86ea0127a3 Add a focus border on `ScrollContainer`
Also added new unit tests for `Control`.

Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
kobewi 289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
kobewi 7fa39c0dbe Fix global paths in EditorPropertyPath 2024-11-18 12:25:48 +01:00
kobewi 5be53c36c0 Simplify some UID conversions 2024-11-14 23:22:59 +01:00
Thaddeus Crews ec6a1c0e79
Merge pull request #97912 from reduz/property-path-store-uid
Expose path properties save UID internally if referencing a resource
2024-11-11 14:18:41 -06:00
Thaddeus Crews 696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke 562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
yds 893ce62967 Fix `ColorPicker`'s remote synchronization when typing values 2024-10-26 18:41:16 -03:00