1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Commit Graph

2122 Commits

Author SHA1 Message Date
A Thousand Ships
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05: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
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde
a11364d1e6 Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
Rémi Verschelde
8a743f23e6 Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Hilderin
9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Rémi Verschelde
e237dd0691 Merge pull request #100408 from KoBeWi/pathdoom
Improve UID support for main scene
2024-12-17 16:19:19 +01:00
kobewi
62d4928e86 Improve UID support for main scene 2024-12-16 19:58:16 +01:00
Thaddeus Crews
02e196eb41 Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-16 12:09:57 -06:00
Thaddeus Crews
a7fa0528bb Merge pull request #100372 from Calinou/os-add-get-version-alias
Add `OS.get_version_alias()` to return a human-readable Windows/macOS version number
2024-12-16 12:09:40 -06:00
Aaron Franke
0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
Hugo Locurcio
928982891e Add OS.get_version_alias() to return a human-readable Windows/macOS version number
Windows 11's major version number is actually 10.x.x, which can be confusing
if you don't know about this quirk. `OS.get_version_alias()` avoids this
by displaying the "branding" version number and the build number as a suffix,
so that individual updates can still be distinguished from each other.

On macOS, `OS.get_version_alias()` returns the version number prepended
with the version name (e.g. Sequoia for macOS 15).

On other operating systems, this returns the same value as `OS.get_version()`.
2024-12-14 18:47:50 +01:00
Rémi Verschelde
e0cdba40fd Merge pull request #99453 from reach-satori/drag_to_filesystem_folder
Allow dragging to specific folders in filesystem dock
2024-12-14 18:25:33 +01:00
Pedro J. Estébanez
4f8dd96b3d Rationalize busy waits 2024-12-13 10:14:26 +01:00
Robert Yevdokimov
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
Thaddeus Crews
15aa18bc92 Merge pull request #98675 from YeldhamDev/dont_be_shy_plugin
Fix certain editor plugins not showing when they should
2024-12-10 14:16:09 -06:00
Thaddeus Crews
bfc1d2f95f Merge pull request #96773 from tetrapod00/resource-save-popup
[Editor] Use toast (notification) instead of dialog when saving with no open scene
2024-12-10 14:15:42 -06:00
Michael Alexsander
b397add456 Fix certain editor plugins not showing when they should 2024-12-09 15:23:23 -03:00
Nông Văn Tình
e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
Thaddeus Crews
ef22b6fe82 Merge pull request #100030 from passivestar/mainmenu-valign
Fix vertical alignment of the main menu bar
2024-12-05 14:12:06 -06:00
passivestar
73f7e1379c Fix vertical alignment of the main menu bar 2024-12-05 05:27:34 +04:00
kobewi
b0cee57d81 Fix extensions when saving resource as 2024-12-03 22:54:54 +01:00
kit
4e1f534c1e Fix loading floating dock in single window mode
Fix restore_windows_on_load setting preventing loading layouts with floating docks
2024-12-01 14:06:22 -05:00
Thaddeus Crews
37c392ebc3 Merge pull request #96414 from SaracenOne/improve_animation_warnings
Improve behaviour of AnimationPlayer warnings.
2024-11-26 13:04:46 -06:00
Mateus Reis
6f76ef4bdd Allow dragging to specific folders in filesystem dock 2024-11-20 04:49:34 +02:00
A Thousand Ships
68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
Thaddeus Crews
a595ae2abb Merge pull request #97461 from lalitshankarchowdhury/better-replace
Improve "Replace in Files" dialog button text
2024-11-14 14:51:58 -06:00
kobewi
28e5b213ae Create .uid file when creating new Resource 2024-11-13 00:40:31 +01:00
tetrapod00
fcd32dcde6 [Editor] Use toast (notification) instead of dialog when saving with no open scene 2024-11-10 14:47:53 -08:00
Thaddeus Crews
925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
Michael Alexsander
16524a8a01 Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Thaddeus Crews
fa673be2b1 Merge pull request #91341 from bjornmp/NewMaster
Enforce custom nodes to keep their original type
2024-10-24 13:22:56 -05:00
Thaddeus Crews
da01b2a462 Merge pull request #98063 from TCROC/fix-headless-import
Fix Headless --import --quit crashes editor
2024-10-24 13:22:36 -05:00
bjornmp
06998a3927 Enforce that custom nodes keep their original type
Enforce that custom nodes and resources created via the "Create New Node" dialog, should permanently retain their original type (script). This means:

- Type continuity: It should be impossible for the user to (accidentally) clear the original script of a custom node that was created via the "Create New Node" dialog.

- Extensibility: The user should be able to extend custom types as usual (create a script that inherits the original type and replace the original script of that node with his own). However, if he then clears his extension-script from that node later on, the custom type should revert to its original script instead of becoming a non-scripted type.
2024-10-22 18:18:16 +02:00
Yevhen Babiichuk (DustDFG)
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
Bogdan Inculet
fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
Thaddeus Crews
5c00d0a54e Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 -05:00
Travis Lange
96ab05e89f clear addon_name_to_plugin ater unload_editor_addons because of memdelete 2024-10-08 14:06:45 -04:00
Rémi Verschelde
def5a04d06 Merge pull request #97543 from KoBeWi/to_edit_or_not_to_edit
Fix closing Theme Editor not actually closing it
2024-10-04 22:43:41 +02:00
Rémi Verschelde
aa4077338b Merge pull request #94880 from KoBeWi/never-before-seen_way_to_restart_editor
Call `restart_editor()` in `RUN_PROJECT_MANAGER`
2024-10-04 22:42:56 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
Stijn Hinlopen
06791e1acd New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
  - Added a grid view which has larger icons.
  - Added toggle to filter out files from addons.
  - Store history for each opened resource type.

New Editor settings for Quick Open:
  - Startup display mode (grid or list):
      - Determined by the requested resource type.
      - Whatever was last used.
  - Toggle to filter out files from addons (for persistence).

Notes
  - The dialog is now created once in EditorNode, and globally available for other components.
  - A fixed number of result scenes are instantiated, and reused based on query.
  - Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Lalit Shankar Chowdhury
b9ce6c9047 Improve "Replace in Files" dialog button text 2024-10-01 22:22:12 +05:30
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
kobewi
66d2b0fc6a Fix closing Theme Editor not actually closing it 2024-09-27 17:08:20 +02:00
Rémi Verschelde
2912cb9975 Merge pull request #97118 from mihe/patch-exports
Add ability to export patch packs
2024-09-26 12:45:42 +02:00
Mikael Hermansson
d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +02:00
Rémi Verschelde
fc960cdf80 Merge pull request #97013 from Hilderin/fix-load-errors-popup-empty
Fix empty load errors popup
2024-09-24 12:57:04 +02:00