Commit Graph

16812 Commits

Author SHA1 Message Date
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
Chaosus
43a99fba3d Add alpha channel display to vec4 previews of visual shader nodes 2024-10-18 20:00:10 +03: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
Hunter Loftis
bbb8c1703b Fix freeze on non-thread-safe custom importers 2024-10-15 11:46:14 -04:00
bruvzg
e4b8cd2948
[Font Importer] Update Unicode block list to Unicode 16.0 2024-10-15 12:40:30 +03:00
Thaddeus Crews
03f6902c4a
Merge pull request #97560 from SaracenOne/fix_anim_library_popup
Fix positioning of popup menu in AnimationLibrary editor.
2024-10-14 14:09:59 -05:00
Thaddeus Crews
56ed76a372
Merge pull request #97582 from BlueCube3310/basisu-hdr
BasisU: Update to 1.50.0 and add HDR support
2024-10-14 14:09:57 -05:00
Thaddeus Crews
e15000eb45
Merge pull request #97833 from AtlaStar/Fix-issue-97832
Allow seconds snapping to use minimum intervals of 0.0001 once more
2024-10-14 14:09:55 -05:00
Thaddeus Crews
a7b4e67c79
Merge pull request #97996 from timothyqiu/rtl-arrow
Fix `ControlEditorPopupButton` arrow position in RTL language
2024-10-14 14:09:53 -05:00
Thaddeus Crews
e4dcef38e4
Merge pull request #97929 from timothyqiu/rtl-checkbutton
Fix `CheckButton` mirrored icon in editor theme
2024-10-14 14:09:50 -05:00
Thaddeus Crews
5c7059ec69
Merge pull request #97830 from BlueCube3310/teximport-hdr-lossless
Fix layered HDR texture import with lossless compression
2024-10-14 14:09:48 -05:00
Thaddeus Crews
a272d676ce
Merge pull request #96740 from ryevdokimov/collision_reposition
Use collision detection ray to reposition an object already in the scene
2024-10-14 14:09:43 -05:00
Thaddeus Crews
5c00d0a54e
Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 -05:00
BlueCube3310
200ed0971a BasisU: Update to 1.50.0 and add HDR support 2024-10-12 18:02:44 +02:00
HolonProduction
9ea357af20 Editor: Improve cylinder gizmos 🌈 2024-10-11 18:38:36 +02:00
Thaddeus Crews
92e51fca72
Merge pull request #97979 from BlueCube3310/fix-thumb-gen
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
Fix crash when creating thumbnails for 3d textures
2024-10-10 18:13:24 -05:00
Thaddeus Crews
e589074f69
Merge pull request #97940 from syntaxerror247/a_refreshing_bug
Refresh Filesystem Dock after android build template is created
2024-10-10 18:13:23 -05:00
Thaddeus Crews
168e605ad7
Merge pull request #97563 from SaracenOne/key_sub_paths
Fix keying of property subpaths.
2024-10-10 18:13:21 -05:00
Thaddeus Crews
9d5a7321a5
Merge pull request #95175 from KoBeWi/bruh_can_revert
Fix implementation of `property_can_revert()` in various classes
2024-10-10 18:13:16 -05:00
Derrick Melton
8c93e8667c Allow seconds snapping to use minimum intervals of 0.0001 once more
closes #97832, also clears up some of the naming conventions used. Confirmed that entering values when `seconds` is selected where the fractional part is less than 0.0001 floors, while fractional values greater than that are retained. Doesn't revert previous behaviors for FPS, which still clamp to the nearest 1/16.
2024-10-10 15:42:37 -07:00
kobewi
68341968f9 Fix wrong base directory when creating folder 2024-10-11 00:22:51 +02:00
BlueCube3310
203f7427c4 Fix crash when creating thumbnails for 3d textures 2024-10-09 12:34:19 +02:00
Haoyu Qiu
3a9f470543 Fix ControlEditorPopupButton arrow position in RTL language 2024-10-09 08:56:16 +08:00
Travis Lange
96ab05e89f clear addon_name_to_plugin ater unload_editor_addons because of memdelete 2024-10-08 14:06:45 -04:00
tetrapod00
12d2c05936 Add "Inspect Native Shader Code" to shader resource and shader editor 2024-10-08 11:02:45 -07:00
Anish Mishra
2323042e7b Refresh Filesystem Dock after android build template is created 2024-10-08 06:30:44 +05:30
ev13bird
ac77c95ee1 Add icon for Inspector dock context menu Show in FileSystem item 2024-10-08 02:09:53 +11:00
Haoyu Qiu
422aee7f32 Fix CheckButton mirrored icon in editor theme 2024-10-07 21:03:14 +08:00
Haoyu Qiu
ecb56fca26 Make EditorFileDialog's Recent and Fav list show full path in tooltip 2024-10-06 21:32:31 +08:00
Haoyu Qiu
8086894a8e Create .editorconfig file only on project creation 2024-10-05 14:32:55 +08:00
BlueCube3310
77dab88ef0 Fix 3D HDR texture import with lossless compression 2024-10-04 23:38:39 +02:00
Robert Yevdokimov
fb768a7118 Use collision detection ray to reposition an object already in the scene 2024-10-04 17:13:46 -04:00
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
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
Fix quick open background panel style
2024-10-04 22:44:00 +02:00
Rémi Verschelde
aaffffcd43
Merge pull request #97817 from bruvzg/prop_warn_remove
Partially revert #96780, remove warnings from project/editor settings `_get`.
2024-10-04 22:43:56 +02: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
e5688f51cb
Merge pull request #97292 from KoBeWi/infinite_submenus_in_your_editor
Add submenu support to EditorContextMenuPlugin
2024-10-04 22:43:38 +02:00
Rémi Verschelde
0c3ff561d7
Merge pull request #96615 from KoBeWi/run_as_administrator
Globally remember advanced toggle in project settings
2024-10-04 22:43:25 +02:00
Rémi Verschelde
c36c153c2b
Merge pull request #96379 from KoBeWi/wind_of_resource_changes
Add `_resource_changed()` helper method to EditorResourcePicker
2024-10-04 22:43:21 +02:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
Rémi Verschelde
b08a3d8978
Merge pull request #95149 from KoBeWi/inspector_mains
Don't fold resources when child of main inspector exits
2024-10-04 22:43:08 +02:00
Rémi Verschelde
fe31ede42d
Merge pull request #95034 from KoBeWi/take_a_problem_and_make_it_worse._solved
Close expanded tile editor when inspector updates
2024-10-04 22:43:02 +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
Rémi Verschelde
21353460f7
Merge pull request #88511 from ryevdokimov/offset-drag-to-instantiate-scene
Offset drag instantiated scenes that result in a collision by its bounds to mitigate overlap
2024-10-04 22:42:52 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
kobewi
4a747bdef9 Add _resource_changed() helper method to EditorResourcePicker 2024-10-04 22:29:43 +02:00
passivestar
08af57fb86 Fix quick open background panel style 2024-10-05 00:20:19 +04:00
bruvzg
794920b1ff
Partially revert 96780, remove warnings from project/editor settings _get. 2024-10-04 19:13:03 +03:00
Rémi Verschelde
428c4a6468
Merge pull request #97633 from ydeltastar/quickly-quick-open
Make the "Quick Open" dialog available via `EditorInterface`
2024-10-04 17:18:18 +02:00
yds
35b3999efc Make the "Quick Open" dialog available via EditorInterface 2024-10-04 11:36:17 -03:00
kobewi
7377ca8d7d Don't rescan filesystem when duplicating 2024-10-04 16:15:32 +02:00
Mounir Tohami
f84f734696 Expose LineEdit edit and unedit methods. 2024-10-04 10:37:33 +00:00
Rémi Verschelde
34920b45ef
Merge pull request #97747 from adamscott/ux-sun-angle
Improve UI of sun angle in the sun/preview env popup
2024-10-04 11:22:06 +02:00
Rémi Verschelde
783b15078d
Merge pull request #97585 from rsubtil/feature-dap_object_inspection
Support object inspection through DAP
2024-10-04 11:21:46 +02:00
Rémi Verschelde
b7ed7f7a16
Merge pull request #96850 from bruvzg/noto_cjk_lookup
[Editor] Try loading system Noto CJK font.
2024-10-04 11:21:24 +02:00
Ricardo Subtil
9dd7a8ae42 Bump DAP requests timeout to 5 seconds 2024-10-03 21:57:24 +01:00
Ricardo Subtil
0d098d3cca Support REPL expressions through DAP evaluate request 2024-10-03 21:28:38 +01:00
Ricardo Subtil
6aac039ee7 Support object inspection through DAP variables request 2024-10-03 21:28:38 +01:00
Rémi Verschelde
0f1c7e6b24
Merge pull request #97674 from jaydensipe/cancel-code-completion-and-hint-on-goto-line
Cancel code completion and code hint upon go-to line (bookmark, breakpoint, etc.)
2024-10-03 15:36:40 +02:00
Rémi Verschelde
45d3ea32f8
Merge pull request #97765 from bruvzg/gde_export_errors
[GDExtension] Improve error messages during export.
2024-10-03 15:27:27 +02:00
Rémi Verschelde
c8accdb276
Merge pull request #97569 from AtlaStar/fix-issue-97548
Allow fractional FPS values in Animation Editor
2024-10-03 15:27:20 +02:00
Rémi Verschelde
98deb2a000
Merge pull request #90400 from DarioSamo/transfer_and_pipelines
Ubershaders and pipeline pre-compilation (and dedicated transfer queues).
2024-10-03 15:27:11 +02:00
Rémi Verschelde
3b41f73105
Merge pull request #80473 from KoBeWi/they're_the_same_picture
Unify make dir and duplicate dialogs
2024-10-03 15:27:04 +02:00