Haoyu Qiu
818acb4290
Make editor use translation domains
...
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.
Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
...
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
matheusmdx
1eacd1fd0e
Fix is_inside_tree error when inspecting an Environment resource
2024-09-07 12:45:07 -03:00
Haoyu Qiu
8c5121d445
Remove duplicated read only checks in EditorSpinSlider
...
Also made read only checks in EditorSpinSlider's implementation to use
`read_only` directly for consistency.
2024-09-06 08:13:46 +08:00
Rémi Verschelde
88ed6af1e6
Merge pull request #96609 from detomon/prevent-changing-readonly-property
...
Prevent editing value on focus when `EditorSpinSlider` is read-only
2024-09-05 17:44:48 +02:00
Rémi Verschelde
ddef729fb2
Merge pull request #96569 from AThousandShips/fix_tree_button
...
[Editor] Prevent duplicate `Open in Editor` buttons in scene tree dock
2024-09-05 17:44:19 +02:00
detomon
88f1b679f3
Prevent editing value on focus when EditorSpinSlider
is read-only
2024-09-05 15:26:09 +02:00
Rémi Verschelde
3cc99d3e31
Merge pull request #95983 from bruvzg/win_fd_opt_fix
...
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-09-04 17:11:57 +02:00
Rémi Verschelde
de2f50777e
Merge pull request #95343 from Giganzo/unique-name-dialog
...
Add ConfirmationDialog when clicking on % button in SceneTree
2024-09-04 17:11:46 +02:00
A Thousand Ships
ab04d76e0e
[Editor] Prevent duplicate Open in Editor
buttons in scene tree dock
...
Duplicate buttons were added when editor description changed
2024-09-04 17:00:57 +02:00
Giganzo
89c009b105
Add ConfirmationDialog when clicking on % button in SceneTree
2024-09-04 12:08:32 +02:00
Rémi Verschelde
e2dd56bea7
Merge pull request #95902 from kitbdev/remove-forced-mouse-focus
...
Clean up Viewport's `forced_mouse_focus`
2024-09-03 17:38:17 +02:00
Marius Hanl
74f64aaf98
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
...
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
Rémi Verschelde
3db976bdb7
Merge pull request #95906 from larspet/change-2d-zoom
...
Add a zoom speed setting to the 2D editor
2024-08-27 16:55:02 +02:00
Rémi Verschelde
5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
...
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
David Giardi
e371587147
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-23 18:21:20 +02:00
bruvzg
ea252675aa
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-08-23 09:53:16 +03:00
Lars Pettersson
dfdf7ebcda
Add a zoom speed setting to the 2D editor
2024-08-23 07:13:16 +02:00
kit
307e40e873
Clean up Viewport forced_mouse_focus
2024-08-21 09:37:44 -04:00
kobewi
d917d88b5b
Disable text trimming in SceneTreeEditor
2024-08-21 11:08:33 +02:00
Rémi Verschelde
219eba940f
Merge pull request #94773 from Hilderin/fix-add-child-node-problem-no-auto-expand
...
Fix scene node selection problem when no auto expand
2024-08-19 14:33:53 +02:00
Hilderin
e46280dbb5
Fix scene node selection problem when no auto expand
2024-08-17 06:32:56 -04:00
Rémi Verschelde
0f9925c0f9
Merge pull request #95542 from KoBeWi/go_bind_yourself
...
Remove empty `bind_methods()`
2024-08-16 14:35:51 +02:00
Rémi Verschelde
6fd0076ac4
Merge pull request #95028 from kitbdev/fix-spin-slider-hidden
...
Fix EditorSpinSlider when hidden
2024-08-16 14:32:57 +02:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
Giganzo
eb96b7b850
Fix order of Lock and Group icons in SceneTree
2024-08-09 14:06:55 +02:00
kit
d357a7d0f9
Fix EditorSpinSlider when hidden
2024-08-01 12:14:56 -04:00
Rémi Verschelde
efae318304
Merge pull request #94053 from Hilderin/fix-toggle-last-opened-bottom-panel-after-restoring-to-side
...
Fix Toggle Last Opened Bottom Panel not working after restoring FileSystem Dock to the side
2024-07-17 11:42:55 +02:00
Rémi Verschelde
ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
...
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
Rémi Verschelde
383a6e4ef2
Merge pull request #94172 from jsjtxietian/open-save
...
Prevent confirm button being override to "Open" when in save file mode
2024-07-11 09:41:18 +02:00
jsjtxietian
4a4968f7d8
Prevent confirm button being override to "Open" when in save file mode
2024-07-10 19:49:03 +08:00
Yuri Rubinsky
af5fc8354b
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
2024-07-09 19:38:52 +03:00
passivestar
09f967bc00
Prevent node rename shortcut from stealing focus from controls
2024-07-09 16:29:35 +04:00
Hilderin
cf8378f426
Fix Toggle Last Opened Bottom Panel not working after restoring FileSystem Dock to the side
2024-07-07 17:52:19 -04:00
Hilderin
139288ca1e
Fix first time of Toggle Last Opened Bottom Panel opens Output panel
2024-07-07 12:11:37 -04:00
Rémi Verschelde
ed3eb6b643
Merge pull request #93544 from passivestar/validation-panel-label-alignment
...
Center the label of EditorValidationPanel
2024-06-24 17:49:07 +02:00
passivestar
4374761f76
Center the label of EditorValidationPanel
2024-06-24 15:22:02 +04:00
Anni Ryynänen
eed6f4fef4
Fix reselecting scene tree node after inspecting a resource
...
This broke when the `node_selected` connection was removed in #91435 .
Here it's returned, but the emit is removed from `_node_removed`. That
preserves the earlier fix while allowing nodes to be reselected.
2024-06-24 13:17:45 +03:00
Rémi Verschelde
d21812f49b
Merge pull request #93223 from passivestar/movie-button-colors
...
Allow theming movie writer button icon color
2024-06-20 16:18:27 +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
passivestar
70cdfc4c5e
Allow theming movie writer button icon color
2024-06-16 14:00:55 +04:00
passivestar
fccfda2706
Center the label in EditorObjectSelector
2024-06-13 15:50:17 +04:00
Rémi Verschelde
3092b0c6ea
Merge pull request #92648 from stephen-berry/GODOT-92513
...
Consistently display script icons for nodes in connect dialog's scene tree editor
2024-06-10 16:11:45 +02:00
Rémi Verschelde
553f77674c
Merge pull request #91265 from AeioMuch/fix_drop_reparent
...
Fix reparenting after hover delay
2024-06-10 16:11:34 +02:00
Stephen Berry
823b48ffa5
Consistently display script icons for nodes in connect dialog's scene tree editor
2024-06-10 16:06:45 +02:00
kit
9a2ffd74d3
Update Add Scene button after TabBar resizes
2024-06-06 14:59:15 -04:00