Commit Graph

12114 Commits

Author SHA1 Message Date
Rémi Verschelde 0b1c4006a2
Merge pull request #71965 from Calinou/input-editor-fix-typos
Fix typos in input action editor key type names
2023-01-27 19:26:20 +01:00
Hugo Locurcio 6f6914b29d
Fix typos in input action editor key type names
This also makes those strings localizable.
2023-01-27 16:09:00 +01:00
Rémi Verschelde 77af1a5589
Merge pull request #72171 from KoBeWi/editor_censorship
Fix filtering editor nodes in Create Dialog
2023-01-27 15:41:10 +01:00
Rémi Verschelde 525db733c8
Merge pull request #72129 from groud/unclamp_texture_origin
Rename texture_offset and unclamp it
2023-01-27 15:40:52 +01:00
bitsawer 0acaccebaf Fix several shader preprocessor include issues 2023-01-27 14:37:55 +02:00
kobewi 970f5533dd Fix filtering editor nodes in Create Dialog 2023-01-27 12:26:26 +01:00
Rémi Verschelde 9d555f5c68
Merge pull request #62499 from fire/gltf-binary-img-compression
Handle gltf binary images
2023-01-27 11:35:55 +01:00
Gilles Roudière d7f3bd50bd Rename texture_offset and unclamp it 2023-01-27 11:04:45 +01:00
K. S. Ernest (iFire) Lee 39922d7167 Handle gltf binary
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ]

Enable compressed mip maps from Basis Universal for faster compressions.

Increase the quality of Basis to avoid corruption.

To keep compatibility use the first mip of the previous internal Godot format.

Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27 02:02:02 -08:00
Rémi Verschelde bd1df0f2e3
Merge pull request #71943 from paulloz/debugger/better-errors-printing
Better error display in debugger panel
2023-01-27 10:32:38 +01:00
Rémi Verschelde 91c0ed5e33
Merge pull request #71907 from TokageItLab/change-animated-sprite-api
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-27 10:32:23 +01:00
Paul Joannon c93eec4139
Better error display in debugger panel
- Use the right stack frame info as title of the error.
- Use the actual C# exception type as error for exceptions raised from C#.
- Show the right language instead of always **C++ Error**.
2023-01-27 10:01:55 +01:00
bruvzg 4f1c2fce3a
[SSH deploy] Run ssh/scp in non interactive mode, and suppress banner display. 2023-01-27 10:24:15 +02:00
Rémi Verschelde 48f53abdce
Merge pull request #71874 from KoBeWi/relesetc
Reselect signal after tree update
2023-01-27 00:20:49 +01:00
Rémi Verschelde 3b086aa062
Merge pull request #72086 from KoBeWi/set_rekt
Don't change region_rect when setting texture
2023-01-26 23:52:19 +01:00
Rémi Verschelde cf8fc5c9a4
Merge pull request #71883 from MinusKube/script-editor-members-real-bug
Remove coupling between ConnectDialog and selected signal
2023-01-26 23:51:56 +01:00
MinusKube cf46404082 Fix signal disconnect undo not working 2023-01-26 23:04:59 +01:00
MinusKube cc7351cd10 Remove coupling between ConnectDialog and selected signal 2023-01-26 23:04:54 +01:00
kobewi b5fda06f20 Don't change region_rect when setting texture 2023-01-26 23:02:26 +01:00
Rémi Verschelde 5d18a0e829
Merge pull request #72124 from YuriSizov/gui-stylebox-texture-is-just-stylebox
Remove size restrictions from `StyleBoxTexture`
2023-01-26 22:59:41 +01:00
Rémi Verschelde 91ad92657e
Merge pull request #69689 from smix8/navagent_rename_location_4.x
Rename Navigation uses of 'location' to 'position'
2023-01-26 22:57:03 +01:00
Rémi Verschelde 619604093f
Merge pull request #71725 from bruvzg/mac_mpass_title
[macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title.
2023-01-26 22:49:38 +01:00
smix8 bf1571979c Rename Navigation uses of 'location' to 'position'
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-26 18:19:03 +01:00
Yuri Sizov 9b7124b49c Remove size restrictions from StyleBoxTexture 2023-01-26 17:11:37 +01:00
Rémi Verschelde 2151f23d85
Merge pull request #72113 from KoBeWi/file_a_bug_report
Add file hint to external program paths
2023-01-26 16:00:30 +01:00
kobewi 65d729e22e Add file hint to external program paths 2023-01-26 13:43:04 +01:00
Fredia Huya-Kouadio ec4d720850 Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game
The issue was caused because the running game pid was not set, and thus had a value of `0`. When trying to stop the running game, the `EditorRun::stop()` logic would kill the process with pid 0, which on Android corresponds to the running app's own process, thus causing the editor to crash.
This issue did not happen on Godot 3 because pid with value of `0` are not considered valid.
2023-01-26 02:59:39 -08:00
Silc Renew 17bf6238fc Make AnimatedSprite's playback API consistent with AnimationPlayer 2023-01-26 12:40:19 +09:00
Rémi Verschelde f902bff9a5
Merge pull request #72085 from KoBeWi/picky_picker
Connection dialog tweaks
2023-01-26 01:11:49 +01:00
Rémi Verschelde 9b66b07c31
Merge pull request #72060 from MewPurPur/zoom-widget-click-areas-fix
Usability improvements to the Zoom Widget
2023-01-26 01:10:37 +01:00
Rémi Verschelde 04591379d0
Merge pull request #72043 from SaracenOne/animation_tree_crashfix
Fix crash when switching to a different node from AnimationTree
2023-01-26 01:08:35 +01:00
Rémi Verschelde aeac5a80af
Merge pull request #72050 from groud/flow_tilemap_toolbar
Make TileMap toolbar a FlowContainer
2023-01-26 01:07:48 +01:00
kobewi 24134710dd Connection dialog tweaks 2023-01-26 00:35:59 +01:00
VolTer a5479d3030 Usability improvements to the Zoom Widget 2023-01-25 20:21:51 +01:00
Danil Alexeev b004f8180e
GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
Gilles Roudière 156c4cbcb8 Make TileMap toolbar a FlowContainer 2023-01-25 16:27:28 +01:00
SaracenOne f424a748ff Fix crash when switching to a different node from AnimationTree 2023-01-25 14:36:19 +00:00
Rémi Verschelde 6369196b96
Merge pull request #71284 from SaracenOne/state_machine_editor_extra_info
Transition progress display in Animation State Machine Editor
2023-01-25 12:18:31 +01:00
Rémi Verschelde cb6dea8513
Merge pull request #65419 from SaracenOne/tileset_read_only
Add read-only mode to tileset editor
2023-01-25 12:18:08 +01:00
Rémi Verschelde 5f335a7879
Merge pull request #72020 from vmedea/tile-editor-thread-fix
Fix: use the right tile_set in TilesEditorPlugin::_thread
2023-01-25 11:59:39 +01:00
Rémi Verschelde fc400d1562
Merge pull request #71685 from groud/gesture_into_viewpanner
Add gesture to ViewPanner and simplify a bit its API
2023-01-25 11:59:11 +01:00
SaracenOne 02a82c9531 Add indicator for state machine transition fade progress and position of state transitioning from. 2023-01-25 10:17:55 +00:00
SaracenOne f5d1cf57bd Add read-only mode to tileset editor. 2023-01-25 09:50:54 +00:00
mara 655b32187f Fix: use the right tile_set in TilesEditorPlugin::_thread
Instead of using the class member, use the item's tile set, as is
the intent.

This fixes an almost immediate crash in the editor for me.
2023-01-25 10:00:25 +01:00
Rémi Verschelde 5743c17001
Merge pull request #71904 from Chaosus/vs_custom_nodes
Add handling of script creation/deletion for custom visual shader nodes
2023-01-25 09:20:26 +01:00
Rémi Verschelde 1f98ed6016
Merge pull request #72011 from SaracenOne/inherited_scene_fix
Fix path for unsaved inherited scenes
2023-01-25 09:20:01 +01:00
Rémi Verschelde 5b77a0deba
Merge pull request #66313 from KoBeWi/connecting_methodically
Add method picker to signal connect dialog
2023-01-25 09:17:27 +01:00
Rémi Verschelde fd66a86d72
Merge pull request #71330 from Geometror/richtextlabel-fit-content
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-25 09:16:38 +01:00
SaracenOne fc74cbe835 Fix path for unsaved inherited scenes. 2023-01-25 03:06:59 +00:00
Aaron Franke 0e7785333f
Improve clarity of Tree's activated/double-clicked signals
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-24 15:55:09 -06:00
Yuri Sizov fab9926a95
Merge pull request #65137 from dalexeev/editor-naming
Rearrange `editor/naming/*` project settings
2023-01-24 22:26:03 +03:00
kobewi 1d062e8538 Add method picker to signal connect dialog
Co-authored-by: Sam Pengilly <sam.pengilly@gmail.com>
2023-01-24 20:11:48 +01:00
jordi bb9a00889a Add hint for identifiers renamed since Godot 3 2023-01-24 12:33:55 -06:00
Rémi Verschelde 885cb808db
Merge pull request #65302 from KoBeWi/middle_click_of_exasperation
Remove middle click shortcut to open scene tab
2023-01-24 09:44:46 +01:00
SaracenOne 1594b6ffaf Improve editor handling of Skeleton3D nodes with zero bones.
Explicit warnings about creating physical skeletons
Silence errors from gizmos for 0 bone Skeleton3D nodes
More consistent naming for bone_count variables
2023-01-24 08:15:24 +00:00
Rémi Verschelde 3ef8d3e4e8
Merge pull request #71937 from coppolaemilio/resize-bonemaphuman-icons
Replace 1024x1024 BoneMapHuman SVGs by 256x256 versions
2023-01-23 22:33:24 +01:00
Rémi Verschelde 1dfd236f15
Merge pull request #70377 from dsnopek/server-export-mk2
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 22:13:28 +01:00
Emilio Coppola 99955d72e7 Replace 1024x1024 BoneMapHuman svgs by 256x256 versions 2023-01-23 20:44:39 +01:00
David Snopek 74458b6e9b Add "dedicated server" export mode which can strip unneeded visual resources 2023-01-23 13:24:54 -06:00
bruvzg 15dafc49d3
[TextServer] Fix ICU data loading and exporting with `internationalization/locale/include_text_server_data` setting. 2023-01-23 21:13:32 +02:00
Gilles Roudière a3b431b09d Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00
Rémi Verschelde 1f22c482e1
Merge pull request #70052 from bruvzg/key_unicode_actions
Cleanup and unify keyboard input.
2023-01-23 15:36:11 +01:00
Rémi Verschelde 11e2278844
Merge pull request #57606 from SaracenOne/update_on_reimport
Update instances of scenes which have been reimported.
2023-01-23 15:35:44 +01:00
Rémi Verschelde 0927e2cffc
Merge pull request #63251 from SaracenOne/disable_data_generation_on_foreign_resources
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-23 15:35:31 +01:00
kobewi 0d90b46b97 Fix plugins over not working 2023-01-23 14:19:42 +01:00
bruvzg daad4aed62
Cleanup and unify keyboard input.
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes.
- Unify IME behaviour, add inline composition string display on Windows and X11.
- Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events.
- Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS.
- Add support for media key handling on macOS.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23 15:08:12 +02:00
Yuri Rubinsky 6713e0fa5b Add handling of script creation/deletion for custom visual shader nodes 2023-01-23 15:30:17 +03:00
Rémi Verschelde 9937915ad7
Merge pull request #70548 from MewPurPur/fix-some-gradient-jank
Fix Gradient Editor bugs
2023-01-23 12:26:45 +01:00
Rémi Verschelde d065281bc0
Merge pull request #59081 from Sauermann/fix-cursorshape-canvasitemeditor
Use get_cursor_shape for identifying the cursor shape in CanvasItemEditor
2023-01-23 12:26:35 +01:00
VolTer b7b4133429 Fix Gradient Editor bugs 2023-01-23 12:05:14 +01:00
Rémi Verschelde 1891d9fdf1
Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-US
Convert en_GB spelling to en_US with codespell
2023-01-23 11:08:55 +01:00
Rémi Verschelde 37205964b6
Merge pull request #71441 from KoBeWi/warp_2_scan
Improve performance of imported file scan
2023-01-23 11:07:44 +01:00
Rémi Verschelde 5b1df48c6c
Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
Rémi Verschelde db23d7a47c
Merge pull request #71885 from KoBeWi/NullItemEditor
Fix handling of nulls in some editors
2023-01-23 10:24:46 +01:00
Rémi Verschelde 7d604535e1
Merge pull request #71828 from geowarin/geowarin/master
Add keyboard shortcut for "Open in External Program" action
2023-01-23 10:24:28 +01:00
kobewi 80723d2537 Fix handling of nulls in some editors 2023-01-23 09:59:48 +01:00
PrecisionRender 38fb8259d0 Use selected node type for choosing editor tab
Use selected node type for choosing editor tab

Update editor/editor_node.cpp

Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-01-22 16:24:52 -06:00
kobewi b8493dca82 Reselect signal after tree update 2023-01-22 19:24:11 +01:00
Rémi Verschelde eaf306e0b1
Merge pull request #71864 from KoBeWi/drag_and_fail
Fix script editor drag and drop
2023-01-22 17:54:11 +01:00
Rémi Verschelde 5068d82374
Merge pull request #71686 from YuriSizov/stylebox-min-size-but-better
Clean-up, harmonize, and improve StyleBox API
2023-01-22 17:53:04 +01:00
Rémi Verschelde d9bac56f6f
Merge pull request #71859 from KoBeWi/nullptr.is_class()
Fix potential crash in EditorPlugin.edit()
2023-01-22 17:52:00 +01:00
kobewi 80b9d9537c Fix script editor drag and drop 2023-01-22 17:07:55 +01:00
Rémi Verschelde 0440b3cf0e
Merge pull request #71783 from Bartkk0/parse-check-deleted
Check if file was removed when parsing documentation
2023-01-22 16:08:05 +01:00
Rémi Verschelde 84aaa1e90e
Merge pull request #71849 from EricEzaM/fix-run-specific-scene-shortcut
Fix 'run specific scene' shortcut on Windows/non-Mac
2023-01-22 16:07:14 +01:00
kobewi 82f06542a5 Fix potential crash in EditorPlugin.edit() 2023-01-22 15:54:42 +01:00
Eric M 6fa4f43dee Fix 'run specific scene' shortcut on Windows/non-Mac 2023-01-22 20:31:31 +10:00
Rémi Verschelde c0f35a8db1
Merge pull request #71839 from TokageItLab/expose-fading-from-statemachine
Expose `fading_from` from StateMachine
2023-01-22 11:08:34 +01:00
Rémi Verschelde bda87300e8
Merge pull request #71770 from KoBeWi/better_editing_or_something
Rework EditorPlugin editing logic
2023-01-22 11:07:39 +01:00
Silc Renew 8b04f58604 Expose fading_from_node from StateMachine 2023-01-22 15:50:53 +09:00
Geoffroy Warin 38ba085116 Add keyboard shortcut for "Open in External Program" action 2023-01-22 01:40:48 +01:00
kobewi 4ae168eb04 Rework EditorPlugin editing logic 2023-01-22 00:20:45 +01:00
Rémi Verschelde c3539b4561
Merge pull request #70773 from KoBeWi/lector
Add range iterator to LocalVector
2023-01-21 20:53:29 +01:00
Rémi Verschelde c781537742
Merge pull request #68489 from KoBeWi/open_in_extraterrestrial_program
Add "Open in External Program" option
2023-01-21 20:53:04 +01:00
Rémi Verschelde 906ee0b219
Merge pull request #67253 from KoBeWi/PICKER_USAGE_NO_EDITOR
Remove editor dependencies from ColorPicker
2023-01-21 20:52:16 +01:00
Rémi Verschelde 229c82690d
Merge pull request #70294 from KoBeWi/treedulate
Add a method to get global modulate
2023-01-21 20:51:42 +01:00
kobewi 615c517034 Use range iterators in LocalVector loops 2023-01-21 18:44:42 +01:00
kobewi 60ed7c5004 Add "Open in External Program" option 2023-01-21 18:33:32 +01:00
Rémi Verschelde a6ddee9c00
Merge pull request #71814 from mihe/binary-resources-setting
Remove redundant definition of `convert_text_resources_to_binary`
2023-01-21 16:55:17 +01:00
Rémi Verschelde ebd0b40f6e
Merge pull request #71687 from reduz/support-script-class-name-in-efs
Support script global resource name in EditorFileSystem
2023-01-21 16:54:23 +01:00
Rémi Verschelde 5551eed499
Merge pull request #71806 from EricEzaM/71576-perspective-menu-perspectiveorthogonal-hotkey-display-inconsistency
Fix 3D editor Perspective/Ortho shortcut inconsistency
2023-01-21 16:53:53 +01:00