Commit Graph

16768 Commits

Author SHA1 Message Date
Hugo Locurcio
d352bbcb46
Add "OpenGL 3", "GLES" and "Linux/*BSD" to editor property capitalization
This is required to capitalize the following settings:

- "Fallback to OpenGL 3" project setting
- "Fallback to GLES" project setting
- "Linux/*BSD" category in the Editor Settings
2024-10-26 16:24:00 +02:00
Thaddeus Crews
61accf0605
Merge pull request #97535 from HolonProduction/gizmo-cylinder
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Editor: Improve cylinder gizmos
2024-10-25 13:04:14 -05:00
Thaddeus Crews
a2e3473532
Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 -05:00
Thaddeus Crews
6ad513b0e8
Merge pull request #97090 from KoBeWi/secret_cloning_research
Don't rescan filesystem when duplicating
2024-10-25 13:04:03 -05:00
Thaddeus Crews
cd3c86d604
Merge pull request #90047 from ajreckof/fix-editing-exported-nodes-in-array-as-text
Fix editing exported nodes in array as text.
2024-10-25 13:04:00 -05:00
Thaddeus Crews
851516eeec
Merge pull request #97711 from EAinsley/fix#94718
Fix freeze when data chunk size in WAV header is larger than the actual size
2024-10-25 13:03:57 -05:00
Thaddeus Crews
de6814daae
Merge pull request #94108 from Calinou/obj-import-add-generate-lods-shadow-mesh-lightmap-uv2
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
2024-10-25 13:03:50 -05:00
Thaddeus Crews
cf313e4492
Merge pull request #96786 from passivestar/spin-slider-focus-fix
Fix EditorSpinSlider blocking viewport from getting focus
2024-10-25 13:03:47 -05:00
Thaddeus Crews
f8f7e42044
Merge pull request #93578 from Calinou/editor-filesystem-dock-context-add-shortcuts
Add default keyboard shortcuts to various actions in the FileSystem dock
2024-10-25 13:03:43 -05:00
Clay John
2a8869e0ac
Merge pull request #98323 from Calinou/advanced-import-settings-button-no-swap-ok-cancel
Don't swap Advanced Import Settings button position based on Swap OK Cancel
2024-10-24 19:13:55 -07:00
Hugo Locurcio
b8ee61f45d
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
This puts OBJ mesh import on parity with 3D scene import. It's now
possible to have the same level of optimization as imported 3D scenes
while using the OBJ mesh workflow.

`optimize_indices_for_cache()` is now always called on import as well,
similar to what the 3D scene import already does.
2024-10-25 02:48:42 +02:00
Thaddeus Crews
db60dcc4fb
Merge pull request #97277 from timothyqiu/meta-focus
Fix Add Metadata dialog not focusing name field by default
2024-10-24 13:23:06 -05:00
Thaddeus Crews
fd75707035
Merge pull request #78312 from Calinou/editor-add-markdown-highlighting
Add Markdown syntax highlighting to the script editor
2024-10-24 13:23:02 -05: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
7974ba57e9
Merge pull request #97199 from shahriarlabib000/popup
Fix `Sprite2D` dialog size for smaller screen device
2024-10-24 13:22:51 -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
Thaddeus Crews
3b70a96164
Merge pull request #96518 from Giganzo/popup-panel-style
Fix PopupPanel and PopupMenu menu styles
2024-10-24 13:22:34 -05:00
Ainsley Su
cd126a041e
No freezing when size in header is too large
Give warning if the size in header mismatch the actual file size. If
data chunk size is greater than the actual data size, try to import by
treating all the remaining data as data chunk and give warning to users.
2024-10-23 16:53:10 +02:00
Haoyu Qiu
e321faa59b Fix Add Metadata dialog not focusing name field by default 2024-10-23 08:18:13 +08: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
Thaddeus Crews
a4ed24acef
Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startup
Fix loss of gdextension on editor startup
2024-10-21 16:39:30 -05:00
Thaddeus Crews
77da16ce69
Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
Thaddeus Crews
291e4b78e2
Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactor
Don't include `core/io/image.h` in `core/os/os.h`
2024-10-21 16:39:15 -05:00
Thaddeus Crews
7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Thaddeus Crews
ecc2eb73fc
Merge pull request #97707 from Sauermann/fix-input-device-clash
Fix `InputEvent` device id clash
2024-10-21 16:39:10 -05:00
Thaddeus Crews
975f42227f
Merge pull request #97706 from lalitshankarchowdhury/fix-create-folder
Display proper message on invalid folder path
2024-10-21 16:39:10 -05:00
Thaddeus Crews
5fb22327ee
Merge pull request #97542 from AThousandShips/dict_sort_fix
[Core] Fix sorting of `Dictionary` keys
2024-10-21 16:39:05 -05:00
Danil Alexeev
be41e6f84e
Clarify EngineDebugger and EditorDebugger* documentation 2024-10-21 11:36:59 +03:00
Hilderin
fbd1643176 Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
2024-10-20 18:39:31 -04:00
Markus Sauermann
916d480686 Fix InputEvent device id clash
`InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the
same value `-1`.

Change value of `InputMap::All_DEVICES` so that it's different from
`InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION`
is part of the API and can't be changed without potentially breaking
projects.

Gather all special device constants in a single location inside
`InputEvent`.

Add a converter to project settings, that takes care of adjusting
project files during loading.
2024-10-20 21:56:41 +02:00
Giganzo
549bffdcbc Fix PopupPanel menu style 2024-10-20 13:26:45 +02:00
Hugo Locurcio
567db2ecb2 Don't swap Advanced Import Settings button position based on Swap OK Cancel
The "Advanced..." and "Reimport" buttons are not OK/Cancel buttons,
so they shouldn't be swapped according to the editor setting (which
itself is determined depending on the OS by default).
2024-10-18 23:28:11 +02:00
Hugo Locurcio
8e0c0d7837 Improve display for lightmap probes in the editor
- Use the default Back cull mode to improve performance slightly
  and prevent obstructing the camera.
- Fade probes when the camera gets close as to be less intrusive.
2024-10-18 22:52:50 +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
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
Clay John
4dd0b67ec9
Merge pull request #98254 from timothyqiu/marker-typos
Fix typos in `AnimationMarkerEdit`
2024-10-17 21:24:11 -07:00
Clay John
1435247de0
Merge pull request #98222 from timothyqiu/media-control-rtl
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Don't flip playback control buttons in RTL layout
2024-10-17 16:58:23 -07:00
Clay John
f6279ffd56
Merge pull request #97885 from timothyqiu/useful-tooltip
Make `EditorFileDialog`'s Recent and Fav list show full path in tooltip
2024-10-17 16:53:55 -07:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path 2024-10-17 13:06:48 +05:30
Haoyu Qiu
3d07fced0c Fix typos in AnimationMarkerEdit 2024-10-17 08:12:00 +08:00
David Giardi
ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00
Thaddeus Crews
324659f0ca
Merge pull request #97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse
Fix mouse clamping in Animation Bezier Editor box select
2024-10-16 14:16:04 -05:00
Thaddeus Crews
78dbd39d1e
Merge pull request #98196 from bruvzg/u16_list
[Font Importer] Update Unicode block list to Unicode 16.0
2024-10-16 14:16:03 -05:00
Thaddeus Crews
c032acb865
Merge pull request #98156 from jaydensipe/show-custom-icons-in-remote-scene-view
Show correct icons in remote object inspector (EditorDebuggerRemoteObject)
2024-10-16 14:16:00 -05:00
Thaddeus Crews
7f108cfa12
Merge pull request #88427 from CrayolaEater/fix-no-icons-on-remote-nodes
Fix Remote Nodes missing custom icons
2024-10-16 14:15:59 -05:00
Haoyu Qiu
9ed655d0eb Don't flip playback control buttons in RTL layout 2024-10-16 16:28:11 +08:00
Jayden Sipe
7261321d34 Show correct icons in EditorDebuggerRemoteObject 2024-10-15 16:40:16 -04:00
Allen Pestaluky
920fd47fa3 Fix CONTAINER_PROJECT_SETTING_TAB_RIGHT option of EditorPlugin to add to the right of all other tabs. 2024-10-15 15:32:14 -04:00
Bogdan Inculet
fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
bruvzg
e4b8cd2948
[Font Importer] Update Unicode block list to Unicode 16.0 2024-10-15 12:40:30 +03:00