Commit graph

12347 commits

Author SHA1 Message Date
Silc Renew
8b3be51d17 Add remove immutable tracks option to glTF importer
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2023-01-30 08:57:27 +09:00
Silc Renew
df50929043 Tweak the name for duplicated animations in the editor 2023-01-30 07:53:42 +09:00
S.V.I. Vilcrow
3f17e606b2 Removed declarations of removed methods of the EditorPropertyRevert class.
The implementation of these methods was removed in 1806ec7c14.
2023-01-30 00:24:41 +03:00
kobewi
7669eea855 Tweak overrun behavior of EditorPropertyObjectID 2023-01-29 22:07:44 +01:00
kobewi
46261dbe06 Improve Connection Dialog method list 2023-01-29 15:28:07 +01:00
Rémi Verschelde
d866d6cd1b
Merge pull request #72261 from Paulb23/preserve-carets-search
Fixed removing secondary carets when editing with search open
2023-01-29 02:25:11 +01:00
kobewi
3f17bfad8d Fix editors potentially being used twice 2023-01-28 21:44:20 +01:00
Paulb23
8cb05a5e53 Fixed removing secondary carets when editing with search open 2023-01-28 16:08:10 +00:00
Paulb23
a197d6ef4e Support editing JSON in ScriptEditor 2023-01-28 16:06:13 +00:00
Rémi Verschelde
e5752fdfd3
Merge pull request #72233 from TokageItLab/audio-blending
Implement blending audio feature to AnimationTree
2023-01-28 15:58:24 +01:00
Rémi Verschelde
6a252c19cc
Merge pull request #72238 from timothyqiu/window-size-3to4
Add window size settings in 3to4 conversion
2023-01-28 15:58:00 +01:00
Paul Joannon
0fb1cef42f
Restore missing info in the error tooltips 2023-01-28 12:34:12 +01:00
JoJoX
ecba2e2d4e Apply root scale to shape on import 2023-01-28 12:32:03 +01:00
Silc Renew
75330887d7 Implement blending audio feature to AnimationTree 2023-01-28 20:08:29 +09:00
Haoyu Qiu
ec10da604f Add window size settings in 3to4 conversion 2023-01-28 17:54:55 +08:00
Fredia Huya-Kouadio
63c88df3f7 Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices 2023-01-28 00:21:05 -08:00
Yuri Rubinsky
2afa175195
Merge pull request #72174 from bitsawer/shader_include_fixes
Close undefined
Fix undefined
2023-01-28 09:54:41 +03:00
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
RedMser
386f62df96 Fix SplitContainer rendering and theming 2023-01-22 16:34:56 +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
Wesley Elliott
d0cdaadb32 Use path instead of file name when updating script classes
The _script_class_file_to_path contains a map of paths to classes, but
when updating the script classes for new class names, the file name is
used instead. This meant new classes weren't able to be used in exported
variables until the project is reloaded (as the
_script_class_file_to_path is initially set with the full path)

Fixes #70718
2023-01-22 12:30:55 +02:00
Rindbee
64edc7a5c2 Fix internal editor not updating when using external editor via LSP 2023-01-22 18:27:22 +08: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
Mikael Hermansson
760d3ea085 Remove redundant definition of convert_text_resources_to_binary 2023-01-21 15:22:37 +01:00
Juan Linietsky
dddd8d43f6 Support script global resource name in EditorFileSystem
* Works for binary and text files.
* Makes EditorQuickOpen work with custom resources again.
* Information is cached and easily accessible.

Properly fixes #66179. Supersedes #66215 and supersedes #62417

**WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21 14:19:27 +01:00
Eric M
4074c647e4 Fix 3D editor Perspective/Ortho shortcut inconsistency 2023-01-21 23:18:13 +10:00
Rémi Verschelde
c02572d3d0
Merge pull request #71683 from reduz/fast-script-class-inheritance-check
Implement a quick script inheritance check
2023-01-21 11:31:05 +01:00
Rémi Verschelde
adf109d806
Merge pull request #71345 from reduz/support-metadata-multi-node-edit
Support metadata in MultiNodeEdit
2023-01-21 11:28:59 +01:00
Eric M
9da04d8374 Fix shortcuts which have feature override defined reverting to default when user changes the shortcut to be same as non-overriden. 2023-01-21 16:40:03 +10:00
Bartkk
292b24bae0 Check if file was removed when parsing documentation 2023-01-21 04:42:44 +01:00
Rémi Verschelde
0b141e107f
Merge pull request #70913 from Maran23/4-x-some-more-missing-properties-to-godot-converter
Added more missing properties/methods to the Godot converter
2023-01-20 23:59:58 +01:00
Rémi Verschelde
9891aea85e
Merge pull request #71752 from vnen/no-gdc-export
Remove references to compiled GDScript in export
2023-01-20 23:59:07 +01:00
Rémi Verschelde
34851764a7
Merge pull request #71753 from Maran23/4-x-input-map-converter
Add InputMap conversion to Project Converter
2023-01-20 23:58:43 +01:00
Marius Hanl
e27695e927 Add more missing properties/methods to the converter.
icon_align -> icon_alignment
rect_min_size -> custom_minimum_size
get_tree().set_input_as_handled() -> get_viewport().set_input_as_handled()
_unhandled_key_input(event: InputEventKey) -> _unhandled_key_input(event: InputEvent)
And C# equivalents
2023-01-20 23:33:52 +01:00
Marius Hanl
61f9f4d2be Add InputMap conversion
All InputMap strings that changed between Godot 3 and 4 are now renamed when converting the project.

This includes:
- alt -> alt_pressed
- shift -> shift_pressed
- control -> ctrl_pressed
- meta -> meta_pressed
- scancode -> keycode
- physical_scancode -> physical_keycode
- doubleclick -> double_click
2023-01-20 19:26:13 +01:00
George Marques
7e5c2f945d
Remove references to compiled GDScript in export
This feature was removed from GDScript so it should not be present on
the interface nor in the saved export presets.
2023-01-20 15:09:07 -03:00
Rémi Verschelde
9f74f0f6c5
Merge pull request #71738 from akien-mga/remove-array-dict-propertyedit
Remove unused obsolete Array/DictionaryPropertyEdit
2023-01-20 17:52:07 +01:00
Jummit
18e4b06162 Support signals and callables in exposed dictionaries 2023-01-20 16:32:16 +01:00
Rémi Verschelde
fa3c4c8b2b
Remove unused obsolete Array/DictionaryPropertyEdit
This were long superseded by EditorPropertyArray/Dictionary.
2023-01-20 16:10:55 +01:00
Marius Hanl
99507d734c Grouped all 'New XXX...' operations in a 'New...' sub menu
This will reduce the height of the rather large context menu and gives us the possibility to add more 'New XXX...' operations in the future without cluttering the menu and thus making it taller.
2023-01-20 13:08:55 +01:00
Rémi Verschelde
bebd76954c
i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit b06d93aec6)
2023-01-20 12:32:03 +01:00
bruvzg
4b2323e030
[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-20 12:47:05 +02:00
Rémi Verschelde
28a24639c3
Merge pull request #48570 from Calinou/animation-editors-new-name
Tweak the name for new animations in the editor
2023-01-20 08:50:40 +01:00
Rémi Verschelde
ce1233dc52
Merge pull request #71688 from TokageItLab/clean-bsp2edit
Remove a duplicated unnecessary line from BlendSpace2DEditor
2023-01-20 08:48:07 +01:00
Rémi Verschelde
f3d7dddfad
Merge pull request #71071 from gshadows/project_converter_updates
Add missed OS window settings to project converter
2023-01-20 08:47:38 +01:00
Henrique Coura
b95219ef0f Fix SceneImportSettings perf issues 2023-01-19 18:48:21 -03:00
Rémi Verschelde
d919d77367
Merge pull request #71418 from TokageItLab/restart-anim-tree
Allow AnimationStateMachine / AnimationNode to restart when transitioning to the same state
2023-01-19 21:52:35 +01:00
Rémi Verschelde
65883cc73b
Merge pull request #71598 from bruvzg/gdscript_bidi_override
Implement BiDi override mode for GDScript source.
2023-01-19 19:33:18 +01:00
Rémi Verschelde
ab5c75b9ad
Merge pull request #71649 from raulsntos/array-indexer
Add property usage to array indexer
2023-01-19 19:33:05 +01:00
Rémi Verschelde
4ca6a9809d
Merge pull request #44596 from KoBeWi/🧹🧹🧹
Cleanup unused engine code v2
2023-01-19 19:32:51 +01:00
Silc Renew
f994535f09 Remove a duplicated unnecessary line from BlendSpace2DEditor 2023-01-20 03:23:12 +09:00
G-Shadow
7f3da3d714 Add missed OS window settings to project converter, fix fullscreen indents.
Add conversion for OS.window_maximized, vsync_enabled, window_resizable, window_borderless, get_screen_count and set_current_screen.
Fix OS.window_fullscreen conversion corrupted line indents.
2023-01-19 20:50:49 +03:00
Yuri Sizov
752402cf35 Clean-up, harmonize, and improve StyleBox API
- Make all margin properties follow the same naming convention (their getter and setter too).
- Remove a virtual counterpart of `get_style_margin` from API.
- Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19 20:02:21 +03:00
Juan Linietsky
3dcf380161 Implement a quick script inheritance check
Optimizes, simplifies and fixes EditorResourcePicker (was not refreshing custom clases).
2023-01-19 16:47:01 +01:00
Rémi Verschelde
14fdd28de9
Merge pull request #71673 from reduz/further-fixes-to-global-class-parsing
Further fixes to global script class parsing
2023-01-19 14:38:39 +01:00
Raul Santos
97610c8bfc
Add property usage to array indexer
This makes the `Array` indexer show as returning `Variant` instead of `void` in the documentation.
2023-01-19 14:22:11 +01:00
Juan Linietsky
c0a81b1a2c Further fixes to global script class parsing
Bugs were introduced on first parse by #71628

This should fix everything remaining. No errors of any type were observed.
2023-01-19 13:52:15 +01:00
Rémi Verschelde
6262c89b8c
Merge pull request #71664 from groud/solve_few_problems_with_tile_animations
Fix a few issues with tile animations
2023-01-19 13:23:52 +01:00
Rémi Verschelde
f6c662264e
Merge pull request #69288 from bruvzg/gde_low_level_funcs
[GDExtension] Expose some low level functions and String operators.
2023-01-19 13:23:45 +01:00
Rémi Verschelde
d3665effd5
Merge pull request #71443 from TechnoPorg/fix-resource-conversion-plugins
Make EditorResourceConversionPlugin usable.
2023-01-19 13:23:37 +01:00
Rémi Verschelde
00940d5569
Merge pull request #71662 from MarioLiebisch/fix-coff-obj-import
Avoid importing MSVC obj files
2023-01-19 13:23:19 +01:00
kobewi
c0083e431b Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
bruvzg
db7d8c2d87
[GDExtension] Expose some low level functions and String operators. 2023-01-19 12:50:49 +02:00
Gilles Roudière
ecb9c48b9f Fix a few issues with tile animations 2023-01-19 11:20:06 +01:00
Rémi Verschelde
4679f8724a
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
Clean up EditorFileSystem script parsing
2023-01-19 10:09:55 +01:00
Mario Liebisch
9ba5d31141
Avoid importing MSVC obj files
Currently Godot tries to import any file with the extension "obj" as a
Wavefront OBJ model in text format.

This will fail and potentially crash the editor, if the obj file is
actually binary, like a MSVC build artifact/object file.

While the COFF header at the start of the obj file is subject to change,
this change should cover all potential/typical target machines possible
right now.

This fixes #71656.
2023-01-19 09:49:28 +01:00
clayjohn
faea9f5c10 Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE
in favour of texture hints
2023-01-18 19:52:47 -08:00
Rémi Verschelde
d93b66ad4d
Merge pull request #71648 from clayjohn/ED-UV-scale
Use a fixed width of 1 pixel for editor debug UV drawing
2023-01-18 22:49:02 +01:00
clayjohn
d77b2feddd Use a fixed width of 1 pixel for editor debug UV drawing 2023-01-18 13:38:37 -08:00
Rémi Verschelde
825fd11d0c
Merge pull request #71627 from KoBeWi/big_dock
Increase default size of docks
2023-01-18 22:29:13 +01:00
Rémi Verschelde
35326d3dc5
Merge pull request #71626 from groud/fix_add_tileset_layer_undo
Fixes TileSet layer addition not being undoable
2023-01-18 22:28:48 +01:00
Juan Linietsky
5bdc0d97d3 Clean up EditorFileSystem script parsing
* Optimize only update modified/added/removed files.
* Clean up documentation parsing.
2023-01-18 20:56:45 +01:00
Silc Renew
e480262c53 Allow AnimationNodes to restart when transitioning to the same state 2023-01-19 03:10:59 +09:00
bruvzg
5361ec9f43
Implement BiDi override mode for GDScript source. 2023-01-18 19:22:20 +02:00
Rémi Verschelde
bcaf048f33
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
2023-01-18 17:40:13 +01:00
Rémi Verschelde
1f72530cac
Merge pull request #71618 from groud/fix_tileset_popup_wrong_position
Fix right-click on tilset atlas popup wrong position
2023-01-18 17:34:03 +01:00
Rémi Verschelde
54eebcca3b
Merge pull request #71580 from bruvzg/rem_dbg_btn
Disable remote debug button if no remote debug preset found.
2023-01-18 17:31:58 +01:00
kobewi
67baca5514 Increase default size of docks 2023-01-18 16:49:08 +01:00
Gilles Roudière
c1de6dc84b Fix right-click on tilset atlas popup wrong position
Fix similar bug in AnimationLibraryEditor
2023-01-18 16:14:11 +01:00
Gilles Roudière
8ecbef36bb Fixes TileSet layer addition not being undoable 2023-01-18 15:54:44 +01:00
bruvzg
d97e5863cb
Disable remote debug button if no remote debug preset found. 2023-01-18 09:59:51 +02:00
Rémi Verschelde
6119399fbd
Merge pull request #71582 from Calinou/advanced-import-settings-improve-actions-visibility
Improve visibility of Actions button in Advanced import settings dialog
2023-01-18 08:38:02 +01:00
Rémi Verschelde
9801bdb74a
Merge pull request #71025 from DarkMessiah/enable_column_clip_content
Enable column clip content in ConnectionDock and FilesystemDock
2023-01-18 08:36:10 +01:00
Hugo Locurcio
ebb6894652
Improve visibility of Actions button in Advanced import settings dialog 2023-01-17 22:27:06 +01:00
Rémi Verschelde
1d8e739a9d
Merge pull request #71563 from groud/limit_toaster_width
Limit toasts' width
2023-01-17 20:13:29 +01:00
Marius Hanl
2697e4ec1b Provide more information about the 'Support' filter when no result was found
Avoid possible confusion by showing more information about the 'Support' filter
2023-01-17 19:02:21 +01:00
Rémi Verschelde
ae766558f0
Merge pull request #71528 from snakept/missing-path-external-editor-error
Checking path variable if empty before opening external editor to fix…
2023-01-17 17:30:58 +01:00
Gilles Roudière
ae223e23a0 Limit toasts' width 2023-01-17 15:55:40 +01:00
Christoh Prenissl
85aa03baaf Checking path variable if empty before opening external editor to fix #71528 2023-01-17 15:07:15 +01:00
Rémi Verschelde
ee7beff3c4
Merge pull request #70630 from asmaloney/importer-crash-null-mesh-node
Fix crash in SceneImportSettings::_select when a mesh has a null mesh node
2023-01-17 15:00:01 +01:00
Rémi Verschelde
f3743e0890
Merge pull request #71545 from groud/fix_rect_draw_tileset
Fixes rectangle painting weird behavior when dragging outside the atlas area
2023-01-17 10:42:26 +01:00
Rémi Verschelde
b2e1ae6034
Merge pull request #71517 from groud/tile_data_editor_shortcut_consistency
Make keyboard shortcuts in tile data editors consistent with tilemap editor.
2023-01-17 10:40:10 +01:00
Gilles Roudière
6285d6e5f5 Fixes rectangle painting when dragging outside the atlas area 2023-01-17 10:30:07 +01:00
SaracenOne
4628736894 Update instances of scenes which have been reimported. 2023-01-16 13:46:33 -08:00
rsjtdrjgfuzkfg
0442a65656 obj: Avoid empty names and meshes
This commit updates the obj importer to properly name imported meshes and
permits it to skip meshes that do not contain geometry. This fixes at
least one crash and several warnings and avoids unnecessary meshes being
generated when importing obj files that do not contain geometry that is
not assigned to a named object (such as when exporting from Blender).
2023-01-16 20:55:59 +01:00
Gilles Roudière
21a88578e9 Make keyboard shortcuts in tile data editors consistent with tilemap editor. Fix a bug with collision shapes painting. 2023-01-16 18:50:11 +01:00
Rémi Verschelde
5ca6c1f9db
Merge pull request #70557 from KoBeWi/class_yeet
Move global script class cache to separate file
2023-01-16 12:49:08 +01:00
Rémi Verschelde
673d9c58fd
Merge pull request #69851 from dalexeev/fix-scaling-issue
Fix scaling issue in `draw_line` and similar methods
2023-01-16 12:48:22 +01:00
Rémi Verschelde
750dc4f906
Merge pull request #71369 from Calinou/editor-tweak-executable-file-filters
Tweak fbx2gltf file filter to remove naming restriction
2023-01-16 12:47:34 +01:00
Rémi Verschelde
d94a46ab95
Merge pull request #64021 from ajreckof/change-shortcut-for-rect-tool-tilemap
Add `Key::CTRL_OR_CMD` and use it to fix shortcut for tilemap painting tools on macOS
2023-01-16 12:47:07 +01:00
Danil Alexeev
a8cbb6245b
Fix scaling issue in draw_line and similar methods 2023-01-16 12:49:58 +03:00
Hugo Locurcio
ea7baa4fdb
Tweak fbx2gltf file filter to remove naming restriction
This relaxes the naming restriction on fbx2gltf binaries,
as people may be renaming them then wondering why they've disappeared
from the dialog unless they select "All Files (*)" as a filter.
2023-01-16 10:20:40 +01:00
kobewi
6444c7d127 Move global script class cache to separate file 2023-01-16 10:16:30 +01:00
Rémi Verschelde
0f0b853c98
Merge pull request #70668 from KoBeWi/never_give_up
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +01:00
Rémi Verschelde
f639f5096e
Merge pull request #71485 from adamscott/history-local
Save history when goto script line in the text editor
2023-01-16 09:25:39 +01:00
Rémi Verschelde
da57e0059e
Merge pull request #70504 from KoBeWi/the_choosen_antipattern
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
Rémi Verschelde
1424cd9e79
Merge pull request #59076 from Sauermann/fix-cursorshape-tilesetatlassourceeditor
Use get_cursor_shape for identifying the cursor shape in TileSetAtlasSourceEditor
2023-01-16 09:14:24 +01:00
ajreckof
fa528b86b6 replace the use of CTRL by CMD_OR_CTRL in three places where using CTRL prevented the use of the functionality on mac
on Mac CTRL + Left click = Right click therefore when a functionality needs CTRL + Left click it is not possible on mac. It then forcibly needs to be CMD on mac
2023-01-16 06:07:16 +01:00
kobewi
b58111588a Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
Adam Scott
0dc1bcb0c9 Save history when goto script line in the text editor. 2023-01-15 18:04:35 -05:00
Marius Hanl
e1e7237b9a Fix custom theme outline settings affects the editor theme as well
- font_outline_color and outline_size is now set in the default theme for every control using it
2023-01-15 22:43:27 +01:00
Rémi Verschelde
4f9bdf0639
Merge pull request #70701 from bruvzg/remote_debug_menu
Move remote debug buttons to a single menu.
2023-01-15 13:06:20 +01:00
Rémi Verschelde
0f2937ead1
Merge pull request #71229 from reduz/fix-recursive-resource-inclusion-check
Fix recursive resource inclusion check
2023-01-15 13:03:20 +01:00
TechnoPorg
2904d19069 Make EditorResourceConversionPlugin usable.
Previously, EditorResourceConversionPlugin nominally existed in scripting, but there was no way for a user to actually register one.
This PR adds methods to EditorPlugin for registering/unregistering EditorResourceConversionPlugins.
Additionally, it documents EditorResourceConversionPlugin with descriptions and a basic example.
2023-01-14 18:48:11 -07:00
kobewi
2cfab94fef Improve performance of imported file scan 2023-01-15 00:53:41 +01:00
Rémi Verschelde
cd3e03432a
Merge pull request #71410 from YuriSizov/docs-update-tutorial-links
Update all outdated online documentation links
2023-01-15 00:16:30 +01:00
Rémi Verschelde
4f631dc1b0
Merge pull request #71411 from Paulb23/new-textfile-global-path
Globalise path for New TextFile in FileSystemDock
2023-01-15 00:12:58 +01:00
bruvzg
5406b001ca
Move remote debug buttons to a single menu. 2023-01-14 22:25:35 +02:00
K. S. Ernest (iFire) Lee
132e95212f Fixes to ESCN importer
Convert mesh instance 3d to a mesh importer instance 3d to run importer code. Also does blend shapes.
2023-01-14 09:55:56 -08:00
Paulb23
659d9b0fa3 Globalise path for New TextFile in FileSystemDock 2023-01-14 16:43:33 +00:00
Yuri Sizov
4c1f11944e Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
Paulb23
b9f24f1586 Remove secondary carets when using FindReplaceBar 2023-01-14 15:58:56 +00:00
Fedor Shchukin
6f416ea104 Fix property revert doesn't revert selected fields 2023-01-14 17:39:21 +03:00
kobewi
59ea36b87c Remove set_drag_forwarding_compat() 2023-01-14 15:16:51 +01:00
Yuri Rubinsky
8180d38910 Fix node preview crashes after updating visual shader node 2023-01-14 14:08:00 +03:00
Rémi Verschelde
e97372068b
Merge pull request #71360 from bruvzg/progress_dialog_theme
Fix editor progress dialog theme update.
2023-01-14 00:42:36 +01:00
Rémi Verschelde
61c48f6910
Merge pull request #71321 from TokageItLab/stop-edit
Implement toggling pause / stop button to AnimationPlayerEditor
2023-01-14 00:09:43 +01:00
bruvzg
026002859b Fix editor progress dialog theme update. 2023-01-14 01:07:24 +02:00
Silc 'Tokage' Renew
e7d4361fae Implement toggling pause / stop button to AnimationPlayerEditor 2023-01-14 07:10:20 +09:00
clayjohn
ccaebcd5e0 Avoid crashing when custom GLSL shaders are imported when using the gl_compatibility renderer 2023-01-13 12:53:19 -08:00
Juan Linietsky
503d2d1cbf Support metadata in MultiNodeEdit
Small hack for metadata to work there (similar to existing script hack).
Does not appear within its own category, not sure if its worth hacking it (would need to be hacked in inspector).

Fixes #59604.
2023-01-13 19:10:19 +01:00
Rémi Verschelde
228db366bf
Merge pull request #70601 from vmedea/keep-terrain-choice
Keep terrain choice when changing layer in tilemap editor
2023-01-13 18:04:02 +01:00
Rémi Verschelde
3e5ee12555
Merge pull request #71335 from groud/fix_atlas_merging
Fixes TileSet atlas merging not working correctly
2023-01-13 18:03:53 +01:00
Rémi Verschelde
44f7392883
Merge pull request #65370 from SaracenOne/tileset_editor_visibility_fixes
Fix contextual visibility of tileset and tilemap editors (again)
2023-01-13 18:02:12 +01:00
Rémi Verschelde
4c2dea108e
Merge pull request #70540 from vaartis/multiline-arrays-dictionaries
Implement export_multiline support for Array[String] and Dictionary
2023-01-13 18:01:55 +01:00
Rémi Verschelde
787179dac8
Merge pull request #70148 from KoBeWi/remove_all_restrictions
Remove conditons for unfolding inspector sections
2023-01-13 18:00:45 +01:00
Rémi Verschelde
3dffe0b967
Merge pull request #63312 from bruvzg/one_click
[Export] Add one-click deploy over SSH for the desktop exports.
2023-01-13 18:00:18 +01:00
Gilles Roudière
28f6fcd68f Fixes TileSet atlas merging not working correctly 2023-01-13 16:50:12 +01:00
Hendrik Brucker
e59d6b1b8c [RichTextLabel] Match minimum size calculation of Label
(optional via fit_content property)
2023-01-13 15:17:26 +01:00
Eric M
7c73b6c71c Fix Project Settings array/dicts initial value being shared instances of the current value. 2023-01-13 21:48:43 +10:00
Haoyu Qiu
90d3efcaa5 Fix crash when clicking Edit Region after reopening the scene 2023-01-13 11:30:26 +08:00
Rémi Verschelde
7dfcd55567
Merge pull request #71152 from nongvantinh/fix-70981
Fix node name in the SceneTreeEditor allows a node to have no name
2023-01-13 00:39:20 +01:00
Rémi Verschelde
14cca21256
Merge pull request #71033 from scurest/obj-vertex-color
Add vertex color support to OBJ importer
2023-01-13 00:37:14 +01:00
Rémi Verschelde
f79c58aac5
Merge pull request #71209 from bruvzg/ed_progress_reparent
Automatically reparent editor progress dialog to avoid error spam.
2023-01-13 00:29:48 +01:00
Clay John
21893140eb
Merge pull request #71289 from RandomShaper/avoid_color_flash
Avoid color flash on window creation and resizing
2023-01-12 14:39:41 -08:00
Rémi Verschelde
c2790ec2b9
Merge pull request #68450 from KoBeWi/bracket_escapist
Allow to escape closing brackets in CFG tags
2023-01-12 21:53:15 +01:00
Pedro J. Estébanez
d0e37cd04c Add framework for avoidance of color flash in new windows 2023-01-12 21:42:51 +01:00
Rémi Verschelde
318af8f36c
Merge pull request #71272 from MewPurPur/fix-frame-selection
Fix the Frame Selection (Shift + F) functionality in the 2D editor
2023-01-12 20:08:31 +01:00
Rémi Verschelde
797fb296f0
Merge pull request #58517 from KoBeWi/size_matters
Add expand modes to TextureRect
2023-01-12 20:06:26 +01:00
VolTer
1fa5597520 Fix the Frame Selection functionality 2023-01-12 19:13:00 +02:00
Rémi Verschelde
def592114f
Merge pull request #70700 from vonagam/fix-abstract-extends
GDScript: Fix extending abstract classes, forbid their construction
2023-01-12 17:19:51 +01:00
kobewi
dfc4367a47 Add expand modes to TextureRect 2023-01-12 17:06:03 +01:00
Dmitrii Maganov
274d49790d GDScript: Fix extending abstract classes, forbid their construction 2023-01-12 17:47:10 +02:00
Fabio Alessandrelli
9a59c0a47c [Editor] Fix missing "debug"/"release" export presets feature tags.
So the same code can be used in editor and debug exports ("release" is
kept for consistency).
2023-01-12 15:18:45 +01:00
Rémi Verschelde
84781eb462
Merge pull request #71271 from reduz/fix-editorspinslider-tab-usage
Fix TAB key usage in EditorSpinSlider (and hence inpector).
2023-01-12 15:02:42 +01:00
Rémi Verschelde
a8a9892ad6
Merge pull request #71218 from KoBeWi/unlimited_bikeshedding_lets_go
Split pause() from AnimationPlayer's stop()
2023-01-12 14:30:46 +01:00
Juan Linietsky
2543aec5e4 Fix TAB key usage in EditorSpinSlider (and hence inpector).
* This ensures that the tab key usage is correct in all situations in EditorSpinSlider
* The ESC key can also close the lineedit popup.

I can't find a proper issue to fix, but partially solves the concerns raised in #37723.
2023-01-12 14:13:49 +01:00
Yuri Rubinsky
fcbe7c1c2b Fix various crashes of ParameterRef nodes in visual shader 2023-01-12 14:21:59 +03:00
Danil Alexeev
8f706be6fa
Rearrange editor/naming/* project settings 2023-01-12 11:41:13 +03:00
Juan Linietsky
9a966b95ec Fix recursive resource inclusion check
I forgot a line of code.

Fixes #71194.
2023-01-11 18:28:52 +01:00
kobewi
da9396881e Split pause() from AnimationPlayer's stop() 2023-01-11 14:03:31 +01:00
Rémi Verschelde
62525b7429
Merge pull request #71075 from Repiteo/open_in_file_manager_shortcut
Setup "Open in File Manager" as shortcut
2023-01-11 14:01:48 +01:00
Rémi Verschelde
87efd0b830
Merge pull request #71206 from nongvantinh/enhance-project-convertion
Add missing functions in the Control node when converting project.
2023-01-11 09:50:24 +01:00
Rémi Verschelde
9af4628bbe
Merge pull request #71159 from EricEzaM/minor-input-configuration-fixes
Propagate allowed input types to `event_listener` when setting them on `InputEventConfigurationDialog`
2023-01-11 09:47:08 +01:00
bruvzg
19293d1813
Automatically reparent editor progress dialog to avoid error spam. 2023-01-11 10:13:21 +02:00
Nong Van Tinh
c6a3a262c4 Add missing functions in the Control node when converting project 2023-01-11 14:14:18 +07:00
Rémi Verschelde
3e2843e3ad
Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parents
Ensure that the cached layout mode is in sync
2023-01-11 01:29:51 +01:00
Rémi Verschelde
54688a7535
Merge pull request #71127 from reduz/drag-forward-to-callables
Change set_drag_forwarding() to use callables.
2023-01-11 01:14:58 +01:00
Yuri Sizov
42cbdbc7df Ensure that the cached layout mode is in sync 2023-01-10 23:51:27 +03:00
Eric M
3bf06e955e Propagate allowed input types to event_listener when setting them on InputEventConfigurationDialog 2023-01-10 23:26:33 +10:00
Juan Linietsky
e6a4debede Change set_drag_forwarding() to use callables.
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).

Fixes #59899
2023-01-10 14:09:24 +01:00
Rémi Verschelde
b427e26230
Merge pull request #71148 from stmSi/canceling-popupmenu-dont-disconnect
Fix canceling add_node Popup doesn't disconnect previous node.
2023-01-10 10:45:15 +01:00
Nong Van Tinh
98ed75f9e0 fixes: #70981 2023-01-10 16:18:38 +07:00
stmSi
88d4291938 Fix canceling add_node Popup doesn't disconnect previous node. 2023-01-10 14:35:09 +06:30
Silc Renew
5d2e7b9b1d Fix undo of editing animation length with spinner by adding flag 2023-01-10 12:29:05 +09:00
Rémi Verschelde
dce8cdbca8
Merge pull request #70863 from bruvzg/win_init_min
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09 23:08:52 +01:00
Rémi Verschelde
be4e9dfeab
Merge pull request #69616 from reduz/change-uuid
Ability to change a resource UID from API
2023-01-09 23:08:18 +01:00
Juan Linietsky
07a964fce3 Ability to change a resource UID from API
* Works for text, binary and imported resources
* Allows better clean up of duplicate files.

TODO (future PRs):

* Use this API for assigning new UIDs to copied files.
* Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09 18:52:00 +01:00
Juan Linietsky
0e0a6bb39b
Removed unused property hints and Object::get_translatable_strings()
* Remove unused `EditorPropertyMember` and related hints, previouly used by
  VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
  hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
  `get_translatable_strings()`, which is a legacy function not used anywhere.
  So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.

Fixes #30203.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09 16:56:01 +01:00
Thaddeus Crews
4245417ab2 Setup "open in file manager" as shortcut 2023-01-09 08:29:46 -06:00
Yuri Sizov
00b5222f66 Fix inconsistent state of Controls when editing and running scenes 2023-01-09 15:54:04 +03:00
Rémi Verschelde
2db593ac2f
Merge pull request #70580 from timothyqiu/drop-extern
Fix error when dropping script into script editor
2023-01-09 09:22:08 +01:00
Rémi Verschelde
9c7723b717
Merge pull request #70920 from KoBeWi/exhibit_inside_catalogmap
Add Show in FileSystem option in the inspector
2023-01-09 08:33:58 +01:00
Rémi Verschelde
e7905f4f48
Merge pull request #71045 from reduz/use-bitfield-in-core-types
Use BitField<> in core type masks
2023-01-09 08:33:26 +01:00
kobewi
6d65d886f2 Add Show in FileSystem option in the inspector 2023-01-08 23:25:13 +01:00
Rémi Verschelde
bb08997b87
Merge pull request #70994 from reduz/prevent-inspector-resource-recursion
Prevent recursion (and hence crash) in inspector resource assignment.
2023-01-08 22:51:29 +01:00
Rémi Verschelde
c3c5eceb35
Merge pull request #70463 from DarkKilauea/nav-server-const
[4.x] Rework const on NavigationServer methods
2023-01-08 22:50:05 +01:00
Rémi Verschelde
98131c0e32
Merge pull request #71068 from DarkMessiah/fix_about_godot
Fix UTF-8 encoding for copyright in About dialog
2023-01-08 22:48:17 +01:00
Rémi Verschelde
56522f7f8f
Merge pull request #71057 from EricEzaM/editor-node-cleanup
Remove unnecessary changing of shortcut name in editor node.
2023-01-08 22:45:32 +01:00
Rémi Verschelde
1722947c75
Merge pull request #71055 from EricEzaM/66424-fix-undo-redo
Fix Undo/Redo not working until Scene menu is opened.
2023-01-08 22:45:04 +01:00
Rémi Verschelde
30b3434daa
Merge pull request #71036 from Calinou/shader-editor-tweak-disabled-branch-color
Tweak text color for disabled preprocessor branches in the shader editor
2023-01-08 22:39:09 +01:00
Rémi Verschelde
495ec2130e
Merge pull request #70923 from KoBeWi/actual_resource
Refactor inspector code for getting resource
2023-01-08 22:37:05 +01:00
Juan Linietsky
2b815df3c1 Use BitField<> in core type masks
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00
Stanislav Labzyuk
0bde4a95e3 Fix UTF-8 encoding for copyright in About dialog 2023-01-08 16:15:26 +01:00
Eric M
8d0178a589 Remove unnecessary changing of shortcut name.
The same effect which was desired here can just be done with `set_item_text(...)`, which is what this PR does. It removes the need to constantly update the shortcut name when the scene menu is opened.
2023-01-08 20:48:56 +10:00
Eric M
8256b4ea23 Fix Undo/Redo not working until Scene menu is opened. 2023-01-08 20:35:30 +10:00
Mario Liebisch
b495c63b0b
Properly stringify args for Call Method Tracks
This ensures string arguments are always shown as properly enclose in
quotes and escaped and should help avoid confusion, as the previously
shown key frame labels could display as invalid code, most prominently
missing quote characters around strings.
2023-01-08 11:27:44 +01:00
Josh Jones
a0715b30f9 Rework const on NavigationServer methods
`const` is used on all methods, even when they cause modification of the server.  This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07 17:29:00 -08:00
scurest
649857416d Mark OBJ vertex colors sRGB in materials (only if has vertex colors) 2023-01-07 17:07:31 -06:00
scurest
091fa5fb7f Add vertex color support to OBJ importer
Fixes #70982
2023-01-07 13:26:55 -06:00
Hugo Locurcio
5ce488b1fc
Tweak text color for disabled preprocessor branches in the shader editor
This makes text within disabled branches easier to distinguish from comments
when using a non-default editor syntax theme.
(The default editor syntax theme uses the same color as the text with 50%
opacity for comments, which means it looks the exact same.)
2023-01-07 20:18:38 +01:00
Stanislav Labzyuk
86d61a99fb Enable column clip content in ConnectionDock and FilesystemDock 2023-01-07 14:07:33 +01:00
Rémi Verschelde
d642274f75
Merge pull request #70939 from bruvzg/win_screen_2
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 13:21:36 +01:00