Commit Graph

16468 Commits

Author SHA1 Message Date
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 80b1cbbb63
Merge pull request #96582 from Giganzo/add-sun-and-env-with-shift
Fix shift clicking on Add Sun/Environment to Scene buttons
2024-09-05 17:44:33 +02:00
Rémi Verschelde 721852b325
Merge pull request #96579 from Hilderin/fix-selection-stuck-after-saving-scene
Fix selection stuck after saving scene
2024-09-05 17:44:30 +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
Rémi Verschelde f5aac22b10
Merge pull request #96530 from ev13bird/issue-96527
Fix instant transformations not being committed when used in succession
2024-09-05 17:44:15 +02:00
bruvzg 22b19c433f
[FileSystem Dock] Add option to show some unsupported files in the dock. 2024-09-05 18:29:29 +03:00
A Thousand Ships 62d98c6f02
[Editor] Fix handle ID being passed for 3D Gizmo plugins 2024-09-05 16:09:58 +02:00
kobewi bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +02:00
detomon 88f1b679f3 Prevent editing value on focus when `EditorSpinSlider` is read-only 2024-09-05 15:26:09 +02:00
ev13bird 060a1a0899 Fix instant transformations not being committed when used in succession
Also:
- Fix holding down keys repeatedly committing instant transformations, and disallow starting instant during non-instant
- Fix echoed inputs starting new instant transformations after clicking to confirm, and disallow left mouse release committing instant transformations
2024-09-05 21:34:31 +10:00
Giganzo 1b6af3acd3 Fix shift clicking on Add Sun/Environment to Scene buttons 2024-09-05 12:06:29 +02:00
Hilderin 151645a1b6 Fix editor layout reset on startup 2024-09-04 19:31:23 -04:00
Hilderin 613d4d10cb Fix selection stuck after saving scene 2024-09-04 19:12:30 -04:00
Rémi Verschelde b6223c0df0
Merge pull request #96571 from AThousandShips/fix_fave_crash
[Editor] Don't show popup when clicking empty in Favorites
2024-09-04 18:55:52 +02:00
Rémi Verschelde cb21a207b3
Merge pull request #96555 from dalexeev/doc-theme-items-deprecated-experimental
Docs: Add missing deprecated/experimental tag support for theme items
2024-09-04 18:55:49 +02:00
Rémi Verschelde 4ab358481b
Merge pull request #96340 from m4gr3d/update_pip_mode_options
[Android Editor] Update the options for launching the Play window in PiP mode
2024-09-04 18:55:35 +02:00
A Thousand Ships d2a8b330d8
[Editor] Don't show popup when clicking empty in Favorites 2024-09-04 17:37:43 +02:00
Thaddeus Crews 9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 -05:00
Rémi Verschelde c12d86a350
Merge pull request #96559 from Calinou/editor-animation-bezier-antialias-lines
Use antialiased line drawing in animation Bezier editor
2024-09-04 17:12:19 +02:00
Rémi Verschelde df44d6a2e7
Merge pull request #96551 from DCTewi/fix-editor-progress-error
Fix ProcessDialog errors appeared after rebuilding .NET project
2024-09-04 17:12:13 +02:00
Rémi Verschelde 0c707d4fd3
Merge pull request #96543 from Giganzo/visualshader-frame-title
Fix frame title popup position in the VisualShader editor
2024-09-04 17:12: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 8d120a5d08
Merge pull request #95965 from Hilderin/update-script-documentation-file-remove-on-startup
Update script documentation removed files on startup
2024-09-04 17:11:54 +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
Danil Alexeev 2dd043d1f6
Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +03:00
Hilderin 1c3bc2f980 Update script documentation removed files on startup 2024-09-04 06:12:22 -04:00
Giganzo 89c009b105 Add ConfirmationDialog when clicking on % button in SceneTree 2024-09-04 12:08:32 +02:00
Hugo Locurcio ef35ca2d8f
Use antialiased line drawing in animation Bezier editor
This applies both to tangents and general line drawing, making the
animation Bezier editor match the Curve editor inspector.
2024-09-04 11:54:38 +02:00
Rémi Verschelde 906a4e9db9
Merge pull request #96525 from bruvzg/rem_gl_renderer_incl
Store GLES over GL status in the OS to avoid direct renderer includes in the editor.
2024-09-04 11:16:48 +02:00
Rémi Verschelde 3e8ebb9a99
Merge pull request #96554 from bruvzg/mac_title_dblc
[macOS] Make gaps between editor titlebar buttons unclickabe to prevent accidental window move/resize.
2024-09-04 11:16:45 +02:00
Rémi Verschelde 52838efaad
Merge pull request #95179 from DanielKinsman/profiler-target-fps
Add target fps editor setting to visual profiler
2024-09-04 11:16:39 +02:00
Rémi Verschelde 7881dc2b11
Merge pull request #94945 from ArshPanesar/fix-anim-player-root-crash
Fix `AnimationPlayer` crash when it's made the scene root
2024-09-04 11:16:36 +02:00
Rémi Verschelde 7f6e1693dd
Merge pull request #92407 from timothyqiu/section-dropping
Remove unused member variable in `EditorInspectorSection`
2024-09-04 11:16:28 +02:00
Arsh Panesar e905be8249
Fix `AnimationPlayer` crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.

Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.

This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.

Fixes #91043.
2024-09-04 10:45:07 +02:00
bruvzg 8009d7c6da
[macOS] Make gaps between editor titlebar buttons unclickabe to prevent accidental window move/resize. 2024-09-04 10:48:42 +03:00
DCTewi 5bfd8db7b7
Fix ProcessDialog errors appeared after rebuilding .NET project 2024-09-04 14:26:48 +08:00
Giganzo 7d78d753b5 Fix Set Frame Title popup position 2024-09-04 01:52:07 +02:00
Daniel Kinsman 5e04f0760a Add target fps editor setting to visual profiler
Use same max fps as project setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-04 09:47:26 +10:00
kobewi ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +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
Rémi Verschelde 13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde 514c564a8c
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
2024-09-03 16:14:08 +02:00
Rémi Verschelde d0a7dcd8c0
Merge pull request #96371 from KoBeWi/mentos
Improve dropping code in script editor
2024-09-03 16:14:02 +02:00
Rémi Verschelde d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde b104f21841
Merge pull request #96237 from KoBeWi/you_expected_path_to_even_less_bugs_branch_but_it_was_me,_dio
Fix Path2D splitting
2024-09-03 16:13:51 +02:00
Rémi Verschelde 79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
Rémi Verschelde 5a374548fa
Merge pull request #94263 from Arnklit/collapse_expand_remote_scene_view
Add Expand/Collapse Branch right click option to remote scene view
2024-09-03 16:13:41 +02:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
bruvzg d4e78b8db5
Store GLES over GL status in the OS to avoid direct renderer includes in the editor. 2024-09-03 16:11:59 +03:00
citizenl 6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
Rémi Verschelde f4cc60fe0c
Merge pull request #96446 from Hilderin/fix-missing-material-override-after-two-glb-reimports
Fix missing material override after two glb reimports
2024-09-03 11:43:56 +02:00
Rémi Verschelde 8eb106e318
Merge pull request #96388 from passivestar/quick-open-shortcut-conflict
[macOS] Fix Quick Open shortcut conflict
2024-09-03 11:43:45 +02:00
Rémi Verschelde 69888aabb8
Merge pull request #96179 from passivestar/mac-breakpoint-shortcuts
[macOS] Change breakpoint shortcuts to avoid conflicts
2024-09-03 11:43:31 +02:00
Rémi Verschelde 262c8da104
Merge pull request #95887 from bruvzg/sysinfo_drv
Update rendering driver name on fallbacks. Fix rendering driver/method in the editor system info.
2024-09-03 11:43:12 +02:00
Rémi Verschelde c282e17373
Merge pull request #94323 from Naros/GH-94322
Pass current value to `EditorInterface` node/property popups
2024-09-03 11:43:04 +02:00
Rémi Verschelde 5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +02:00
Rémi Verschelde 866099684c
Merge pull request #92667 from Hilderin/fix-addon-requires-editor-restart
Fix Addon requires editor restart to become functional
2024-09-03 11:42:52 +02:00
Chris Cranford 9122be6474 Pass current value to `EditorInterface` node/property popups 2024-09-03 00:54:55 -04:00
Hilderin 7dd235905e Fix Addon requires editor restart to become functional 2024-09-02 16:54:45 -04:00
Rémi Verschelde 7cd095dea1
Merge pull request #96401 from SaracenOne/filter_improvement
Enforce correct type for silhouette filter.
2024-09-02 18:08:12 +02:00
Rémi Verschelde 36f95ef3db
Merge pull request #95815 from DeeJayLSP/qoa-def
ResourceImporterWAV: Enable QOA compression by default
2024-09-02 18:08:03 +02:00
Kasper Arnklit Frandsen 88a866fb5a Add separate timeline snapping control to Animation Editor 2024-09-02 15:57:50 +02:00
Rémi Verschelde 71091f14ac
Merge pull request #96428 from SaracenOne/timeline_display_fix
Fix overlapping in animation timeline display.
2024-09-02 12:13:53 +02:00
Rémi Verschelde 1474bd7401
Merge pull request #96411 from larspet/uv-editor-error
Fix Polygon2D UV editor error when opening grid settings
2024-09-02 12:13:46 +02:00
Rémi Verschelde 3801b354bf
Merge pull request #96363 from Hilderin/fix-no-unsaved-indicator-save-as-resource
Fix no unsaved indicator Save As resource
2024-09-02 12:13:23 +02:00
Rémi Verschelde d06579f47a
Merge pull request #96260 from basicer/preview-keep-looking
Keep looking when a preview plugin returns an empty image.
2024-09-02 12:13:16 +02:00
Rémi Verschelde 7795849908
Merge pull request #96013 from passivestar/keyframe-navigation
Allow jumping to previous/next keyframe in animation player
2024-09-02 12:13:00 +02:00
Rémi Verschelde 2312345be8
Merge pull request #94698 from aaronp64/current_gizmos_hashset
Improve time to close scene with many 3D gizmos
2024-09-02 12:12:51 +02:00
Rob Blanckaert 28e7069ee0 Keep looking when a preview plugin returns an empty image.
EditorResourcePreviewGenerator::_generate says that
"Returning an empty texture is an OK way to fail and
let another generator take care."

This patch enables that behavior.
2024-09-01 15:17:49 -07:00
Giganzo edba5edcb8 Fix Make floating tooltip mention screen selector 2024-09-02 00:00:14 +02:00
Hilderin 79d0254a2d Fix missing material override after two glb reimports 2024-09-01 17:12:15 -04:00
bruvzg c273786758
Update rendering driver name on fallbacks. Fix rendering driver/method in the editor system info. 2024-09-01 18:22:40 +03:00
Ainsley Su 57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +02:00
Saracen 32e1143bfc Fix overlapping in animation timeline display. 2024-09-01 09:41:19 +01:00
passivestar a7abbe5e9e Allow jumping to previous/next keyframe in animation player 2024-09-01 04:57:58 +04:00
Lars Pettersson 5a0a0257e1
Fix Polygon2D UV editor error when opening grid settings 2024-08-31 23:22:48 +02:00
Saracen 107f2aea88 Enforce correct type for silhouette filter. 2024-08-31 20:35:09 +01:00
passivestar 8befcc1113 [macOS] Fix Quick Open shortcut conflict 2024-08-31 18:08:23 +04:00
A Thousand Ships 194bdde947
Cleanup of raw `nullptr` checks with `Ref`
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Hilderin b97c128b34 Fix no unsaved indicator Save As resource 2024-08-31 08:47:35 -04:00
kobewi 731fd1f0b9 Improve dropping code in script editor 2024-08-31 11:35:59 +02:00
DeeJayLSP d3b51c4efb ResourceImporterWAV: Enable QOA compression by default 2024-08-31 00:42:56 -03:00
Rémi Verschelde 6489013675
Merge pull request #96331 from timothyqiu/offline-templates
Disable export template downloading in offline mode
2024-08-30 23:38:06 +02:00
Rémi Verschelde 52d1b0be4a
Merge pull request #96328 from object71/fix-animation-snap-96159
Add `modf` function and fix animation editor snap behavior
2024-08-30 23:38:02 +02:00
Rémi Verschelde 51d524b9a1
Merge pull request #96269 from Giganzo/floating-window-corner-radius
Fix floating window corner radius
2024-08-30 23:37:53 +02:00
Rémi Verschelde 77bc419071
Merge pull request #96174 from DeeJayLSP/wav-docs
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 23:37:50 +02:00
Rémi Verschelde 7753900638
Merge pull request #91599 from dnllowe/realtime-animation-player-property-updates
Update AnimationPlayer in real-time when keyframe properties change
2024-08-30 23:37:42 +02:00
DeeJayLSP 5a50b3a6c5 WAV stream/importer: Improve compression/loop names and descriptions 2024-08-30 16:31:57 -03:00
passivestar 8ff190b065 Fix dock width not respecting editor scale 2024-08-30 22:00:36 +04:00
Fredia Huya-Kouadio 11d4df4bc3 Update the options for launching the Play window in PiP mode 2024-08-30 10:31:33 -07:00
Hristo Iliev fcc8518bce Add modf function and fix snap behavior
Fixes #96159
2024-08-30 17:49:57 +03:00
Haoyu Qiu 5e473b8584 Disable export template downloading in offline mode 2024-08-30 22:17:36 +08:00
Rémi Verschelde ed8baa378a
Merge pull request #96236 from kleonc/scene_tree_dock_fix_trying_to_remove_internal_node
Fix `SceneTreeDock` invalid state after trying to remove internal Node
2024-08-30 11:43:09 +02:00
Rémi Verschelde 1e57671718
Merge pull request #90130 from KoBeWi/erased_from_history
Expose EditorUndoRedoManager's `clear_history()`
2024-08-30 11:42:58 +02:00
Rémi Verschelde 7f86ca057a
Merge pull request #96308 from SaracenOne/attempt_to_reset_imported_scene
Attempt applying RESET pose during import.
2024-08-30 09:59:59 +02:00
Rémi Verschelde 84ad611565
Merge pull request #96280 from CreatedBySeb/fix-tileset-scattering
Fix TileSet Scattering setting vanishing when changing tools
2024-08-30 09:59:43 +02:00
Rémi Verschelde 228a4e7a1d
Merge pull request #96212 from Maran23/theme-type-dialog-navigatable
Make `ThemeTypeDialog` List navigatable when the `LineEdit` has focus
2024-08-30 09:59:30 +02:00
Rémi Verschelde b128e71383
Merge pull request #96208 from m4gr3d/cleanup_immersive_logic
Restore fullscreen toggle menu for the Android editor and clean up the immersive mode logic
2024-08-30 09:59:27 +02:00
Rémi Verschelde 909629d9f9
Merge pull request #96166 from AThousandShips/more_lock_raii
Use `MutexLock` in more places
2024-08-30 09:59:19 +02:00