NiskashY
fc6a6dd0f4
Fix reimporting files with non lowercase name extension
2023-07-12 17:04:01 +02:00
bruvzg
7b7f6d45d6
Implement iOS one-click deploy.
2023-07-12 16:25:04 +03:00
Yuri Sizov
ecc9134086
Merge pull request #79079 from stmSi/ESC-key-not-closing-FindReplaceBar
...
Fix ESC (ui_cancel) not closing FindReplaceBar
2023-07-12 15:09:46 +02:00
Yuri Sizov
5dff3c4484
Merge pull request #78538 from Sauermann/fix-code-simplifications
...
Remove unnecessary value assignments throughout the codebase
2023-07-12 15:09:26 +02:00
Yuri Sizov
6960a1d0e8
Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
...
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Yuri Sizov
b4a11294e6
Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
...
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
Theraot
a51116c6c7
Make onready variables created from dropping nodes include custom types
2023-07-12 07:58:26 -05:00
kobewi
6a7567e8f7
Change default Save Script shortcut
2023-07-12 14:25:36 +02:00
Haoyu Qiu
a552103531
Make indentation indicators translatable
2023-07-12 09:19:24 +08:00
Raul Santos
13ab2b6f4f
C#: Improve `GD.PushError` and `GD.PushWarning`
...
- Use the name, file path and line number of the caller that invokes
`GD.PushError` and `GD.PushWarning` instead of the location in the C++
`runtime_interop.cpp` file.
- Improvements to getting the C# stack trace.
- Use C# type keywords for built-in types in method declarations.
- Remove extra space before each parameter in method declarations.
- Skip one more frame to avoid `NativeInterop.NativeFuncs`.
- Skip methods annotated with the `[StackTraceHidden]` attribute.
- Improvements to `ScriptEditorDebugger` when source is in project.
- Avoid overriding error metadata when the source is inside the
project file.
- Use the source function in the title when the source is inside
the project file.
Users that use these methods would expect the reported location printed
by these methods to correspond to a location in their project source files.
Specifically, they'd expect to see the file path and line number at which
they call these methods, and not the location of the C++ code (which is
always the same). Now, these methods are a lot more useful since users
can know which line in their source code printed the error/warning.
2023-07-11 11:19:11 +02:00
Hendrik Brucker
662d8c76b3
Remove GraphNode's comment property and related functionality
...
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
Rindbee
28db5e7649
Fix history mismatch
...
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")
Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +08:00
Aaron Franke
95ccbdea4b
Improve text in popup warning, remove "upgrade or downgrade" text
2023-07-10 11:52:48 -05:00
Yuri Sizov
ef155c1aeb
Merge pull request #79078 from KoBeWi/if_you_gaze_into_the_empty_bottom_panel,_the_empty_bottom_panel_gazes_also_into_you
...
Collapse bottom panel if there is no active tab
2023-07-10 16:30:14 +02:00
kobewi
bdb7e62029
Streamline creating tile atlas sources
2023-07-10 15:36:00 +02:00
Rémi Verschelde
349e44091d
Merge pull request #79118 from aaronfranke/friendly-upgrades
...
Improve user-friendliness of project version mismatch message
2023-07-10 15:33:15 +02:00
Septian
837df886f3
Fix dragged nodes have icon size
2023-07-10 20:18:18 +07:00
Hendrik Brucker
1bea64a295
[Graph editors] Keep port icons crisp at high zoom levels, remove rim artifacts
2023-07-10 15:09:40 +02:00
Rémi Verschelde
b8ed596769
Merge pull request #79277 from akien-mga/godot-4-ever
...
Change explicit 'Godot 4.0' references to 'Godot 4'
2023-07-10 13:18:32 +02:00
Rémi Verschelde
232611b447
Merge pull request #79264 from OverloadedOrama/3-to-4-camera2d-rotating
...
Fix `Camera2D.rotating` not being converted and reversed properly
2023-07-10 13:18:00 +02:00
Rémi Verschelde
7e36223da0
Merge pull request #79139 from aaronfranke/prop-hint-cl-na-type-str-restr-repl
...
Fix property hint class name type string restriction and replace mode
2023-07-10 13:17:13 +02:00
Rémi Verschelde
8a06ec979e
Change explicit 'Godot 4.0' references to 'Godot 4'
...
Fixes #79276 .
2023-07-10 13:08:11 +02:00
Emmanouil Papadeas
256b99ca40
Fix `Camera2D.rotating` not being converted and reversed properly
...
Godot 3's Camera2D `rotating = true` and `rotating = false` are supposed to be converted and reversed to `ignore_rotation = false` and `ignore_rotation = true` respectively, but this wasn't the case before this PR, as the project converted was failing to properly read the `true` and `false` strings, thus resulting in `ignore_rotation = true` in all cases.
2023-07-10 12:52:48 +03:00
bruvzg
5216a08617
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-09 19:53:15 +03:00
Raul Santos
a164e3e7b3
Add a note about C# differences in classref doc
2023-07-09 01:44:48 +02:00
Rémi Verschelde
157973ad5e
Merge pull request #79173 from RedworkDE/net-commandline-exporting
...
C#: Fix command line exporting
2023-07-08 18:23:06 +02:00
Rémi Verschelde
bdcbfd71a8
Merge pull request #79158 from jpcerrone/shaderinclude_fixes
...
Fix comments and indentation in .gdshaderinc files
2023-07-08 18:22:42 +02:00
Rémi Verschelde
19c6294a66
Merge pull request #78795 from akien-mga/project-converter-keep-rendering-driver
...
Project converter: Use same rendering driver as Project Manager
2023-07-08 18:18:10 +02:00
Rémi Verschelde
e3dee8cea9
Merge pull request #78694 from Yadnesh-Kulkarni/bugfix-grid-view-disappear-#78588
...
Fix 3D viewport grid disappearing on scene tab changes
2023-07-08 18:16:55 +02:00
Rémi Verschelde
02a4d099fd
Merge pull request #78631 from Calinou/shader-editor-creation-dialog-use-bullet-points
...
Use bullet points in shader editor creation dialog
2023-07-08 18:16:31 +02:00
Rémi Verschelde
a12d9df9e1
Merge pull request #71024 from marzecdawid/better-cursor-behaviour-in-tree-with-ctrl
...
Fix cursor behavior for multiselect in Tree while holding CTRL
2023-07-08 18:14:48 +02:00
Danil Alexeev
c1b450566a
GDScript: Add `@deprecated` and `@experimental` doc comment tags
2023-07-08 18:13:19 +03:00
Ryan Roden-Corrent
90bddd21c8
Wrap mouse for blender-style transforms.
...
When performing a blender-style translate or scale (but not rotate),
wrap the mouse inside the bounds of the viewport. This allows moving the
mouse indefinitely for large translate or scale operations, and is
consistent with how blender works.
This enables global input processing during blender-style transforms, so
we can capture and wrap mouse events outside the bounds of the viewport.
Other wrapping operations use _sinput, which I assume is possible
because a mouse button is held, so the control receives input even when
the mouse exits the control.
This does not implement wrapping for regular (gizmo-driven) transforms,
though this could be done if desired.
Fixes godotengine/godot-proposals#4255 .
2023-07-08 07:53:47 -04:00
MewPurPur
d8d53e3370
Deselect curve point with RMB on the empty space
2023-07-08 00:31:17 +03:00
RedworkDE
f3f3365abd
C#: Fix command line exporting
2023-07-07 20:51:46 +02:00
kleonc
3f6e35bdb2
Fix drag-dropping nodes to parent with internal nodes
2023-07-07 19:24:44 +02:00
MewPurPur
fe194f8db0
Optimize SVG icons and remove unused Transpose icon
2023-07-07 17:58:15 +03:00
jpcerrone
71b8a9d274
Fix comments and indentation in .gdshaderinc files
...
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.
2023-07-07 11:18:30 -03:00
Rémi Verschelde
5205ff69ca
Merge pull request #79090 from mb4c/wrap-tooltip
...
Add tooltip description wrapping in scene tree and plugin settings
2023-07-07 16:04:41 +02:00
Rémi Verschelde
a2604ff712
Merge pull request #78925 from theraot/fix_rename_unique
...
Do not change a node unique name to the same name
2023-07-07 16:04:17 +02:00
Rémi Verschelde
2935a2b1de
Merge pull request #78775 from aaronfranke/proj-tag-sort
...
Sort project tags before saving
2023-07-07 16:03:53 +02:00
Rémi Verschelde
2c0a0a0eab
Merge pull request #78524 from MewPurPur/4920726f6c6c65642061203621
...
Fix tooltip of enum value without description
2023-07-07 16:03:28 +02:00
Rémi Verschelde
81c6694014
Merge pull request #78522 from MewPurPur/improve-tileset-labels
...
Improve string drawing in the tiledata editor
2023-07-07 16:03:02 +02:00
Rémi Verschelde
6ed632be27
Merge pull request #54071 from KoBeWi/infinite_unlimited_connections
...
Focus current node after connecting
2023-07-07 16:01:17 +02:00
mb4c
d007be2d14
Add tooltip description wrapping in scene tree and plugin settings
2023-07-07 11:16:34 +02:00
Rémi Verschelde
443820686c
Merge pull request #79112 from bitsawer/fix_preprocessor_keyword_colors
...
Make shader preprocessor keyword colors consistent
2023-07-07 08:36:13 +02:00
Rémi Verschelde
69dbbcc313
Merge pull request #79092 from akien-mga/doctool-remove-version-attribute
...
Doctool: Remove version attribute from XML header
2023-07-07 08:34:55 +02:00
Rémi Verschelde
8e5a01fcf4
Merge pull request #79025 from RedworkDE/scripted-export-plugin
...
Fix export options of scripted `EditorExportPlugin`s
2023-07-07 08:33:21 +02:00
Rémi Verschelde
b3c2b52025
Merge pull request #78953 from anvilfolk/enum-desc
...
Fix regression with GDScript enum descriptions now showing up in documentation.
2023-07-07 08:31:44 +02:00
Rémi Verschelde
3049f33495
Merge pull request #78938 from timothyqiu/no-match
...
Translate "No match" message in FindReplaceBar
2023-07-07 08:31:20 +02:00
Rémi Verschelde
e940778f0a
Merge pull request #78920 from Rindbee/fix-invalid-shortcut-keys-in-TileSetAtlasSourceEditor
...
Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
2023-07-07 08:30:31 +02:00
Rémi Verschelde
64d451daac
Merge pull request #78914 from KoBeWi/lazy_drop
...
Fix dropping files from res:// to res://
2023-07-07 08:30:06 +02:00
Aaron Franke
58a65591f5
Fix property hint class name type string restriction and replace mode
2023-07-06 23:07:32 -05:00
Aaron Franke
3b8a81d361
Improve user-friendliness of project version mismatch message
2023-07-06 19:27:48 -05:00
Alfonso J. Ramos
b2bef8c47b
Do not change a node unique name to the same name
2023-07-06 16:27:34 -05:00
bitsawer
a5d6152949
Make shader preprocessor keyword colors consistent
2023-07-06 17:56:26 +03:00
Rémi Verschelde
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
kobewi
59ae7e2445
Collapse bottom panel if there is no active tab
2023-07-05 23:07:12 +02:00
stmSi
7eb517c27f
Fix: ESC (ui_cancel) not closing FindReplaceBar
2023-07-06 03:35:01 +06:30
Rémi Verschelde
d28f9afdc6
i18n: Sync translations with Weblate
2023-07-05 16:04:29 +02:00
Yuri Sizov
c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
...
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio
470083caed
Fix import hints that are followed by dot.number.
...
Fixes #78881 .
2023-07-05 14:49:53 +02:00
Pedro J. Estébanez
cac4d44cde
Re-enable docs cache with fixes
2023-07-05 10:44:58 +02:00
RedworkDE
fa84d09542
Fix export options of scripted EditorExportPlugins
2023-07-04 15:39:23 +02:00
Tetane
1cd0a34e47
Fix Create shader Node window position on second monitor
2023-07-03 20:17:56 +02:00
kobewi
9379177286
Fix node selection not handled correctly at launch
2023-07-03 14:43:15 +02:00
kobewi
244968c8d1
Allow change import type without restarting editor
2023-07-03 13:24:24 +02:00
ocean (they/them)
d48636c3bf
Fix regression with enum descriptions now showing up in documentation.
2023-07-02 11:29:52 -04:00
Brecht Kuppens
86117f8cba
Added option to center image when loading particle emission mask
2023-07-02 12:22:38 +02:00
Haoyu Qiu
ac454ce2a7
Translate "No match" message in FindReplaceBar
2023-07-02 16:49:22 +08:00
Rindbee
fec731bf33
Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
2023-07-02 06:40:14 +08:00
kobewi
1d970cd6ca
Fix dropping files from res:// to res://
2023-07-01 19:21:35 +02:00
Rémi Verschelde
16dd4e5725
i18n: Sync translations with Weblate
2023-06-29 13:33:56 +02:00
Rémi Verschelde
b3d1aeea07
Fix missing GDExtension in-editor API reference
...
This commit partially reverts a change in e1ce0340b7
which would prevent from generating API reference for GDExtension APIs.
Fixes #78829 .
2023-06-29 12:48:10 +02:00
Hannah Crawford
444e1a8e2c
Add layer, shadow and visibility range options to Scene Importer.
2023-06-28 17:09:23 +01:00
Rémi Verschelde
53c78b2cac
Project converter: Use same rendering driver as Project Manager
...
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes #76303 .
2023-06-28 15:07:37 +02:00
MineBill
c34d5627fb
Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String
2023-06-28 10:28:36 +03:00
Aaron Franke
d667402461
Sort project tags before saving
2023-06-27 18:22:33 -05:00
kobewi
af01aed643
Fix missing translations in EventListenerLineEdit
2023-06-27 23:08:41 +02:00
Rémi Verschelde
9d089fe6e5
i18n: Sync translations with Weblate
2023-06-26 19:40:50 +02:00
kobewi
08ef3044ee
Fix missing translation in SceneCreateDialog
2023-06-26 19:19:36 +02:00
Yadnesh Kulkarni
a8dde286ce
Fixed grid disappearance
2023-06-26 09:27:25 -04:00
Rémi Verschelde
d08ba5f3dc
Merge pull request #78670 from KoBeWi/cache_with_full_power
...
Improve script icon cache
2023-06-26 14:56:47 +02:00
kobewi
0458ac4b81
Improve script icon cache
2023-06-26 14:03:21 +02:00
Ninni Pipping
39353462ac
Fix indentation in script templates
2023-06-26 12:18:02 +02:00
Danil Alexeev
da4590b3f1
Unexpose `DocCache` class
2023-06-24 22:24:54 +03:00
MewPurPur
0786876077
Tweak documentation to use bold font when a class is referencing itself
2023-06-24 18:09:31 +02:00
Rémi Verschelde
1ee2697682
Revert "Fix paste value not updated in dictionaries/arrays"
2023-06-24 10:59:35 +02:00
Hugo Locurcio
bce2985615
Use bullet points in shader editor creation dialog
...
This is consistent with the script creation dialog.
2023-06-24 02:12:13 +02:00
Hugo Locurcio
08118b1456
Only display 15 nodes in the Recent section of the Create New Node dialog
...
This prevents the history size from becoming too large, which made it less
useful.
This also fixes an off-by-one error in the completion scoring algorithm.
2023-06-23 23:51:51 +02:00
Yuri Sizov
f44b2d7898
Merge pull request #78611 from YuriSizov/editor-cure-for-early-onset-layout-dementia
...
Handle contextual editors gracefully when restoring layout
2023-06-23 17:52:35 +02:00
Rémi Verschelde
46b2619223
Merge pull request #78614 from RandomShaper/disable_doc_cache
...
Disable doc cache temporarily for pre-RC stabilization
2023-06-23 17:23:56 +02:00
Pedro J. Estébanez
7afb9dd275
Disable doc cache temporarily for pre-RC stabilization
2023-06-23 16:40:40 +02:00
Yuri Sizov
f623509086
Handle contextual editors gracefully when restoring layout
2023-06-23 15:46:06 +02:00
Yuri Sizov
8cfbc6bda2
Revert "Remember only permanent bottom tabs"
...
This reverts commit 5dde57e958
.
2023-06-23 15:23:36 +02:00
Rémi Verschelde
9ab388c146
Merge pull request #78609 from KoBeWi/—GodotEngine
...
Unify window title format
2023-06-23 12:36:44 +02:00
kobewi
44bec97d5e
Unify window title format
2023-06-23 12:21:56 +02:00
kobewi
9a302e32c8
Speed up closing multiple scripts
2023-06-23 11:19:09 +02:00
kobewi
5dde57e958
Remember only permanent bottom tabs
2023-06-23 10:53:39 +02:00
Felipe Augusto Marques
26eb3db234
Added Image's `load_svg_from_(buffer|string)`
...
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Ninni Pipping
818fe886a3
Bounds fixes in `TextureAtlas` import
2023-06-22 19:20:56 +02:00
Gilles Roudière
bca1f91291
Fixes crash in TileSetAtlasSourceEditor
2023-06-22 15:03:53 +02:00
Markus Sauermann
890fdd56df
Code simplifications
...
CPPcheck found most of them.
no need to assign the variable twice:
- AnimationTrackEditTypeAudio
- SSEffects
variable is assigned in all if-else clauses:
- EditorHelp
- AndroidInputHandler
- MenuBar
- ShaderCompiler
same if clause:
- ItemList
clearing an empty bitfield has no effect:
- Viewport
2023-06-21 22:37:26 +02:00
Dawid Marzec
9abbdea95e
Fix cursor behaviour in Tree while holding CTRL
2023-06-21 20:44:29 +02:00
MewPurPur
c0453a544d
Fix enum tooltip with no description
2023-06-21 19:18:08 +02:00
Alula
9676905aee
Add option to swap Alt+scroll zooming behavior in 2D editor
...
Update doc/classes/EditorSettings.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 18:56:58 +02:00
MewPurPur
1649dcad0b
Improve string printing in the tiledata editor
2023-06-21 17:43:45 +02:00
Yuri Sizov
4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
...
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Rémi Verschelde
5285927f51
Merge pull request #78495 from lyuma/import_tracks_single_clip
...
Fix Import Tracks import setting for single clip
2023-06-21 10:19:47 +02:00
Rémi Verschelde
78518be194
Merge pull request #75444 from lpriebe/editor-run-arg-split-fix
...
Prevent quoted args in `editor/main_run_args` from being split at spaces
2023-06-21 10:18:37 +02:00
Rémi Verschelde
9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
...
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Yuri Sizov
38ae7b58d1
Merge pull request #78350 from ajreckof/you-know-when-you-want-to-search-this-member-you-don't-know-and-then-you-have-the-script-editor-all-over-the-place-now-it-should-not-happen-anymore-hopefully
...
Fix placement and style of the "Make Floating" button
2023-06-21 03:03:19 +02:00
Rindbee
19d77ea90d
Fix wrong descriptions in EditorSettings
...
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
ajreckof
13e65da804
Fix wrong placement of the Make Floating Button.
2023-06-21 01:00:37 +02:00
Lyuma
0d0e8b0a8a
Fix Import Tracks import setting for single clip
2023-06-20 15:49:38 -07:00
Yuri Sizov
ab545ece85
Merge pull request #76398 from spanzeri/insert-key-crash
...
Fix insert key crash with no animation
2023-06-20 20:39:52 +02:00
Yuri Sizov
db08287b18
Merge pull request #78456 from aaronfranke/tex-format-should
...
Check if the required texture format is imported in the export dialog
2023-06-20 20:38:02 +02:00
quinnyo
68c24f9993
Add code_complete_enabled code editor setting
2023-06-21 02:51:05 +10:00
Aaron Franke
1a70d82606
Check if the required texture format is imported in the export dialog
2023-06-20 10:58:34 -05:00
Samuele Panzeri
4067907074
Fix insert key crash with no animation
2023-06-20 17:39:09 +02:00
kobewi
9c3afcc898
Fix ColorPicker margin theme property
2023-06-20 12:47:52 +02:00
Gilles Roudière
94b1bc0d68
Fix TileMap draw preview when switching CI editor tool
2023-06-20 12:12:01 +02:00
Rémi Verschelde
49dedd6ce4
Merge pull request #74567 from Garym3/3-to-4-converter-brace-aggregate-fix
...
Fix braces handling when parsing method arguments on project conversion
2023-06-20 09:19:33 +02:00
Garym3
4aecba68e3
Fix braces handling when parsing method arguments on project conversion
2023-06-20 07:20:35 +02:00
Rémi Verschelde
217a20a8a0
Merge pull request #78448 from akien-mga/black-23.3.0
...
CI: Update static checks to black 23.3.0
2023-06-20 00:05:39 +02:00
Rémi Verschelde
e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
...
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Rémi Verschelde
bfec390026
Merge pull request #76672 from kleonc/scene-tree-item-unify-tooltip-creation
...
Unify setting tooltips for items in `SceneTreeEditor`
2023-06-20 00:01:29 +02:00
Rémi Verschelde
c9c941e339
CI: Update static checks to black 23.3.0
...
And apply it to the codebase, removing empty lines at the start of blocks.
2023-06-19 23:33:02 +02:00
Rémi Verschelde
764193629f
Merge pull request #76179 from Maran23/pause-mode-convert-fix
...
Fix `pause_mode` may not be converted correctly in .tscn files.
2023-06-19 22:34:43 +02:00
Rémi Verschelde
080d471e98
Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints
...
Add property hints for debugger/profiler editor settings
2023-06-19 21:39:10 +02:00
Haoyu Qiu
ac36776729
Fix tile resizing towards atlas boundary
2023-06-20 00:36:37 +08:00
Fabio Alessandrelli
7b170d12cf
Merge pull request #75836 from rsubtil/bugfix-dap_windows_path
...
Fix DAP path mismatch on Windows
2023-06-19 16:38:19 +02:00
Rémi Verschelde
cdc68c2887
Merge pull request #71015 from 44zb/fix-error-messages-copied-without-line-breaks
...
Add a line break to error messages in the script editor
2023-06-19 16:33:06 +02:00
Artyom Lunchenkov
613c060e0b
Add a line break to error messages in the script editor
...
Fixes #71002
2023-06-19 15:57:27 +02:00
Rémi Verschelde
58c3f24d96
Merge pull request #78430 from zhhrozhh/scene_tree_draft
...
Skip using increment if nodes are adding to the end of some other node
2023-06-19 15:40:21 +02:00
hzhang
25746716f3
Fix drag-dropping nodes at the end of children list
2023-06-19 20:42:33 +08:00
Rémi Verschelde
cdfaf8a10f
Merge pull request #78418 from brno32/apply-texture-filter-2d-polygon-editor
...
Apply selected texture filter when editing UV
2023-06-19 13:28:36 +02:00
andybarcia
553f4f8dce
Improve error reporting when parsing CSV translation file
...
Fixes #46682 .
Also fix unit test suite to separate generic FileAccess CSV testing
from using CSV as translation. And add more CSV translation tests.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-19 12:47:44 +02:00
Michael Alexsander
41a75cfa4f
Allow exporting release Android builds without a debug keystore
2023-06-19 01:00:13 -03:00
Alex Drozd
0c75d5d70c
apply selected texture filter when editing UV
2023-06-18 22:56:26 +02:00
Rémi Verschelde
96166c9aab
Merge pull request #78387 from Wuqiqi123/fix_texture_preview_crash_from_invalid_image
...
Fix TexturePreview crash when creating an invalid image
2023-06-18 16:33:27 +02:00
Rémi Verschelde
65bc139bf2
Merge pull request #78354 from raulsntos/connect-dialog-dont-filter-derived-classes
...
Allow base types in method params of connection dialog
2023-06-18 16:32:16 +02:00
Rémi Verschelde
e8e00b981e
Merge pull request #76711 from ajreckof/fix-paste-value-not-updating-element-in-dictionaries/array
...
Fix paste value not updated in dictionaries/arrays
2023-06-18 16:30:16 +02:00
Rémi Verschelde
8d6c33a2b9
Merge pull request #76630 from gelvinp/respect-binary-compress
...
Respect "compress_binary_resources" editor setting on scene import
2023-06-18 16:29:49 +02:00
Patrick Gelvin
9408ac0d6e
Respect "compress_binary_resources" editor setting
2023-06-18 00:55:32 -07:00
Qiqi Wu
9321e9fa86
fix TexturePreview crash from an invalid image
2023-06-18 13:08:06 +08:00
Raul Santos
47ed332499
Allow base types in method params of connection dialog
2023-06-17 03:39:10 +02:00
Gilles Roudière
41890ff9c3
Fix compilation on gcc13
2023-06-16 19:24:04 +02:00
kobewi
7f18db9d9d
Fix filesystem cache split error
2023-06-16 13:13:30 +02:00
Rémi Verschelde
ada10b57f3
Merge pull request #78318 from Sauermann/fix-spinslider-grabbing
...
Fix the distance for grabbing a EditorSpinSlider
2023-06-16 10:24:14 +02:00
Rémi Verschelde
908610174d
Merge pull request #77536 from clayjohn/GLES3-render-info
...
Add RENDERING_INFO parameters to GL Compatibility renderer
2023-06-16 10:19:09 +02:00
Rémi Verschelde
d101244d1b
Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings
...
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-16 10:18:46 +02:00
Rémi Verschelde
a7a1012d98
Merge pull request #74580 from Garym3/3-to-4-converter-fix-ogg-import-file-conversion
...
Fix bad OGG importer's name inside .import files during project conversion
2023-06-16 10:18:23 +02:00
Markus Sauermann
42402aa7db
Fix the distance for grabbing a EditorSpinSlider
...
Currently moving the mouse for a single pixel is enough to trigger
grabbing, which happens often unintentionally.
2023-06-16 09:39:49 +02:00
clayjohn
36a005fafc
Add RENDERING_INFO parameters to GL Compatibility renderer
...
This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times
This also adds memory tracking to textures and buffers to catch memory leaks.
This also cleans up some memory leaks that the new system caught.
2023-06-16 09:10:00 +02:00
Michael Aganier
f563d24689
Change light themes default contrast from -0.08 to -0.06
...
-0.08 overblows the highlights, -0.06 looks much better.
2023-06-15 19:20:21 -04:00
Garym3
e5d55e35c2
Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files
2023-06-15 22:55:02 +02:00
Danil Alexeev
eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-15 17:23:02 +03:00
Rémi Verschelde
95a9089fdd
Merge pull request #74813 from bruvzg/text_edit_autowrap
...
[TextEdit] Expose all auto-wrap modes.
2023-06-15 16:08:21 +02:00
Rémi Verschelde
6587a81910
Merge pull request #78268 from Sauermann/fix-remove-unused-variable
...
Remove unused variable `PopupMenu::parent_rect`
2023-06-15 15:26:36 +02:00
Markus Sauermann
840e2b14f3
Remove unused variable `PopupMenu::parent_rect`
...
This private variable is not read anywhere.
Remove it and all places, where it is set.
2023-06-15 12:08:47 +02:00
Rémi Verschelde
3dca469f8c
Merge pull request #78109 from heppocogne/support-relative-path
...
Add relative path support for `EditorPlugin::add_autoload_singleton`
2023-06-15 10:50:33 +02:00
Rémi Verschelde
2c22e56e37
Merge pull request #77992 from ajreckof/Prevent-unselectable-nodes-when-switching-filter-and-no-children-match-the-new-filter
...
Prevent unselectable nodes when switching filter and no children match the new filter.
2023-06-15 10:50:22 +02:00
Rémi Verschelde
2c51ecac5a
Merge pull request #76376 from ajreckof/fix_NodePath_update_from_batch_rename
...
Properly update nodepath with batch rename
2023-06-15 10:39:48 +02:00
Hugo Locurcio
8352122e70
Document editor import options in the class reference
...
Tooltips are displayed when hovering import options, both in the Import
dock and in the import defaults editor (which is in the Project Settings).
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-15 08:30:48 +02:00
ajreckof
8c6ede10c5
Prevent unselectable nodes when switching filter and no children match the new filter
2023-06-14 23:20:28 +02:00
ajreckof
5c15083d40
properly update nodepath with batch rename
2023-06-14 15:12:46 +02:00
kleonc
77b8e0fcb7
Allow setting negative WorldBoundaryShape2D.distance through the editor
2023-06-14 14:54:00 +02:00
Rémi Verschelde
1930b491d6
Merge pull request #78194 from MewPurPur/video-stream-resource-icon
...
Add VideoStream icon
2023-06-14 09:26:23 +02:00
Rémi Verschelde
adef9fb3d2
Merge pull request #77709 from MewPurPur/improve-center-selection-icon
...
Make the CenterView icon clearer
2023-06-14 09:24:21 +02:00
Rémi Verschelde
50b3b176cb
Merge pull request #76688 from ajreckof/backward_undo
...
Add `backward_undo_ops` as option for action
2023-06-14 09:23:56 +02:00
VolTer
5e7d1225e6
Make the Make Center icon clearer
2023-06-14 02:19:01 +02:00
MewPurPur
d2b437411e
Add VideoStream icon
2023-06-13 19:54:59 +02:00
ajreckof
81aa5ad999
add backward_undo_ops as property for action
2023-06-13 15:32:05 +02:00
Rémi Verschelde
abb6744d6c
Merge pull request #77615 from jpcerrone/add_joypad_conversion
...
Add joypad input map conversion to project converter
2023-06-13 14:41:09 +02:00
Rémi Verschelde
7aa530c4ca
Merge pull request #78171 from MewPurPur/fix-curve-editor-crash
...
Fix Curve Editor crash with null curve
2023-06-13 13:53:02 +02:00
Rémi Verschelde
52493767fc
Merge pull request #78165 from timothyqiu/invalid-tile
...
Fix crash when opening a TileSet with invalid tiles
2023-06-13 13:52:58 +02:00
Rémi Verschelde
b203651ad7
Merge pull request #77982 from KoBeWi/fix_for_filter_failure
...
Fix nodes selectable abnormally when using filter
2023-06-13 13:52:54 +02:00
Rémi Verschelde
ad85ecef8d
Merge pull request #77750 from RandomShaper/tidy_shader_data_items
...
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 13:52:51 +02:00
Haoyu Qiu
8b5d5dc2c4
Fix crash when opening a TileSet with invalid tiles
2023-06-13 18:50:08 +08:00
MewPurPur
beae9b0bc1
Fix Curve Editor crash with null curve
2023-06-13 11:35:35 +02:00
kobewi
06eef4c64d
Fix nodes selectable abnormally when using filter
2023-06-13 11:11:00 +02:00
kobewi
06eff95d64
Fix missing UID handling in Dependency Editor
2023-06-13 11:09:56 +02:00
Pedro J. Estébanez
96c469a138
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 11:05:57 +02:00
bruvzg
75e6ec8874
[TextEdit] Expose all auto-wrap modes.
2023-06-13 10:28:27 +03:00
Yuri Rubinsky
7cd943fc43
Add animation playback preview to scene import settings
2023-06-13 08:42:12 +03:00
Rémi Verschelde
a5206e449e
Merge pull request #78152 from brno32/editor-persistence-empty-scene-fix
...
Prevent non-existent scene from being saved to persistent editor config
2023-06-12 22:56:46 +02:00
Rémi Verschelde
5c334ee74d
Merge pull request #78101 from MewPurPur/optimize-svg-gradient-icons
...
Optimize many SVGs
2023-06-12 22:55:36 +02:00
Rémi Verschelde
54b0907e67
Merge pull request #78015 from MewPurPur/Mom-can-we-have-a-new-Godot-logo-----We-have-a-new-Godot-logo-at-home-----The-new-Godot-logo-
...
Standardize and Optimize blue robot SVGs
2023-06-12 22:55:12 +02:00
Rémi Verschelde
380ee3c0c0
Merge pull request #77973 from bruvzg/fix_rtl_rebuild
...
Fix editor log flicker.
2023-06-12 22:54:47 +02:00
Rémi Verschelde
54a8adfd50
Merge pull request #75984 from KoBeWi/ConsoleMcWrap
...
Rename console script to wrapper
2023-06-12 22:54:24 +02:00
Rémi Verschelde
efea8aed68
Merge pull request #75900 from Maran23/project-converter-declaring-inferring-types
...
Fix exported variables declaring or inferring the type were not converted correctly
2023-06-12 22:53:58 +02:00
Rémi Verschelde
9be0aab790
Merge pull request #75798 from KoBeWi/let's_fix_this_hack_with_yet_another_hack
...
Make sure script cache is created after reimport
2023-06-12 22:53:35 +02:00
Alex Drozd
454befc880
Prevent non-existent scene from being saved to persistent editor config
2023-06-12 22:49:49 +02:00
Marius Hanl
55ba34a6d2
Fix exported variables declaring or inferring the type were not converted correctly.
2023-06-12 19:19:51 +02:00
Marius Hanl
bd599d0797
Improve function detection to avoid accidental conversion
...
When converting a function like "connect(", we do not want to detect a function like "reconnect(" as a possible candidate for conversion.
2023-06-12 19:19:19 +02:00
bruvzg
488626701d
Fix editor log flicker.
2023-06-12 20:15:23 +03:00
Aaron Franke
7e9b5e59d4
Make a header for VariantUtilityFunctions
2023-06-12 11:29:42 -05:00
Yuri Sizov
593d5ca29f
Merge pull request #77962 from KoBeWi/some_hand-holding_is_ok,_probably
...
Improve some tile editor hint labels
2023-06-12 18:23:23 +02:00
MewPurPur
a8412c12da
Standardize and Optimize blue robot SVG
...
Co-authored-by: Andre Vallestero <39736205+AndreVallestero@users.noreply.github.com>
2023-06-12 18:12:40 +02:00
MewPurPur
ecb7a9954b
Optimize a few SVGs
2023-06-12 18:05:14 +02:00
Rémi Verschelde
6306eb4047
Merge pull request #76372 from sygi/dont_propagate_lock_view
...
Store lock view rotation whether its on or off
2023-06-12 17:09:38 +02:00
Rémi Verschelde
c3e5e4ed4b
Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time
...
Update the edit scene root in time after it is replaced
2023-06-12 17:08:50 +02:00
kobewi
d17c522991
Focus current node after connecting
2023-06-12 17:07:47 +02:00
Rindbee
eb74079dfb
Update the edit scene root in time after it is replaced
...
When changing the type of the edited scene root node, it may be necessary
to update edited scene root in time for the child nodes to work properly.
2023-06-12 21:49:30 +08:00
Rémi Verschelde
2d6b880987
i18n: Sync translations with Weblate (now tracking 4.1 strings)
2023-06-12 14:57:08 +02:00
heppocogne
f7f4e53763
Add relative path support for `EditorPlugin::add_autoload_singleton`
2023-06-12 21:27:46 +09:00
Rémi Verschelde
7b9df571b3
Merge pull request #78102 from MewPurPur/polyphonic-audio-icon
...
Add AudioStreamPolyphonic icon
2023-06-12 14:15:31 +02:00
Rémi Verschelde
bb59def1af
Merge pull request #78097 from brno32/remove-assert-from-project-converter
...
Remove `assert` conversion from the project converter
2023-06-12 14:15:07 +02:00
Rémi Verschelde
055986c870
Merge pull request #78125 from KoBeWi/editing_gone_wrong
...
Fix some invalid plugin edit calls
2023-06-12 11:57:35 +02:00
Rémi Verschelde
2c5f259cf5
Merge pull request #78124 from KoBeWi/leave_MeshLibrary_alone
...
Fix problems reloading MeshLibrary
2023-06-12 11:57:07 +02:00
Rémi Verschelde
d4951ead3a
Merge pull request #78093 from samar-01/fix-77944
...
Changed error tree initialization to allow reselection
2023-06-12 11:40:41 +02:00
Rémi Verschelde
7db29c04cd
Merge pull request #78057 from KoBeWi/PR_snatcher_strikes_back
...
Fix moving directories in filesystem
2023-06-12 11:40:18 +02:00
kobewi
366c9678ca
Fix some invalid plugin edit calls
2023-06-11 22:15:54 +02:00
kobewi
0a4d0506d1
Fix problems reloading MeshLibrary
2023-06-11 19:42:24 +02:00
samar-01
d9e64d7001
Changed error tree initialization to allow reselection
2023-06-10 22:47:16 -04:00
MewPurPur
e62c966f31
Add AudioStreamPolyphonic icon
2023-06-11 01:53:33 +02:00
Alex Drozd
d053536b3b
removing assert statement from the project converter
2023-06-10 23:33:11 +02:00
Rémi Verschelde
c3a45e771b
Merge pull request #77699 from KoBeWi/an_indestructible_ratio_that_we_all_deserve
...
Preserve vector ratio when dragging through 0
2023-06-10 12:10:30 +02:00
kobewi
40d1791721
Fix moving directories in filesystem
...
Co-authored-by: Samuele Panzeri <samuele.panzeri@gmail.com>
2023-06-09 18:33:05 +02:00
Rémi Verschelde
d3651ea455
Merge pull request #77834 from KoBeWi/I.M.G
...
Fix Image -> Texture2D inspector auto-conversion
2023-06-09 15:32:04 +02:00
Rémi Verschelde
0e0758c5cd
Merge pull request #75261 from AThousandShips/wav_trim
...
Fix trim when importing WAV
2023-06-09 15:31:15 +02:00
Rémi Verschelde
a08aa9627c
Merge pull request #75226 from AThousandShips/file_dialog_default
...
Do not use editor setting for FileDialog hidden files
2023-06-09 15:30:48 +02:00
Rémi Verschelde
a3a8d3463e
Merge pull request #74948 from AThousandShips/animation_key
...
Fix type check in AnimationTrackKeyEdit for methods
2023-06-09 15:30:16 +02:00
Rémi Verschelde
a5de7e3820
Merge pull request #78046 from Calinou/editor-capitalization-add-textfile
...
Add TextFile to editor property capitalizations
2023-06-09 15:11:29 +02:00
Hugo Locurcio
695c69232e
Add TextFile to editor property capitalizations
...
This is used in the TextFile Extensions editor setting.
2023-06-09 14:27:46 +02:00
Rémi Verschelde
b6bb244aad
Merge pull request #78042 from timothyqiu/phantom
...
Fix heap-use-after-free when editing project tags
2023-06-09 13:44:51 +02:00
Haoyu Qiu
fade92e4a8
Fix heap-use-after-free when editing project tags
2023-06-09 18:34:07 +08:00
Haoyu Qiu
59f60dc4e5
Disable auto translate for some controls in Project Manager
2023-06-09 18:18:53 +08:00
Rémi Verschelde
b083c1dbf5
Merge pull request #78005 from Sauermann/fix-some-simplifications
...
Some code simplifications
2023-06-09 11:06:26 +02:00
Rémi Verschelde
9b31d257ae
Merge pull request #77861 from ajreckof/fix-being-able-to-delete-new-key/value-from-dictionary-editor
...
Fix being able to delete new key/value from dictionary editor.
2023-06-09 11:05:36 +02:00
Rémi Verschelde
166643df32
Merge pull request #74937 from bitsawer/fix_uniform_storage
...
Fix shader uniform storage conversions and crash
2023-06-09 11:04:16 +02:00
Rémi Verschelde
577ab3c565
Merge pull request #75746 from ajreckof/order_autocomplete
...
Sort code autocompletion with rules
2023-06-08 18:14:31 +02:00
Markus Sauermann
5ddab1f363
Some code simplifications
...
AnimationNodeBlendSpace2DEditor:
- `!tree` is always false, because it is checked a few lines above
CurveEdit:
- grabbing != GRAB_NONE is redundant
GradientTexture2DEdit:
- grabbed != HANDLE_FROM is redundant
- grabbed != HANDLE_TO is redundant
Viewport:
- index is not used afterwards
- In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT
- simplify `stopped` calculation
2023-06-08 16:15:22 +02:00
Fredia Huya-Kouadio
b2cd6a8a95
Add setting to control the window used to run the project for the Android editor
...
The follow options were added to the (new) `run/window_placement/android_window` editor setting:
- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- `Auto`: choose how to run the project based on the device screen size
2023-06-07 18:32:52 -07:00
kobewi
0972e15df5
Improve some tile editor hint labels
2023-06-07 15:59:19 +02:00
Rémi Verschelde
ea6a141fff
Merge pull request #77939 from MewPurPur/optimize-default-theme-svg
...
Optimize and fix the default theme SVGs
2023-06-07 13:32:01 +02:00
Rémi Verschelde
9a489f4fdf
Merge pull request #77929 from MJacred/fix/gles_info_fetch
...
Replace get_rendering_device() call to prevent crashes on OpenGL.
2023-06-07 11:02:12 +02:00
VolTer
995880e60b
Optimize and fix the default theme SVGs
2023-06-07 05:40:58 +02:00
kobewi
16ac217aa0
Draw materials in tile atlas view
2023-06-07 01:03:55 +02:00
MJacred
2c5e2196bd
Replace get_rendering_device() call to prevent crashes on OpenGL.
...
And make OpenGL video adapter info align with Vulkan.
2023-06-06 23:29:36 +02:00
Rémi Verschelde
46c4068821
Merge pull request #77170 from lawnjelly/scu_build_master
...
Add support for single compilation unit builds
2023-06-06 17:58:09 +02:00
lawnjelly
b69c8b4791
Single Compilation Unit build.
...
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
Rakka Rage
6dbae30000
Add tile_animation_mode option:
...
- to tile animation properties
- when "Default" each animation starts at time 0.
- when "Random Start Times" each animation starts at random time.
2023-06-06 09:31:18 -04:00
Yuri Sizov
df38a53e05
Merge pull request #77756 from MewPurPur/In-my-ongoing-pursuit-of-optimization-I-undertook-the-task-of-meticulously-refining-and-streamlining-a-substantial-quantity-of-Scalable-Vector-Graphics-files-with-the-goal-of-maximizing-their-operational-effectiveness-and-resource-utilization
...
Reduce the total size of our SVGs by 15%
2023-06-06 12:41:16 +02:00
Yuri Sizov
2cec7e9ca6
Merge pull request #77849 from TokageItLab/add-spring-tween-to-track-editor
...
Add spring tween to `AnimationTrackEditor`
2023-06-06 12:37:35 +02:00
Yuri Sizov
70a82c0b2f
Merge pull request #77900 from bruvzg/key_conv
...
[Input Map] Generate missing values instead of disabling options.
2023-06-06 12:31:47 +02:00
Yuri Sizov
9fbbb4592d
Merge pull request #68697 from MewPurPur/dependency-editor-thinks-every-resource-is-scene
...
Fix "View Owners" dialog not acknowledging that some resources aren't scenes
2023-06-06 12:29:50 +02:00
bruvzg
c3cb846f72
[Input Map] Generate missing values instead of disabling options.
2023-06-06 10:55:00 +03:00
Rémi Verschelde
67c0467e04
Merge pull request #77860 from ajreckof/add-move-control-points-button-for-Path3D
...
Add move control points button to Path3D Editor.
2023-06-05 18:05:02 +02:00
Rémi Verschelde
89ef3e2c16
Merge pull request #77852 from ajreckof/make-3Dview-pan-in-the-right-way-with-trackpads
...
Make panning the 3D view with trackpad goes the right way
2023-06-05 18:04:58 +02:00
Rémi Verschelde
d214dc5a0c
Merge pull request #77796 from MewPurPur/yeah-no-one-needs-exaseconds
...
Fix profilers' GUI trees
2023-06-05 13:42:54 +02:00
Rémi Verschelde
e3681eb05f
Merge pull request #77632 from Wiwip/inline-edit-fix
...
Inline edit for FileSystem dock in SPLIT_MODE
2023-06-05 13:42:11 +02:00
ajreckof
31022d96a5
Fix being able to delete new key/value from dictionary editor.
2023-06-05 05:38:09 +02:00
ajreckof
7f4f219a24
Add move control points button to PAth3D Editor
2023-06-05 04:54:48 +02:00
ajreckof
05dd9c0f8b
Make panning the 3D view with trackpad goes the right way
2023-06-05 02:12:52 +02:00
Silc Lizard (Tokage) Renew
14205804a9
Add spring tween to AnimationTrackEditor
2023-06-05 05:02:27 +09:00
kobewi
b958935550
Fix Image -> Texture2D inspector auto-conversion
2023-06-04 15:21:52 +02:00
VolTer
119456304b
Reduce the total size of our SVGs by 15%
2023-06-04 15:11:48 +02:00
VolTer
6f1adb72db
Fix profilers' GUI trees
2023-06-03 11:47:59 +02:00
Rémi Verschelde
5b3019dbca
Merge pull request #77782 from RandomShaper/fix_hc_bind_type
...
Use right type in the binding of DocCache::classes
2023-06-03 01:41:34 +02:00
kobewi
09d5884b0d
Enable bookmarks gutter
2023-06-02 22:40:29 +02:00
Wiwip
28038feb04
Permits the renaming of files and folders inline for items in the FileSystemDock.
...
This is a continuation of: https://github.com/godotengine/godot/pull/76794 which didn't consider DISPLAY_MODE_SPLIT.
Fixes: https://github.com/godotengine/godot/issues/77527 and https://github.com/godotengine/godot-proposals/issues/4933
2023-06-02 16:29:07 -04:00
Pedro J. Estébanez
f9836fed72
Use right type in the binding of DocCache::classes
2023-06-02 22:03:21 +02:00
VolTer
d7eefc3b1c
Fix DependecyEditorOwners not acknowledging non-scene resources
2023-06-02 20:18:33 +02:00
kobewi
6e5a78ebb5
Preserve vector ratio when dragging through 0
2023-06-02 19:35:18 +02:00
kobewi
bf02aabfe1
Simplify linked vector ratio logic
2023-06-02 16:05:28 +02:00
Yuri Sizov
dc8a0c3cd1
Merge pull request #77674 from ProbablyWorks/77562-tilemap-center-view-button-offset-fix
...
Set the grow direction for the "Center View" button in the TileMap editor
2023-06-02 15:52:44 +02:00
Yuri Sizov
5b5186383e
Merge pull request #77148 from ajreckof/prevent_unselectable_editor_property_from_being_selected_on_RMB
...
Prevent selecting unselectable `EditorProperty` with RMB
2023-06-02 13:10:36 +02:00
João Pedro Braz
670b7bec9a
Add the "inner_item_margin" Theme constant to the Tree control
...
This PR adds the "inner_item_margin" Theme constant to the Tree Control.
It behaves like a horizontal padding (in CSS), but only in the active
writing direction (So on LTR it'll apply a left padding and on RTL right
padding).
The Editor Theme has been updated to make use of this and a result items
in Trees and ItemLists no longer "hugs" their border, expressing a proper
spacing instead.
2023-06-02 11:32:40 +02:00
ProbablyWorks
882ffdfaae
set the grow direction of the center view button after setting the anchors
2023-06-01 21:44:16 -04:00
Kongfa Waroros
aeb9b8381a
Add null checking when finding a lightmap baking path
2023-06-02 04:06:19 +07:00
iwek
b0df2e1552
Update comment toggle behavior in CodeEdit
2023-06-01 19:11:57 +02:00
Rémi Verschelde
42775ff75b
Merge pull request #77705 from MewPurPur/less-code-for-mouse-exit
...
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-06-01 15:52:12 +02:00
Rémi Verschelde
0b5c5022f2
Merge pull request #77663 from RedworkDE/audiostream-preview-crash
...
Fix crash in AudioStream preview
2023-06-01 15:52:08 +02:00
Rémi Verschelde
f912457d10
Merge pull request #77640 from MewPurPur/improve-worldboundary-icon
...
Tweak WorldBoundaryShape icon
2023-06-01 15:52:04 +02:00
Rémi Verschelde
f77dee90a6
Merge pull request #76389 from ajreckof/editor-property-nodepath-for-node
...
Fix typed array export
2023-06-01 00:40:40 +02:00
kobewi
53a15d85be
Get rid of mouse wheel switch in scene tabs
2023-05-31 22:21:40 +02:00
VolTer
6566b96b63
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-05-31 20:03:04 +02:00
Yuri Sizov
282f5ebda1
Merge pull request #47628 from Calinou/2d-editor-remove-contrained-view
...
Remove constrained view in the 2D editor
2023-05-31 16:35:54 +02:00
kobewi
b8a136c385
Add Center View button to 2D editor
2023-05-31 12:56:18 +02:00
Yuri Sizov
e7345c3e89
Merge pull request #77208 from KoBeWi/the_tooltip_centipede
...
Small rework of tooltip plugins
2023-05-31 12:37:42 +02:00
Yuri Sizov
7b379b1438
Merge pull request #74767 from davthedev/main_margins_themeable
...
Make main editor window border margin controllable by theme
2023-05-31 12:37:15 +02:00
Yuri Sizov
8d6c472f6a
Merge pull request #77135 from KoBeWi/Vector∞
...
Refactor vector editor properties
2023-05-31 12:36:37 +02:00
kobewi
267728a240
Refactor vector editor properties
2023-05-31 00:14:28 +02:00
kobewi
5baebf75f2
Small rework of tooltip plugins
2023-05-30 23:13:50 +02:00
VolTer
c7c6b7aeaf
Tweak WorldBoundaryShape icon
2023-05-30 20:36:53 +02:00
RedworkDE
301731c7e6
Fix crash in AudioStream preview
2023-05-30 20:26:10 +02:00
David Giardi
a8fc343f80
Make main editor window border margin controllable by theme
2023-05-30 19:19:39 +02:00
Yuri Sizov
c0ee762f46
Merge pull request #77655 from bitsawer/fix_strange_fragments
...
Fix suspicious code related to text rendering
2023-05-30 16:03:44 +02:00
Yuri Sizov
24f650574a
Merge pull request #77652 from MewPurPur/the-ultimate-svg-optimization-PR
...
Optimize even more SVG icons
2023-05-30 15:11:01 +02:00
Yuri Sizov
f6db010f5d
Merge pull request #75047 from KoBeWi/#new_#feature_#tags_#much_#wow
...
Add project tags
2023-05-30 13:40:35 +02:00
bitsawer
78361370ec
Fix issues found by a static analyzer
2023-05-30 12:47:50 +03:00
VolTer
829beafd57
Optimize many SVG icons
2023-05-30 10:40:07 +02:00
Rémi Verschelde
8f25cc2d13
Merge pull request #77621 from MewPurPur/fix-text-mesh-icon
...
Fix TextMesh icon and some related ones
2023-05-30 09:33:29 +02:00
Rémi Verschelde
a65825cf72
Merge pull request #77597 from MewPurPur/highlighter-icons
...
Add syntax highlighter icons
2023-05-30 09:33:25 +02:00
Rémi Verschelde
c79f96d23a
Merge pull request #77592 from nklbdev/fix_update_animation_duration_in_every_selected_tile
...
Fix update animation frame duration in every selected tile
2023-05-30 09:33:20 +02:00
Rémi Verschelde
60871fd4b7
Merge pull request #77574 from MJacred/editor/system_info_single_line
...
Make system information for issue reports single-line
2023-05-30 09:33:13 +02:00
kobewi
e767ff5695
Add project tags
2023-05-30 00:53:02 +02:00
MJacred
ca1ee316b5
Make system information for issue reports single-line
...
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name
2023-05-29 22:20:40 +02:00
VolTer
1740f7ea53
Add syntax highlighter icons
2023-05-29 20:42:54 +02:00
Nikolay Lebedev
779c39f478
Fix update animation frame duration in every selected tile
2023-05-29 23:15:40 +05:00
VolTer
671866fb83
Fix TextMesh icon and some related
2023-05-29 18:38:17 +02:00
Yuri Sizov
fd5faae29c
Merge pull request #75983 from timothyqiu/dialog-rebase
...
Fix theme of editor VCS dialogs
2023-05-29 17:42:16 +02:00
Yuri Sizov
ee7b26403b
Merge pull request #77433 from YuriSizov/editor-reparented-popups-fix
...
Fix auto-reparenting logic in the `ProgressDialog`
2023-05-29 17:30:46 +02:00
Yuri Sizov
fc83a2e323
Merge pull request #71843 from Rindbee/do-not-cache
...
Do not cache the doc information written by user in the script in Inspector
2023-05-29 17:23:48 +02:00
Yuri Sizov
4c5c7cbb58
Fix auto-reparenting logic in the `ProgressDialog`
...
* Make sure `Popup` signals are disconnected when unparented.
* Remove a fail condition from `Window::is_embedded` when
not in tree.
2023-05-29 17:02:16 +02:00
jpcerrone
c206c88adf
Add joypad input map conversion to project converter.
...
Fixes godotengine#77314 (Input Map's joypad button numbers are not converted).
2023-05-29 11:35:35 -03:00
Haoyu Qiu
b30a332009
Fix theme of editor VCS dialogs
...
These dialogs were added to the plugin itself so theme can't be
propagated.
Also moved initialization of the VCS menu after the creation of
EditorInterface.
2023-05-29 21:25:31 +08:00
bitsawer
23c375d6b4
Fix shader uniform storage conversions and crash
2023-05-29 15:17:13 +03:00
Rémi Verschelde
2f57da2907
Merge pull request #77578 from RedworkDE/invalidate-doccache-on-change
...
Invalidate the DocCache when updating the XML docs
2023-05-29 12:23:05 +02:00
Rémi Verschelde
d3867e3a64
Merge pull request #77556 from MewPurPur/optimize-csgsvgs
...
Optimize CSG icons and more
2023-05-29 12:22:57 +02:00
Yuri Sizov
294b1a731a
Merge pull request #63732 from DarkMessiah/create-new-node-arrow-navigation
...
Add arrow navigation for the Create New Node window
2023-05-29 12:21:29 +02:00
VolTer
1f4c5a702c
Optimize CSG icons and more
2023-05-29 11:26:10 +02:00
Rémi Verschelde
74f848a9c4
Merge pull request #77495 from MewPurPur/fix-environment-icon
...
Fix WorldEnvironment icon
2023-05-29 10:29:21 +02:00
Rémi Verschelde
02889c721f
Merge pull request #77492 from MewPurPur/optimize-more-svg
...
Manually optimize a lot of SVGs
2023-05-29 10:29:17 +02:00
Rémi Verschelde
f37d82c0f7
Merge pull request #77376 from MewPurPur/input-event-icons
...
Add InputEvent icons
2023-05-29 10:29:12 +02:00
Rémi Verschelde
aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
...
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
...
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
990943782a
Merge pull request #74959 from MewPurPur/nice-curves
...
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
Rémi Verschelde
9f05e16727
Merge pull request #70940 from MewPurPur/better-gradient2d-editor
...
Improvements to Gradient2D Editor
2023-05-29 10:28:46 +02:00
Rémi Verschelde
6dcd490d03
Merge pull request #66763 from MewPurPur/remove-bookmark-hiding
...
Remove editor setting for hiding bookmarks
2023-05-29 10:28:37 +02:00
RedworkDE
67e8c57f03
Invalidate the DocCache when updating the xml docs
2023-05-28 17:08:27 +02:00
VolTer
a3c4a4b039
Overhaul the Curve Editor
2023-05-28 14:17:51 +02:00
Stanislav Labzyuk
7b139e77e8
Add spacebar for folding in the Create New Node window
2023-05-28 12:48:34 +02:00
VolTer
21dd647af2
Fix WorldEnvironment icon
2023-05-28 06:56:37 +02:00
Hannah Crawford
adb86dda82
Add Additional Physics Options to Scene Importer.
2023-05-27 23:40:24 +01:00
Yuri Sizov
c670c4334a
Merge pull request #65902 from MJacred/editor/copysysteminfo
...
Add an editor option to copy system info to clipboard
2023-05-27 20:11:54 +02:00
VolTer
6f6fbb93be
Manually optimize a lot of SVGs
2023-05-27 20:03:44 +02:00
MJacred
9e5bf3d589
Copy system info to clipboard + Update bug_report.yml
...
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static
2023-05-27 18:21:23 +02:00
Yuri Sizov
9a3221f1ed
Merge pull request #77419 from MewPurPur/remove-unused-svgs
...
Remove unused SVG icons
2023-05-27 17:59:54 +02:00
Yuri Sizov
36e7800679
Merge pull request #77511 from KoBeWi/destroy_size()
...
Minor improvements to sub-resource list
2023-05-27 17:51:06 +02:00
Yuri Sizov
9128ed4719
Merge pull request #77517 from KoBeWi/TranslateThisRightNow
...
Translate inspector changes indicator
2023-05-27 17:39:19 +02:00
Yuri Sizov
7483864b79
Merge pull request #75949 from YuriSizov/import-split-texture-meta
...
Split editor-specific import metadata for textures
2023-05-27 17:06:16 +02:00
Silc Lizard (Tokage) Renew
c9c8205644
Implement NodeSub2 to AnimationTree & improve mathematical Nodes
2023-05-27 13:19:54 +09:00
JoNax97
c07b2fcf4d
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-26 16:18:01 -03:00
Yuri Sizov
b856188904
Split editor-specific import metadata for textures
2023-05-26 18:48:23 +02:00
Rémi Verschelde
2210111eb5
Merge pull request #77521 from KoBeWi/to_StringName_or_not_to_StringName
...
Add indicator for StringName properties
2023-05-26 18:16:10 +02:00
Rémi Verschelde
5de3f5c317
Merge pull request #77467 from bitsawer/fix_shader_editor_crash
...
Fix shader editor crash
2023-05-26 18:15:20 +02:00
kobewi
54be252259
Add indicator for StringName properties
2023-05-26 17:49:01 +02:00
kobewi
adf427c806
Translate inspector changes indicator
2023-05-26 15:55:51 +02:00
kobewi
05663b8633
Minor improvements to sub-resource list
2023-05-26 14:37:30 +02:00
kobewi
8eb076a630
Uncollapse res:// by default
2023-05-26 13:25:09 +02:00
Rémi Verschelde
95d745f8dc
Merge pull request #77382 from rakkarage/tileset_merge_crash
...
Fix crash when using tile atlas merge with recreated alt tile
2023-05-26 11:23:03 +02:00
Rémi Verschelde
15b7a8e7f1
Merge pull request #77505 from lyuma/rest_fixer_skin_mutation
...
Avoid mutating the same Skin multiple times.
2023-05-26 11:02:54 +02:00
Rémi Verschelde
2cade057ec
Merge pull request #77502 from KoBeWi/use_this_method_if_you_value_your_code
...
Add `get_edited_property_value()` shorthand method
2023-05-26 11:02:30 +02:00
Rémi Verschelde
32dc7eeaed
Merge pull request #77479 from MewPurPur/improve-ray-shape-icon
...
Improve RayShape3D icon
2023-05-26 11:01:19 +02:00
Rémi Verschelde
699b66b62d
Merge pull request #77010 from dsnopek/gdextension-editor-plugins
...
Allow GDExtensions to add editor plugins
2023-05-26 11:00:32 +02:00
Lyuma
5ae311e577
Avoid doubly mutating the same Skin in rest fixer
...
Fixes a regression from #77123 that was caused by removal of ibm_diffs variable.
This replaced idempotent code with code that applied an offset each time.
If the same Skin was visited multiple times, this caused an incorrect result.
2023-05-26 00:49:24 -07:00
kobewi
010ce46ffa
Add get_edited_property_value() shorthand method
2023-05-26 09:18:53 +02:00
bitsawer
993e671dc0
Fix shader editor crash
2023-05-26 07:01:23 +03:00
bruvzg
2af75a066f
[Editor] Enable multithread processing for the editor log.
2023-05-25 22:14:15 +03:00
VolTer
11acf0ac96
Improve RayShape3D icon
2023-05-25 18:33:36 +02:00
VolTer
47a81a79aa
Add a few InputEvent icons
2023-05-25 17:43:32 +02:00
David Snopek
3007163210
Allow GDExtensions to add editor plugins
2023-05-25 09:14:29 -05:00
Rémi Verschelde
2eec9a67d5
Merge pull request #77473 from KoBeWi/get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_root().get_tree().get_edited_scene_root()
...
Don't create bones from empty scene
2023-05-25 15:59:07 +02:00
Rémi Verschelde
24a258d8a0
Merge pull request #77123 from lyuma/child_mesh_retarget
...
Adjust BoneAttachment3D children/meshes during rest fixer
2023-05-25 15:58:12 +02:00
kobewi
e5b6b3e1e3
Don't create bones from empty scene
2023-05-25 14:57:08 +02:00
smix8
66a8418a2d
Remove unnecessary Clipper lib includes
...
Removes unnecessary Clipper lib includes.
2023-05-24 23:57:08 +02:00
Rémi Verschelde
95bea896da
Merge pull request #77418 from MewPurPur/unify-stylebox-grid-textures
...
Improve StyleBox preview a little
2023-05-24 18:36:33 +02:00
VolTer
f65b9ee56c
Improve StyleBox preview a little
2023-05-24 15:40:56 +02:00
Yuri Sizov
f1b4c3d6e1
Fix a crash when hovering over "Favorites" in the FileSystem dock
2023-05-24 14:22:03 +02:00
Rémi Verschelde
c39c565307
Merge pull request #72842 from TokageItLab/fix-pathfollow
...
Fix Pathfollow direction and add Z forward option
2023-05-24 10:52:46 +02:00
Silc Renew
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
Rémi Verschelde
299f0ae3db
Merge pull request #76052 from TokageItLab/fix-viewport-axis
...
Fix 3D Viewport Front/Rear axis and Focus button
2023-05-24 10:34:12 +02:00
Rémi Verschelde
7bdc45870f
Merge pull request #77421 from MewPurPur/OwO-wats-dis
...
Fix BoxOccluder SVG
2023-05-24 10:33:46 +02:00
Rémi Verschelde
f92634a709
Merge pull request #77389 from vmedea/tooltip-pattern-index
...
Add pattern index tooltip to tilemap and tileset editor
2023-05-24 08:49:33 +02:00
Rémi Verschelde
692a76d9a5
Merge pull request #77385 from rakkarage/tileset-atlas-merge-filter
...
Make tile atlas merge dialog use filter nearest on right side, like left. To avoid blurry tiles.
2023-05-24 08:49:03 +02:00
Rémi Verschelde
390d87e974
Merge pull request #71352 from m4gr3d/editor_optimization_main
...
Improve startup benchmarking
2023-05-24 08:43:52 +02:00
Rémi Verschelde
adbdf9a86e
Merge pull request #77234 from RandomShaper/fix_rtl_mt
...
Allow threads to mark themselves as safe for nodes
2023-05-24 08:42:59 +02:00
VolTer
2ce1ea3c79
Fix BoxOccluder SVG
2023-05-24 06:09:57 +02:00
VolTer
860f51b050
Remove unused SVG icons
2023-05-24 05:59:53 +02:00
Pedro J. Estébanez
e725b4b02b
Allow threads to mark themselves as safe for nodes
2023-05-24 00:22:58 +02:00
Fredia Huya-Kouadio
831b4a5366
Improve startup benchmarking
...
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 -07:00
Rakka Rage
855d78e458
Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
2023-05-23 14:46:02 -04:00
mara
93248684b4
Add pattern index tooltip to tilemap and tileset editor
...
Just a little UI convenience feature. Knowing the index (without having
to count manually) is convenient when working with tile patterns
programmatically, especially when having lots of them.
2023-05-23 19:28:06 +02:00
Rémi Verschelde
f581f21dd6
Merge pull request #77399 from AThousandShips/rpc_convert_fix
...
Ensure quotes are escaped when converting builtin scripts
2023-05-23 19:15:17 +02:00
Rémi Verschelde
59a35194bf
Merge pull request #77394 from YuriSizov/editor-vshaders-delay-init
...
Delay initialization of the visual shader editor UI
2023-05-23 19:15:13 +02:00
Rémi Verschelde
8f9e0672fb
Merge pull request #77297 from puchik/popup-close-key-mapping
...
Use defined key mapping for closing popups and dialogs
2023-05-23 19:14:31 +02:00
Rémi Verschelde
7b802ed150
Merge pull request #77291 from Calinou/editor-log-highlight-decrease-padding
...
Disable padding around highlighted rich text in the editor Output panel
2023-05-23 19:14:27 +02:00
Ninni Pipping
ef4422e3e1
Ensure quotes are escaped when converting builtin scripts
2023-05-23 17:05:14 +02:00
Rakka Rage
88d2ed433d
Fix crash when using tile atlas merge with recreated alt tile
2023-05-23 10:32:02 -04:00
Yuri Sizov
edf47f1ee4
Delay initialization of the visual shader editor UI
...
This makes sure that the theme is ready to be used before the
methods is called.
Also add missing icons (and update some existing).
Co-authored-by: Samuel Wilson <yokomeshi@gmail.com>
2023-05-23 15:20:42 +02:00
Silc Lizard (Tokage) Renew
4e4259bd79
Fix 3D Viewport Axis button draw order bug
2023-05-23 16:21:19 +09:00
Silc Lizard (Tokage) Renew
4d3d800d33
Revert "Fix swapped front/rear view"
...
This reverts commit f995d6cd17
.
2023-05-23 16:21:19 +09:00
ajreckof
006e899bb3
sort code completions with rules
...
Fixups
Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible
Trying again to improve code completion
Sort code autocompletion options by similarity based on input
To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.
It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.
Also moves CodeCompletionOptionCompare to code_edit.cpp
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02:00
Rémi Verschelde
061c6f2acf
Merge pull request #77318 from MewPurPur/optimize-svg-ellipses
...
Optimize and/or improve some SVG icons
2023-05-22 22:36:24 +02:00
VolTer
eef8c27a08
Optimize and/or improve some SVG icons
2023-05-22 21:15:27 +02:00
Yuri Sizov
903dda8337
Merge pull request #77179 from KoBeWi/that's_a_lot_of_files
...
Add scrolling to overwrite dialog
2023-05-22 20:17:26 +02:00
Rémi Verschelde
6a3095acb8
Merge pull request #77276 from RandomShaper/avoid_first_import_error_spam
...
Avoid error spam on first opening of a not yet imported project
2023-05-22 17:02:16 +02:00
Rémi Verschelde
5d16efae9a
Merge pull request #77225 from JBrowne017/issue-77190
...
Allow up to INT32_MAX max size in Array/Dictionary editor
2023-05-22 17:02:09 +02:00
Rémi Verschelde
fb613fd430
Merge pull request #77251 from RandomShaper/fix_editor_mt
...
Make certain editor callbacks thread-safe
2023-05-22 13:49:11 +02:00
Rémi Verschelde
4f17a94d69
Merge pull request #74341 from dalexeev/sprite-frames-texture-filter
...
Use nearest with mipmaps texture filter in SpriteFrames editor plugin
2023-05-22 13:48:18 +02:00
ajreckof
465742d904
Fix typed array export
...
Apply suggestions from code review to squash later
Revert "Fix typed array export... again"
This reverts commit da8d6734fb
.
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2023-05-21 08:40:11 +02:00
Arman Elgudzhyan
8ab2cf3d2d
Use defined key mapping for closing popups and dialogs
...
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
2023-05-20 17:39:59 -07:00
Hugo Locurcio
0d1f6adf98
Disable padding around highlighted rich text in the editor Output panel
...
This prevents `[bgcolor]` and `[fgcolor]` rendering from overlapping
on nearby characters (especially on the line below).
This also makes it look closer to terminal output (which never uses padding).
2023-05-21 00:06:23 +02:00
Pedro J. Estébanez
ed9dc792df
Avoid error spam on first opening of a not yet imported project
2023-05-20 11:45:02 +02:00
Pedro J. Estébanez
2648232fe8
Make certain editor callbacks thread-safe
2023-05-20 11:17:41 +02:00
Hugo Locurcio
86314e1e53
Remove constrained view in the 2D editor
...
We initially added an option to disable constraining the 2D editor view.
This setting was still enabled by default to avoid confusing users
who end up scrolling too far away from their current scene
(which is a problem if you don't know about the F key to focus
on the selection).
However, it's probably a better choice to unconstrain the 2D editor view
by default because:
- Lots of people don't know about this setting and wonder how they
can scroll far away from the scene. This feels really limiting for them,
and it can even lead to some people thinking Godot intentionally limits
scene sizes.
- The 3D editor doesn't have such a contrain mechanism.
This makes the 2D editor more consistent with the 3D editor.
2023-05-20 03:01:12 +02:00
Jackson Thomas Browne
4fb7aac651
Replace magic num in editor_properties_array_dict
...
Quick update to editor/editor_properties_array_dict max size.
Currently, an array in the EditorInspector won't display a number higher than 1,000,000.
In place of the current magic number this sets the max to be the INT32_MAX.
This eludes the magic number in place and is sufficiently large.
Resolves #77190
2023-05-19 14:34:22 -07:00
Rémi Verschelde
150acefb39
Merge pull request #77221 from hakro/fix-animation-frames-editor
...
Hide Animation Frames section when there are no animations
2023-05-19 10:11:50 +02:00
Rémi Verschelde
9dfae0eb0f
Merge pull request #77217 from hakro/disable-nodepath-auto-translate
...
Do not translate node name when assigned to an exported field
2023-05-19 10:11:26 +02:00
Rémi Verschelde
9a0e250638
Merge pull request #77184 from KoBeWi/all_scene_sub-resources,_not_other_scene's,_not_external,_only_this_scene's
...
Filter extraneous resources from sub-resource list
2023-05-19 10:11:02 +02:00
Rémi Verschelde
7951252e42
i18n: Sync translations with Weblate
...
(cherry picked from commit acc82a1d05
)
2023-05-19 08:57:37 +02:00
Rémi Verschelde
57c49a4447
i18n: Sync translations with Weblate
...
(cherry picked from commit 9cd9a07c27
)
2023-05-19 08:57:25 +02:00
Hakim
9cf2d0f058
Hide Animation Frames section when there are no animations and show message
2023-05-19 01:14:11 +02:00
Hakim
f2383b7c19
Do not translate node name when assigned to an exported field
2023-05-18 22:10:52 +02:00
kobewi
e729c46b19
Filter extraneous resources from sub-resource list
2023-05-18 01:15:27 +02:00
kobewi
ab787fe4d2
Add scrolling to overwrite dialog
2023-05-18 00:09:44 +02:00
Rémi Verschelde
6d3935d42d
Merge pull request #77160 from KoBeWi/Control_is_invertebrate
...
Fix crash when trying to create bones from Control
2023-05-17 15:59:28 +02:00
kobewi
6a120107b3
Fix crash when trying to create bones from Control
2023-05-17 15:53:49 +02:00
ajreckof
088435ab78
prevent selecting unselectable `EditorProperty` with RMB
2023-05-17 05:56:24 +02:00
jpcerrone
0985019c28
Fix Input Map key assignments missing after project conversion
...
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.
2023-05-16 14:39:04 -03:00
Rémi Verschelde
557fa5c31a
Merge pull request #77081 from KoBeWi/yo_dawg_I_heard_you_like_projects,_so_I_put_a_project_in_your_project
...
Print a warning when a nested project is detected
2023-05-16 11:01:55 +02:00
Rémi Verschelde
965db42911
Merge pull request #77080 from KoBeWi/spam_error_log_with_multiple_threads_for_better_spam_efficiency
...
Allow showing messages from threads in Editor Log
2023-05-16 11:01:32 +02:00
Rémi Verschelde
f868b4781b
Merge pull request #76684 from KoBeWi/this_branch_is_meta
...
Add background panel to new meta dialog
2023-05-16 11:00:21 +02:00
Rémi Verschelde
508a5bf16e
Merge pull request #76025 from YuriSizov/editor-reparentable-windows
...
Expose dialog parent-and-popup logic to the API
2023-05-16 10:49:09 +02:00
Lyuma
7b71061b3e
Adjust BoneAttachment3D children/meshes during rest fixer
...
Also simplifies equivalent matrix math which previously used ibm_diffs to calculate skinned mesh offsets.
2023-05-16 01:34:54 -07:00
Rémi Verschelde
8cfa19a078
Merge pull request #77000 from reduz/make-more-base-nodes-thread-safe
...
Make more base nodes thread safe
2023-05-16 00:31:56 +02:00
Yuri Sizov
17f492fb82
Expose dialog parent-and-popup logic to the API
2023-05-15 19:49:28 +02:00
Juan Linietsky
0a9f72d5a8
Make more base nodes thread safe
...
Ongoing work to make more of the base nodes thread safe.
2023-05-15 16:54:10 +02:00
Samuele Panzeri
55db54a9f0
Additional cleanup of editor bones
...
As discussed in the editor channel in RC, additional cleanup for BoneTransformEditor to move editor creation in construction and access theme in NOTIFICATION_THEME_CHANGED
2023-05-15 14:07:55 +02:00
Rémi Verschelde
b497729c92
Merge pull request #77074 from spanzeri/fix-theme-crash-skeleton-editor
...
Fix Skeleton3D editor crash regression after #76592
2023-05-15 13:46:30 +02:00
Rémi Verschelde
f5d8a72e6d
Merge pull request #77034 from kleonc/spriteframes-editor-toolbar-flowcontainer
...
Make SpriteFrames editor toolbar a `FlowContainer`
2023-05-15 13:44:56 +02:00
Rémi Verschelde
9853da4bfe
Merge pull request #77009 from jpcerrone/fix_errors_while_reordering_input_maps
...
Fix errors that appear while reordering input map entries
2023-05-15 13:44:33 +02:00
Rémi Verschelde
591115dcde
Merge pull request #76989 from dalexeev/fix-draw-multiline-colors-usage
...
Fix `draw_multiline_colors` usage
2023-05-15 13:44:09 +02:00
Samuele Panzeri
a103cd76bb
Fix skeleton 3d editor crash in RC3
...
Control notifies a theme changed before the editor has entered the tree
2023-05-15 12:12:48 +02:00
Rémi Verschelde
e2f27a2248
Merge pull request #77042 from dioptryk/obj-vertex-colors-master
...
Add support for non-standard OBJ vertex entries
2023-05-15 09:34:59 +02:00
Rémi Verschelde
716f788b98
Merge pull request #77033 from dalexeev/editor-help-fix-array-links
...
EditorHelp: Fix displaying typed `Array` links
2023-05-15 09:34:35 +02:00
Rémi Verschelde
0f5e9a52da
Merge pull request #77027 from brno32/hide-properties-when-overriden
...
Exclude overriden properties from Property Descriptions section
2023-05-15 09:33:48 +02:00
Danil Alexeev
cc44d75cd8
Fix `draw_multiline_colors` usage
2023-05-15 09:56:13 +03:00
kobewi
d1a114470c
Print a warning when a nested project is detected
2023-05-15 02:04:58 +02:00
kobewi
61465ee9a1
Allow showing messages from threads in Editor Log
2023-05-15 01:58:27 +02:00
Alex Drozd
28f391f301
Exclude overriden properties from Property Descriptions section
2023-05-14 17:41:14 +02:00
Bartłomiej Karwacki
444d211a8d
Add support for non-standard OBJ vertex entries
2023-05-13 22:37:38 +02:00
kleonc
d58e832062
Make SpriteFrames editor toolbar a FlowContainer
2023-05-13 16:00:25 +02:00
Danil Alexeev
a16b2fc3b6
EditorHelp: Fix displaying typed `Array` links
2023-05-13 16:09:35 +03:00
Summersay415
289af4f73c
Add Vector4i icon
2023-05-13 16:20:56 +07:00
jpcerrone
c6ea376842
fix errors while reordering input maps
2023-05-12 16:15:16 -03:00
Rémi Verschelde
ca26d9dc48
Merge pull request #71280 from RandomShaper/fix_deadlock_windows
...
Enhance thread-safety of loaders and importers (a.k.a. fix editor deadlock)
2023-05-12 20:12:32 +02:00
kobewi
27dccf1b5e
Enhance filesystem dock tooltips
2023-05-12 19:28:34 +02:00
Pedro J. Estébanez
45d0b38076
Enhance thread safety of loaders and importers
2023-05-12 17:44:48 +02:00
Pedro J. Estébanez
7537a0521f
Simplify ResourceLoader error callbacks
2023-05-12 17:44:48 +02:00
ajreckof
6f596ee903
fix paste value not updated in dictionaries/arrays
2023-05-12 16:13:35 +02:00
Rémi Verschelde
65778525bf
Merge pull request #76967 from martinboue/export-mode-subheading
...
Fix include text when excluding resources to export
2023-05-12 12:46:50 +02:00
Rémi Verschelde
c90654b565
Merge pull request #76530 from nongvantinh/fix-75982
...
Fixes Node arrays appear as Object arrays in the inspector
2023-05-12 12:46:23 +02:00
Rémi Verschelde
f7374e2db7
Merge pull request #76897 from aaronfranke/debug-stack
...
Rename the Debugger's stack debug section
2023-05-12 11:17:55 +02:00
Rémi Verschelde
645fd5ed0c
Merge pull request #76979 from MewPurPur/unify-audio-bus-textures
...
Remove AudioBusEmpty.svg, use ProgressBar tint instead
2023-05-12 10:06:55 +02:00
Rémi Verschelde
e4f81fb79e
Merge pull request #76964 from aaronfranke/addon-sort
...
Sort the list of addons before saving them
2023-05-12 10:05:44 +02:00
Rémi Verschelde
cc48827e4a
Merge pull request #76946 from AThousandShips/shadow_warning
...
Enable shadow warnings and fix raised errors
2023-05-12 10:04:09 +02:00
Aaron Franke
74361b3d50
Rename the Debugger's stack debug section to Stack Trace
2023-05-11 21:22:24 -05:00
VolTer
7ee5cd26ef
Remove AudioBusEmpty.svg, use ProgressBar tint instead
2023-05-12 01:55:52 +02:00
Martin Boué
886e73683d
Fix include text when excluding resources to export
2023-05-11 21:29:08 +02:00
Aaron Franke
b4129680fb
Sort the list of addons before saving them
2023-05-11 13:39:26 -05:00
Bram Stolk
4bc513edbc
Add missing initializations for Node3DEditor.
...
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925
2023-05-11 08:16:04 -07:00
Ninni Pipping
71ee65dc57
Enable shadow warnings and fix raised errors
2023-05-11 16:00:59 +02:00
Rémi Verschelde
f717cc0a38
Merge pull request #76926 from Sauermann/fix-call-to-unhandled-input
...
Propagate shortcut events to SubViewports
2023-05-11 11:48:46 +02:00
Rémi Verschelde
4020cc8acb
Merge pull request #76794 from Wiwip/inline-edit
...
Inline editor for the file system dock
2023-05-11 11:46:45 +02:00
Rémi Verschelde
3fdf555d43
Merge pull request #76592 from spanzeri/fix-skeletons-and-bones
...
Fix skeleton_3d & physical_bone_3d editor errors
2023-05-11 11:46:21 +02:00
Rémi Verschelde
f7070a64e0
Merge pull request #72277 from Geometror/improve-editor-state-preservation
...
Improve editor state persistence
2023-05-11 11:45:52 +02:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +02:00
Wiwip
b08a6084af
Modifies the file system dock to use the inline editor instead of a dialog.
...
*Bugsquad edit:* Closes https://github.com/godotengine/godot-proposals/issues/4933
2023-05-10 18:49:35 -04:00
Markus Sauermann
ac02086647
Propagate shortcuts to SubViewports
...
`push_unhandled_input` no longer propagates events to `SubViewports`.
2023-05-10 21:56:04 +02:00
Samuele Panzeri
679ff6da0e
Fix skeleton_3d & physical_bone_3d editor errors
2023-05-10 18:03:30 +02:00
Rémi Verschelde
4e1d5be9d3
Merge pull request #76910 from AThousandShips/inspector_fix
...
Make `EditorPropertyNameProcessor` check `EditorSettings` validity
2023-05-10 14:19:15 +02:00
kobewi
04317e9ced
Add metadata to resource previews
2023-05-10 14:03:10 +02:00
Ninni Pipping
6cd9d72abe
Make `EditorPropertyNameProcessor` check `EditorSettings` validity
2023-05-10 13:35:05 +02:00
Rémi Verschelde
74e5ad5c60
Merge pull request #76165 from and-rad/safe-credentials
...
Store sensitive export options in dedicated credentials file
2023-05-10 12:47:07 +02:00
Rémi Verschelde
5271186f2f
Merge pull request #75901 from reduz/refactor-node-processing
...
Refactor Node Processing to allow Scene Multithreading
2023-05-10 12:46:44 +02:00
Rémi Verschelde
31fc7a8525
Merge pull request #62378 from trollodel/gsoc_2022_multiwindow
...
Add multi window code and shader editors (GSOC'22 Project)
2023-05-10 12:46:19 +02:00
Andreas Raddau
fab160ce70
Store sensitive export options in dedicated credentials file
2023-05-10 11:40:17 +02:00
Rémi Verschelde
3b8c828159
Merge pull request #69988 from smix8/navigation_rvo_rework_4.x
...
Rework Navigation Avoidance
2023-05-10 10:19:12 +02:00
Rémi Verschelde
8e608e9467
Merge pull request #64388 from Rindbee/improve-ViewportTexture
...
Improve the UX of ViewportTexture in the editor
2023-05-10 10:18:43 +02:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +02:00
smix8
a6ac305f96
Rework Navigation Avoidance
...
Rework Navigation Avoidance.
2023-05-10 05:01:58 +02:00
Rindbee
af58f1e854
Improve the UX of ViewportTexture in the editor
...
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).
If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.
2023-05-10 09:13:43 +08:00
Rémi Verschelde
ccf8029910
Merge pull request #76730 from AThousandShips/doc_order
...
Make documentation sorting use natural order
2023-05-09 19:28:38 +02:00
Rémi Verschelde
10ed1d87df
Merge pull request #76490 from dsnopek/dump-gdscript-docs
...
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
2023-05-09 19:28:30 +02:00
Rémi Verschelde
de14109862
Merge pull request #73588 from smosages/resolve-display-shader-settings-in-settings-editor
...
Define shader language project settings before creation of `TextShaderEditor` object.
2023-05-09 19:28:17 +02:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
Ninni Pipping
6bccdec7a1
Make documentation sorting use natural order
2023-05-09 17:47:52 +02:00
Rémi Verschelde
72323a57d0
Merge pull request #57894 from Sauermann/fix-subviewport-1
...
Fix unrestricted mouse-event propagation to SubViewports for Physics-Picking
2023-05-09 10:43:49 +02:00
jmb462
d59cdb8327
Fix regression with right click on main selection
2023-05-08 21:56:16 +02:00
David Snopek
a64137d5dd
Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH
2023-05-08 11:00:29 -05:00
Rémi Verschelde
b3bb92ae5e
CI: Use gh-cli for changed files, and workaround codespell skip list bug
...
For PRs, this should give a more accurate list, as the previous method would
diff to the tip of the `master` branch, which could include new commits (and
thus changed files) not present in the PR branch.
codespell's `--skip` option doesn't work at all with folders when used
together with an explicit list of paths to work with, so let's not use it.
2023-05-08 15:36:17 +02:00
Rémi Verschelde
491a437df5
Merge pull request #76540 from reduz/redo-remote-filesystem
...
Redo how the remote filesystem works
2023-05-08 13:52:51 +02:00
Rémi Verschelde
3e6a731904
Merge pull request #76418 from reduz/method-bind-validated-call
...
Add ValidatedCall to MethodBind
2023-05-08 13:52:42 +02:00
Rémi Verschelde
7f6b283212
Merge pull request #74264 from timothyqiu/self-awareness
...
Allow EditorInspector to change its property name style when necessary
2023-05-08 13:52:23 +02:00
Rémi Verschelde
b791a7acb8
Merge pull request #70488 from KoBeWi/SNAP!
...
Add proper snapping to tile polygon editor
2023-05-08 13:52:11 +02:00
Rémi Verschelde
41f1ec1efe
Merge pull request #76798 from KoBeWi/race_condition_except_there_is_no_thread
...
Fix another collision shape editor crash
2023-05-08 12:20:57 +02:00
Rémi Verschelde
eb6d6ab29f
Merge pull request #76658 from Paulb23/convert-indent-code-edit
...
Move convert_indent into CodeEdit
2023-05-08 12:20:37 +02:00
Rémi Verschelde
32fbba4bf6
Merge pull request #76472 from jmb462/multicarets_selection_popup
...
Fix right click in selection of additional caret
2023-05-08 12:20:25 +02:00
Rémi Verschelde
e70777260d
Merge pull request #70911 from Chaosus/vs_custom_gdextension_support
...
Add handling of custom visual shader nodes from GDExtension
2023-05-08 12:20:00 +02:00
Rémi Verschelde
b639076e04
Merge pull request #68800 from KoBeWi/tinfo
...
Add info label to TileMap editor
2023-05-08 12:19:52 +02:00
Juan Linietsky
273a6eeb66
Redo how the remote filesystem works
...
Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes.
The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage.
Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device.
Co-authored-by: m4gr3d
2023-05-08 11:57:54 +02:00
Fredia Huya-Kouadio
bd1bc68ba0
Merge pull request #75718 from m4gr3d/add_scale_editor_icons_main
...
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
2023-05-07 17:05:12 -07:00
Fredia Huya-Kouadio
30824e9818
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:28 -07:00
Jean-Michel Bernard
5c06c030f2
Fix right click in selection of additional caret
2023-05-08 00:02:56 +02:00
VolTer
39b79bbd1e
Improvements to Gradient2D Editor
2023-05-07 22:45:11 +02:00
Paulb23
0b3fba45c6
Move convert_indent into CodeEdit
2023-05-07 13:08:37 +01:00
kobewi
01c32dffaf
Fix another collision shape editor crash
2023-05-07 02:32:20 +02:00
RedworkDE
1324c7d06a
Avoid making unnecessary copies of `LocalVector`
2023-05-06 20:39:03 +02:00
Max Hilbrunner
862cbe2fc6
Merge pull request #76761 from KoBeWi/this_file_ain't_big_enough_for_both_of_us
2023-05-06 15:07:35 +02:00
Max Hilbrunner
115fa34cb4
Merge pull request #76743 from HotHead007/master
2023-05-06 14:44:16 +02:00
Yuri Rubinsky
998b48f722
Add handling of custom visual shader nodes from GDExtension
2023-05-06 08:19:12 +03:00
kobewi
88ea3dd4db
Remove erroneous signal connection
2023-05-05 22:26:19 +02:00
Clay John
610877e326
Merge pull request #72288 from MewPurPur/use-string-repeat
...
Use `String.repeat()` to optimize several String methods
2023-05-05 09:56:48 -07:00
Clay John
214a848e0f
Merge pull request #76700 from dsnopek/dedicated-server-mark-inherited
...
Explicitly mark inherited export mode when making a dedicated server export
2023-05-05 09:23:32 -07:00
Max Hilbrunner
f6bf51ca49
Merge pull request #75864 from KoBeWi/assassin_of_shaders
2023-05-05 14:37:54 +02:00
Manik Sharma
3ce0ebb242
Make environment energy adjustable as a float in 3D editor's preview environment
2023-05-05 09:01:46 +05:30
Manik Sharma
5e1cb39101
Make sun energy adjustable as a float in the 3D editor's preview sun
2023-05-04 10:34:07 +05:30
Max Hilbrunner
2816825e44
Merge pull request #76555 from Tetane/master
...
Fix 2D shader preview draws over uniform
2023-05-03 20:07:00 +02:00
David Snopek
61f03daeeb
Explicitly mark inherited export mode when making a dedicated server export
2023-05-03 09:47:33 -05:00
kobewi
b732c2b341
Add background panel to new meta dialog
2023-05-03 00:21:05 +02:00
kleonc
82f6dae408
Unify setting tooltips for items in SceneTreeEditor
2023-05-02 12:34:44 +02:00
Rindbee
fd75bb562e
Do not cache the doc information written by user in the script in Inspector
...
The doc information of the edited object is cached to reuse it in the next `EditorInspector::update_tree()` call.
This is not suitable for doc information written by users in the script because it is easily changed.
2023-05-02 05:53:09 +08:00
kobewi
24224381ec
Add proper snapping to tile polygon editor
2023-05-01 21:36:33 +02:00
Nong Van Tinh
f40a5fc3f6
Expose 'Reimport' on right-click context menu in the FileSystem panel
2023-05-01 08:15:15 +07:00
VolTer
6b84e258d2
Use String.repeat() in more places
2023-05-01 02:27:46 +02:00
Juan Linietsky
1c93606e47
Add ValidatedCall to MethodBind
...
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
HolonProduction
7814dedc91
Preserve scene unique names when saving branch as scene.
2023-04-30 13:33:43 +02:00
Haoyu Qiu
d24ee551ec
Allow EditorInspector to change its property name style when necessary
...
Previously, an EditorInspector's property name can only be set from
outside. Inspectors used for settings needs to respond to changes in
editor settings. So a few boilerplate code is almost always needed,
including watching for a certain editor setting in `_notification()`.
This commit adds a `set_use_settings_style()` function to tell the
inspector to watch for editor settings changes on its own.
2023-04-29 10:51:00 +08:00
Tetane
d3792a2373
Use a SubViewport for CanvasItem inspector preview
2023-04-28 22:43:47 +02:00
Rémi Verschelde
e8f5d0f6e8
Merge pull request #76546 from KoBeWi/prevent_shape_editor_from_killing_Godot
...
Fix CollisionShape2D editor crash
2023-04-28 17:08:33 +02:00
Rémi Verschelde
012e2b7411
Merge pull request #76539 from anvilfolk/gddocsreg
...
Fix wrongly removing prefix when generating in-editor documentation
2023-04-28 17:08:05 +02:00
kobewi
e5d0bb1605
Fix CollisionShape2D editor crash
2023-04-28 16:25:38 +02:00
ocean (they/them)
6f8113721d
Fix wrongly removing prefix when generating in-editor documentation
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-04-28 07:38:36 -04:00
Nong Van Tinh
3ebf2264aa
Fixes Node arrays appear as Object arrays in the inspector
2023-04-28 14:27:10 +07:00
Tefatika
09460cfaaf
Command Palette search now also uses original English command names
...
Both localized and non localized names will be used while filtering
The highest score between the two will be picked when determining
the entries order
2023-04-28 02:22:20 +02:00
Rémi Verschelde
b81387d6b7
Merge pull request #76513 from YuriSizov/editor-dont-run-too-fast
...
Avoid accessing the theme too early in EditorRunBar
2023-04-27 23:57:00 +02:00
Samuele Panzeri
4aaa2e6477
Fix wait for thread not started
2023-04-27 20:28:22 +02:00
Yuri Sizov
de1a1dd43e
Avoid accessing the theme too early in EditorRunBar
2023-04-27 18:49:16 +02:00
Rémi Verschelde
240ed28291
Merge pull request #76503 from RandomShaper/fix_args_print
...
Fix formatting function not used when printing run arguments
2023-04-27 16:56:58 +02:00
Rémi Verschelde
0fc3ba2ea7
Merge pull request #76499 from lyuma/fix_silhouette_fixer
...
import: Fix Silhouette used incorrect index.
2023-04-27 16:56:33 +02:00
Rémi Verschelde
f43b39a7c0
Merge pull request #50671 from winston-yallow/improve-editor-spin-slider
...
Add editor setting for spin slider sensibility
2023-04-27 16:55:16 +02:00
Winston Yallow
277e261acf
Add editor setting for spin slider sensibility
2023-04-27 13:45:24 +02:00
Pedro J. Estébanez
cc92ba0d44
Fix formatting function not used when printing run arguments
2023-04-27 13:44:19 +02:00
Lyuma
d33a734ac5
import: Fix Silhouette used incorrect index.
...
Fixes bind pose mistake from using i (mesh skin index) instead of bone_idx (skeleton bone index).
Fixes #76448
2023-04-27 01:41:28 -07:00
Rémi Verschelde
fc27bc0306
Merge pull request #76492 from KoBeWi/shaped_up_nicely
...
Improve reliability of 2D shape editor redrawing
2023-04-27 08:21:06 +02:00
Rémi Verschelde
cedd3378f5
Merge pull request #69053 from KoBeWi/grabbercentrism
...
Add center_grabber theme property to Slider
2023-04-27 08:18:37 +02:00
kobewi
d8e39912f8
Improve reliability of 2D shape editor redrawing
2023-04-27 02:44:14 +02:00
Yuri Sizov
26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
...
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
Rémi Verschelde
e2e870c611
Merge pull request #76378 from KoBeWi/fix_typed_array_export_2-fix_harder
...
Fix typed array export... again
2023-04-26 14:11:52 +02:00
Rémi Verschelde
e1075e9c7c
Fix various typos with codespell
...
Also includes the grammar fix from #76206 .
Co-authored-by: Peter Anderson <BWPanda@users.noreply.github.com>
2023-04-26 13:57:09 +02:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
...
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
kobewi
36b4ed4fa4
Prompt to confirm anim track delete on node delete
2023-04-25 17:55:05 +02:00
Rémi Verschelde
aa622dae53
Merge pull request #76431 from RandomShaper/fix_doc_help_cache
...
Improve reliability of editor docs cache
2023-04-25 14:44:17 +02:00
Pedro J. Estébanez
e1ce0340b7
Improve reliability of editor docs cache
2023-04-25 11:40:56 +02:00
Yuri Sizov
0562decf34
Unexpose AnimationTrackEditPlugin as not implemented
2023-04-25 11:38:17 +02:00
Rémi Verschelde
e54ebaf0eb
Merge pull request #76421 from timothyqiu/editor-dialog
...
Fix inconsistent file dialog settings usage
2023-04-25 10:01:06 +02:00
Rémi Verschelde
7b2d142808
Merge pull request #76084 from timothyqiu/nested-folders
...
Make create folder popup support nested folders
2023-04-25 09:59:31 +02:00
Rémi Verschelde
8cc1762398
Merge pull request #76105 from anvilfolk/tooltip
...
Fix @export variable tooltips not showing up in Inspector in scripts with inner classes
2023-04-25 09:59:06 +02:00
Rémi Verschelde
be00dcd724
Merge pull request #73656 from TokageItLab/expose-3d-tracks
...
Expose interpolation methods for 3D track in `Animation` class
2023-04-25 09:57:52 +02:00
Rémi Verschelde
76d33d187f
Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorer
...
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 09:57:27 +02:00
Daylily-Zeleen
b12ced0a26
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 11:29:32 +08:00
Haoyu Qiu
2ccc9e1456
Fix inconsistent file dialog settings usage
...
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
are not updated when corresponding editor settings change.
2023-04-25 09:11:57 +08:00
Silc Renew
fac8a918f9
Expose interpolation methods for 3D track in Animation class
2023-04-25 01:45:14 +09:00
Rémi Verschelde
9098698d17
Merge pull request #76396 from Rindbee/fix_line_spacing_not_update_in_code_editor
...
Fix `line_spacing` in code editor will not take effect immediately on change
2023-04-24 16:48:48 +02:00
Rémi Verschelde
700ce30644
Merge pull request #76364 from timothyqiu/expansion
...
Fix layout list not resizing in editor layout dialog
2023-04-24 16:47:38 +02:00
Rémi Verschelde
5462006118
Merge pull request #76363 from timothyqiu/whats-undo-redo
...
Translate undo/redo messages in settings dialogs
2023-04-24 16:47:13 +02:00
Rémi Verschelde
e36e0a61e2
Merge pull request #76352 from MewPurPur/add-physical-bone-icon
...
Add missing PhysicalBone2D icon
2023-04-24 16:46:48 +02:00
Rémi Verschelde
91bcfa8896
Merge pull request #76122 from spanzeri/fix_animation_snap_slider_crash
...
Fix editor spin slider remaining editable if set read_only during and edit and fix related animation player crash
2023-04-24 16:45:09 +02:00
Rémi Verschelde
13544fb508
Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine
...
Rework for nested `AnimationNodeStateMachine`
2023-04-24 16:44:21 +02:00
Rémi Verschelde
dfee04ae2a
Merge pull request #74632 from davthedev/tabs-hover
...
Add theming support for hovered tabs
2023-04-24 16:42:38 +02:00
Rindbee
23d6225c1e
Fix `line_spacing` in code editor will not take effect immediately on change
...
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.
2023-04-24 17:11:38 +08:00
kobewi
da8d6734fb
Fix typed array export... again
2023-04-23 20:08:30 +02:00
Jakub Sygnowski
07258c3984
Store lock view rotation whether its on or off
2023-04-23 15:18:22 +01:00
Fredia Huya-Kouadio
aa7a4d56f0
Make `EditorPropertyLayersGrid` responsive to touch taps
2023-04-23 07:09:51 -07:00
Haoyu Qiu
9f38a68a59
Make create folder popup support nested folders
2023-04-23 21:10:04 +08:00
Haoyu Qiu
dfc628bc54
Fix layout list not resizing in editor layout dialog
2023-04-23 18:44:05 +08:00
Haoyu Qiu
997ff8f14a
Translate undo/redo messages in settings dialogs
2023-04-23 17:49:55 +08:00
VolTer
048f94f662
Add missing PhysicalBone2D icon
2023-04-23 01:52:05 +02:00
Samuele Panzeri
b6abb34759
Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash
2023-04-22 18:34:36 +02:00
kobewi
14cb9b5b26
Add center_grabber property to Slider
2023-04-22 17:53:17 +02:00
clayjohn
48ebae7812
Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users
2023-04-21 16:51:57 -07:00
ocean (they/them)
6783ff69c0
Improve and fix GDScript documentation generation & behavior
...
Removes documentation generation (docgen) from the GDScript compiler to
its own file. Adds support for GDScript enums and signal parameters and
quite a few other assorted fixes and improvements.
2023-04-21 10:17:30 -04:00
Rémi Verschelde
77fc22d6e2
Merge pull request #76290 from JohanAR/light_is_directional_spatial
...
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-21 15:50:27 +02:00
Rémi Verschelde
1a6d198759
Merge pull request #76282 from smix8/node_3d_gizmo_split_4.x
...
Split Node3DGizmos into dedicated files
2023-04-21 15:50:02 +02:00
ocean (they/them)
4bfd539f99
Fix @export variable tooltips not showing up in Inspector when there is
...
an inner class
2023-04-21 08:39:47 -04:00
kobewi
15442b54a8
Fix EditorHelp failing to load
2023-04-21 01:25:47 +02:00
smix8
808af8e837
Split Node3DGizmos into dedicated files
...
Splits Node3DGizmos into dedicated files.
2023-04-20 20:12:47 +02:00
Rémi Verschelde
4abb7a6bac
Merge pull request #76288 from RedworkDE/net-glue-no-doccache
...
C#: Do not use DocCache when generating glue code
2023-04-20 18:09:10 +02:00
Rémi Verschelde
9a790024b6
Merge pull request #76269 from KoBeWi/let's_wrap_this_up
...
Add shortcut for quick-toggling word wrap
2023-04-20 18:08:22 +02:00
RedworkDE
692ad70fd7
C#: Do not use DocCache when generating glue code
2023-04-20 15:35:14 +02:00
Johan Aires Rastén
14a8124ffe
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-20 14:33:30 +02:00
Rémi Verschelde
db13026370
i18n: Sync translations with Weblate
...
(cherry picked from commit 90b4ca2e50
)
2023-04-20 13:27:43 +02:00
Rémi Verschelde
1f5811eb03
Merge pull request #76238 from Calinou/editor-inspector-tooltip-display-enum-descriptions
...
Display enum value descriptions in the editor inspector help tooltips
2023-04-20 12:42:30 +02:00
Rémi Verschelde
42d3ed2103
Merge pull request #74739 from davthedev/itemlist-hover
...
Add theming support for hovered ItemList items
2023-04-20 12:41:41 +02:00
kobewi
ff310f0969
Add shortcut for quick-toggling word wrap
2023-04-19 23:46:22 +02:00
Hugo Locurcio
76c0a3fea0
Display enum value descriptions in the editor inspector help tooltips
...
This makes it possible to see what each value does without having
to open a documentation tab.
Some enum value names may be mismatched as the API doesn't always
match the property hint used in the editor.
2023-04-19 22:56:48 +02:00
Yuri Sizov
8a74d8438f
Extract editor run toolbar into its own component
...
- Simplify and update its logic.
- Simplify EditorScript.
- Improve EditorNode and other relevant includes.
- Fix scene-based path in the movie writer when
reloading a scene.
2023-04-19 17:12:28 +02:00
Rémi Verschelde
c01b11ec81
Merge pull request #76229 from KoBeWi/out_of_control
...
Remove wrong Ctrl from 2D editor tooltip
2023-04-19 10:13:52 +02:00
Rémi Verschelde
989fa49e71
Merge pull request #75219 from bruvzg/get_focus_screen
...
Add project manager / editor initial screen settings, implement `get_keyboard_focus_screen` method.
2023-04-19 10:13:44 +02:00
bruvzg
520a8d8ed2
Add project manager / editor initial screen settings, implement DisplayServer.get_keyboard_focus_screen method.
2023-04-19 08:54:53 +03:00
bruvzg
0088981c40
[Export] Add readable descriptions and validation warnings to the export options.
2023-04-19 08:35:59 +03:00
David Giardi
9f1e18e64c
Add theming support for hovered tabs
...
Tabs can now be styled differently when hovered by the mouse pointer.
2023-04-19 01:38:09 +02:00
Rémi Verschelde
5bb46d6064
Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
...
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
Rémi Verschelde
ecc219de46
Merge pull request #76136 from bruvzg/bitmap_odd_height
...
[Image Font] Fix fractional ascent for font with odd height.
2023-04-18 23:40:55 +02:00
Rémi Verschelde
df0ad7502d
Merge pull request #76114 from ajreckof/prevent_packedArray_cast_to_array
...
Prevent nested packedArray from being casted to generic Arrays
2023-04-18 23:40:31 +02:00
David Giardi
142990d60a
Add hovered item style to ItemList
2023-04-18 22:52:39 +02:00
kobewi
75f2d7f5c4
Remove wrong Ctrl from 2D editor tooltip
2023-04-18 22:43:50 +02:00
Dipal Zambare
c4f31e3333
Add Close Docs item in script editor context menu
2023-04-18 16:42:54 +02:00
Yuri Sizov
9e6b680cfb
Merge pull request #74814 from kleonc/tilemap-fix-rendering-odd-sized-tiles
...
`TileMap` Fix rendering odd-sized tiles
2023-04-18 16:27:44 +02:00
Yuri Sizov
9882af4880
Merge pull request #76197 from dalexeev/fix-error-macro-misuses
...
Fix misuses of error macros
2023-04-18 16:11:37 +02:00
SaracenOne
f1ba23e8bb
Fix cleaning up inspector and history when deleting multiple nodes at once.
2023-04-18 14:06:17 +02:00
Silc Renew
991e6e90ba
Rework StateMachine and nested StateMachine process
...
Breaking compatibility: If a StateMachineTransition is connected to a nested StateMachine prior to this, it is removed. Also, there was a feature to connect another StateMachine as the End of a StateMachine, which is also removed to avoid reference confusion. It was like a GoTo Statement, also further passing the same reference to the blending process, causing the blending calculation to break or causing some StateMachines to not work.
2023-04-18 19:06:51 +09:00
Danil Alexeev
36bedd341a
Fix misuses of error macros
2023-04-18 10:20:48 +03:00
kobewi
f462efd7f1
Add missing LineEdit constants in editor theme
2023-04-17 22:55:27 +02:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Rémi Verschelde
96cc100246
Merge pull request #72895 from RedworkDE/editor-export-plugin-settings
...
Allow EditorExportPlugins to provide export options
2023-04-17 20:13:53 +02:00
Marius Hanl
1c271d00ae
Fix pause_mode may not be converted correctly in .tscn files.
2023-04-17 19:53:50 +02:00
Yuri Sizov
de416c5cbd
Merge pull request #74623 from MewPurPur/edit-text-with-style
...
Code style improvements to text_edit and related
2023-04-17 19:08:08 +02:00
bruvzg
41f7bb2025
[Image Font] Fix fractional ascent for font with odd height.
2023-04-16 18:42:45 +03:00
ajreckof
1557a37703
prevent nested packedArray from being casted to generic Arrays
2023-04-16 04:46:29 +02:00
Rémi Verschelde
37991a244b
Merge pull request #72855 from RandomShaper/cache_help
...
Cache classes editor help (a.k.a. faster editor startup)
2023-04-13 12:25:36 +02:00
Pedro J. Estébanez
f5602869da
Cache classes editor help
2023-04-13 12:16:47 +02:00
Pedro J. Estébanez
84183f89e6
Make EditorToaster's handler thread-safe
2023-04-13 12:10:56 +02:00
Rémi Verschelde
467b3e524a
Merge pull request #76011 from timothyqiu/track-i18n
...
Add i18n for track easing and baking dialogs
2023-04-13 09:57:29 +02:00
Rémi Verschelde
4cfa718579
Merge pull request #75997 from hakro/update-cursor-when-panning
...
Change cursor consistently when panning in the 2D Editor
2023-04-13 09:55:53 +02:00
Rémi Verschelde
ee0e809064
Merge pull request #75315 from kleonc/obj-importer-fix-no-smoothing-handling
...
Fix OBJ mesh importer smoothing handling
2023-04-13 09:53:29 +02:00
Haoyu Qiu
aa604ec435
Add i18n for track easing and baking dialogs
2023-04-13 13:06:55 +08:00
Hakim
f4edbe6341
Change cursor consistently when panning in the 2D Editor
2023-04-12 19:47:43 +02:00
clayjohn
9be0a73294
Add EXPOSURE built in to spatial shaders
...
This allows users to restore light values to pre-pre-exposure amounts
2023-04-12 10:35:13 -07:00
kobewi
a3799208c0
Rename console script to wrapper
2023-04-12 15:14:51 +02:00
Rémi Verschelde
fb3e4e7967
Merge pull request #75975 from bruvzg/bidi_and_log_errors
...
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 13:28:12 +02:00
kobewi
20261016a7
Fix typed array export
...
Co-authored-by: Guilherme Sousa <guilherme.sousa1994@gmail.com>
2023-04-12 12:19:17 +02:00
bruvzg
282e4231c2
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 11:39:05 +03:00
Rémi Verschelde
bba753db0d
Merge pull request #75938 from YuriSizov/editor-no-spammy-icons
...
Prevent errors in the Inspector when looking for script icons
2023-04-11 19:41:07 +02:00
Rémi Verschelde
12f2c753fe
Merge pull request #75923 from dalexeev/editor-rtl-selection-color
...
Editor Theme: Set `selection_color` property of `RichTextLabel`
2023-04-11 19:40:59 +02:00
Rémi Verschelde
fff0ee0fc4
Merge pull request #75822 from YeldhamDev/no_multi_zero
...
Remove unnecessary zero multiplications
2023-04-11 19:40:40 +02:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
...
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
Rémi Verschelde
5722d6e3cc
Merge pull request #75451 from bruvzg/web_mac_keys
...
[Web] Detect host OS and use macOS keys on mac hosts.
2023-04-11 19:40:16 +02:00
Rémi Verschelde
347a8e20ae
Merge pull request #69324 from RedMser/advanced-settings-errors
...
Make it easier to solve warnings/errors referring to project settings
2023-04-11 19:39:53 +02:00
Yuri Sizov
5e6ce7826a
Prevent errors in the Inspector when looking for script icons
2023-04-11 16:51:20 +02:00
Fabio Alessandrelli
4ab0b38940
Merge pull request #75850 from rsubtil/bugfix-lsp_dap_connection_poll
...
Poll LSP/DAP clients for connection status updates
2023-04-11 10:19:24 +02:00
bruvzg
a5009f4d3c
[Web] Detect host OS and use macOS keys on mac hosts.
2023-04-11 10:58:54 +03:00
Danil Alexeev
306308d957
Editor Theme: Set `selection_color` property of `RichTextLabel`
2023-04-11 10:53:42 +03:00
Yuri Sizov
a9e0226d80
Merge pull request #75780 from timothyqiu/log-sizes
...
Set font sizes for various styles in editor output panel
2023-04-10 20:14:59 +02:00
kobewi
71011e0855
Adjust size of some dialogs
2023-04-10 17:04:53 +02:00
Yuri Sizov
8d887158cb
Merge pull request #75844 from KoBeWi/shy_label
...
Fix method dialog label
2023-04-10 16:22:01 +02:00
Yuri Sizov
220953b625
Merge pull request #75814 from timothyqiu/connect-unicode
...
Fix connect signal dialog not allowing Unicode method name
2023-04-10 13:03:00 +02:00
Yuri Sizov
5243f5cece
Merge pull request #72152 from smix8/mcd_settings_4.x
...
Add Mesh ConvexDecompositionSettings wrapper
2023-04-10 12:52:23 +02:00
Yuri Sizov
271c5fad69
Merge pull request #75823 from YeldhamDev/this_was_a_thing_i_guess
...
Fix bottom of `LineEdit`s in the editor being rounded
2023-04-10 12:41:17 +02:00
kobewi
aaf02ec04a
Close built-in shaders when closing scene
2023-04-09 22:10:43 +02:00
Ricardo Subtil
4be4eeea3a
Poll LSP/DAP clients for connection status updates
2023-04-09 12:36:01 +01:00
kobewi
b0eadcfbce
Initialize editor values on first launch
2023-04-09 09:52:18 +02:00
kobewi
c399d4f26c
Fix method dialog label
2023-04-09 09:45:27 +02:00
Ricardo Subtil
b8ae1c218c
Fix DAP path mismatch on Windows
2023-04-08 19:59:01 +01:00
VolTer
f587a21899
Code style improvements to text_edit and related
2023-04-08 19:33:56 +02:00
Michael Alexsander
2ea4f8bc78
Fix bottom of `LineEdit`s in the editor being rounded
2023-04-08 09:50:17 -03:00
Michael Alexsander
f057d755ab
Remove unnecessary zero multiplications
2023-04-08 09:31:05 -03:00
Haoyu Qiu
936c9e83b4
Fix connect signal dialog not allowing Unicode method name
2023-04-08 16:31:25 +08:00
fuzzy@notepc
c6a45f1031
Fix #75790 , where creating Ceil(Vector2) node in Visual Shader Editor
...
crashes engine due to index out of bounds.
2023-04-08 13:30:11 +09:00
kobewi
680ed7f612
Make sure script cache is created after reimport
2023-04-07 23:34:58 +02:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
RedworkDE
6963e84b58
Allow EditorExportPlugins to provide export options
2023-04-07 19:18:00 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Rémi Verschelde
c151d3231f
Merge pull request #75760 from reduz/optimize-node-add-child-validation
...
Optimize Node::add_child validation
2023-04-07 18:20:28 +02:00
Haoyu Qiu
2c0db8222a
Set font sizes for various styles in editor output panel
2023-04-07 20:01:55 +08:00
Yuri Sizov
a13635cdf8
Merge pull request #70901 from timothyqiu/tree-scroll-offset
...
Add scrollbar offset theme constants to Tree
2023-04-07 13:24:01 +02:00
Juan Linietsky
223ce4fcb9
Optimize Node::add_child validation
...
Adding 10k nodes is almost twice as fast.
2023-04-07 13:18:47 +02:00
Yuri Sizov
920e8067f7
Merge pull request #68091 from AThousandShips/sprite_frames_order
...
Improve SpriteFrameEditor frame addition ordering
2023-04-07 13:13:41 +02:00
Haoyu Qiu
498d538578
Add scrollbar offset theme constants to Tree
2023-04-06 15:04:28 +08:00
Rémi Verschelde
49a196277f
Merge pull request #75661 from KoBeWi/no_resource_can_hide_from_the_all-seeing_popup
...
Add a list of all sub-resources used in the scene
2023-04-05 22:47:48 +02:00
kobewi
5a99304251
Add a list of all sub-resources used in the scene
2023-04-05 21:01:49 +02:00
Rémi Verschelde
b8375071b0
Merge pull request #75636 from lyuma/advanced_importer_extract_textures_fix
...
gltf: Remove obsolete hack to embed gltf textures in advanced import
2023-04-05 12:03:27 +02:00
Rémi Verschelde
4f4b5a2785
Merge pull request #73475 from YuriSizov/theme-is-busy-plz-come-back-later
...
Add a warning when accessing theme prematurely and fix surfaced issues
2023-04-05 12:03:15 +02:00
Rémi Verschelde
c3184c614b
Merge pull request #67466 from KoBeWi/proceed
...
Scene tab closing refactor
2023-04-05 12:03:00 +02:00
Yuri Sizov
e11ae937d5
Merge pull request #75653 from YuriSizov/black-eyes-like-a-dolls-eyes
...
Prevent color conversion of the big Godot logo
2023-04-04 23:10:30 +02:00
Yuri Sizov
ce741df43d
Prevent color conversion of the big Godot logo
...
Use an off-white color from the palette that we explicitly don't convert.
2023-04-04 20:03:19 +02:00
Yuri Sizov
fb6634248c
Merge pull request #75646 from YuriSizov/pm-my-exquisite-selection
...
Improve selection handling in the project manager
2023-04-04 19:54:09 +02:00
Yuri Sizov
ada406f2f5
Merge pull request #75566 from Maran23/4-x-theme-values-affects-editor
...
Fix some theme values affect the editor by setting a default value for them
2023-04-04 17:30:30 +02:00
Yuri Sizov
632423f969
Improve selection handling in the project manager
...
Also clean up some unused methods and method names
2023-04-04 15:27:13 +02:00
Lyuma
bd020b7d92
gltf: Remove obsolete hack to embed gltf textures in advanced import
2023-04-03 20:28:03 -07:00
Rémi Verschelde
ef025711a6
i18n: Sync translations with Weblate
...
(cherry picked from commit 9099ac39cf
)
2023-04-04 00:34:07 +02:00
kobewi
ddc8567022
Scene tab closing refactor
2023-04-03 22:19:07 +02:00
Yuri Sizov
9b500ab53c
Fix premature theme item access in editor tools
2023-04-03 18:01:11 +02:00
Rémi Verschelde
5fbbe3be0b
Merge pull request #75563 from KoBeWi/sanity
...
Improve editor state initialization
2023-04-03 17:09:56 +02:00
Rémi Verschelde
5c5f065325
Merge pull request #74729 from YuriSizov/project-manager-baked-with-love
...
Improve code structure, layout, and theming of the project manager
2023-04-03 17:09:09 +02:00
Rémi Verschelde
aad0759cf6
Merge pull request #72777 from aaronfranke/importer-scene-scale-cleanup
...
Internal renames and cleanup in resource importer scene
2023-04-03 17:07:04 +02:00
kobewi
13c8a9890d
Improve editor state initialization
2023-04-03 16:27:19 +02:00
Rémi Verschelde
41ed64ae1c
Merge pull request #75330 from KoBeWi/make_haste_with_copy_paste
...
Improve file move and copy operations
2023-04-03 16:02:45 +02:00
Rémi Verschelde
4779d4f695
Merge pull request #75298 from KoBeWi/supersonic_filesystem
...
Refresh filesystem when saving remote branch
2023-04-03 16:01:57 +02:00
Rémi Verschelde
632491f6da
Merge pull request #74682 from KoBeWi/snappy_snapping
...
Properly remember snapping options per-project
2023-04-03 16:01:07 +02:00
Rémi Verschelde
e359eaf451
Merge pull request #74319 from jbuck3/script-file-menu
...
Re-enable script editor File menu shortcuts when the menu is hidden
2023-04-03 16:00:17 +02:00
Rémi Verschelde
7f332ec78c
Merge pull request #73249 from KoBeWi/image_for_your_inspector
...
Improve Image preview in the inspector
2023-04-03 15:59:26 +02:00
Yuri Sizov
aeb4489e63
Merge pull request #75070 from jmb462/74802
...
Fix commenting collapsed function issue
2023-04-03 15:38:18 +02:00
Aaron Franke
2deb8fdd45
Internal renames and cleanup in resource importer scene
2023-04-02 20:59:32 -07:00
Rémi Verschelde
726c3c1bed
Merge pull request #75559 from ajreckof/Fix-descriptions-not-showing-for-theme-properties
...
Fix descriptions not showing for theme properties
2023-04-02 17:34:38 +02:00
Rémi Verschelde
11b7f552ca
Merge pull request #75523 from ronyeh/go-to-line
...
Fix off-by-one issue where "Go to Line" dialog shows the incorrect line number (one less than the actual current line).
2023-04-02 17:33:03 +02:00
Rémi Verschelde
3ca684dd9b
Merge pull request #75513 from smix8/navigation_3to4_converter_4.x
...
Add navigation renames to 3to4 converter
2023-04-02 17:32:35 +02:00
Marius Hanl
c0905bc0af
Fix some theme values affect the editor by setting a default value for the theme constant 'h_separation' for MenuBar and Button and a default value for the theme color 'background_color' for TextEdit
2023-04-01 16:28:28 +02:00
ajreckof
14140eb2d9
Fix descriptions not showing for theme properties
2023-04-01 13:56:55 +02:00
Yuri Sizov
ee2cc347c6
Add support for icons in GDExtension classes
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-03-31 21:39:02 +02:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
Yuri Sizov
9fae65404a
Streamline class icon resolution in the editor
2023-03-31 21:17:59 +02:00
Ron B. Yeh
1e9fd10f68
Fix off-by-one issue where Go to Line dialog shows the incorrect line
...
number (one less than the actual current line).
2023-03-30 23:39:44 -07:00
Luke Priebe
c39cae4dcf
Prevent quoted arguments in editor/main_run_args from being split at spaces
2023-03-30 19:53:19 -05:00
smix8
0c1e585a1d
Add navigation renames to 3to4 converter
...
Adds navigation renames to 3to4 converter.
2023-03-30 23:50:02 +02:00
Ninni Pipping
83d85048ea
Improve SpriteFrameEditor frame addition ordering
2023-03-30 18:56:46 +02:00
Yuri Sizov
d2c10575bb
Merge pull request #75426 from timothyqiu/auto-translate
...
Turn off auto translate for some editor controls
2023-03-30 18:30:32 +02:00
Yuri Sizov
2b49c38566
Merge pull request #75443 from akien-mga/threen-times-the-charm
...
Project converter: Remove Tween properties/signals from renames
2023-03-30 18:29:04 +02:00
kobewi
2fcfef15da
Don't allow selecting nodes without owner
2023-03-30 16:52:22 +02:00
Rémi Verschelde
0171037e0a
Project converter: Remove Tween properties/signals from renames
...
The Tween class in Godot 3 is fully incompatible with Godot 4, there's no point
doing these renames. It also makes it harder to use Threen, my (currently WIP)
forward-port of the Godot 3 Tween to Godot 4.
2023-03-29 07:32:58 +02:00
Yuri Sizov
23394bebed
Merge pull request #75361 from kleonc/tile-set-atlas-merging-crash-fix
...
`TileSet` editor `AtlasMergingDialog` crash fix
2023-03-28 20:35:39 +02:00
kleonc
c72b09639a
TileSet editor AtlasMergingDialog crash fix
2023-03-28 20:07:26 +02:00
Haoyu Qiu
26553be424
Turn off auto translate for some editor controls
...
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
these after implementing a way to opt-out auto translation on a
property-by-property basis and a way to extract enumerators.
2023-03-28 23:18:32 +08:00
Yuri Sizov
f818d2b98f
Merge pull request #75141 from rcorre/rrc/dialog-pos
2023-03-28 10:54:37 +02:00
Haoyu Qiu
5a5fd33e42
More i18n improvements
...
* Make placeholder in editor layout dialog translatable.
* Make messages in scene import settings dialog translatable.
* Mark theme override property categories for translation.
2023-03-27 22:24:01 +08:00
Ryan Roden-Corrent
894ce41180
Apply clamp_to_embedder on parent resize and popup.
...
Fixes #75084 .
The clamp_to_embedder setting was added in 8be16e0704
,
but was not set on any of the in-editor dialogs.
This patch sets `clamp_to_embedder` on editor dialogs so they cannot be dragged out of the frame.
This also modifies `clamp_to_embedder` so a window is clamped to the bounds of an embedder when
it pops up and when the parent is resized.
2023-03-27 07:08:29 -04:00
Yuri Sizov
b57f3c2e67
Merge pull request #75331 from KoBeWi/remove_removed_plugins
...
Remove disabled plugins from active plugins
2023-03-27 11:42:33 +02:00
Yuri Sizov
ee68e4e29a
Merge pull request #75381 from timothyqiu/add-height
...
Make Add Scene button the same height as scene tabs
2023-03-27 11:22:20 +02:00
Haoyu Qiu
8ab11127bc
Make Add Scene button the same height as scene tabs
2023-03-27 16:13:17 +08:00
Haoyu Qiu
66b325b728
Fix height of subresource button in Inspector
2023-03-27 15:12:23 +08:00
RedMser
ed960453b7
Make solving project setting errors easier
...
Show full project setting path in error messages.
Force filtering for advanced settings if filter is not empty.
2023-03-27 08:10:35 +02:00
kobewi
0b8b37c35d
Remove disabled plugins from active plugins
2023-03-25 21:12:47 +01:00
kobewi
4941d5f534
Improve file move and copy operations
2023-03-25 20:58:37 +01:00
Yuri Sizov
5922b2149e
Merge pull request #71868 from YeldhamDev/filediag_invalidate_deferred
...
Defer invalidation on FileDialog nodes
2023-03-25 19:48:42 +01:00
Yuri Sizov
08f79a894f
Merge pull request #75244 from nikitalita/nikitalita-patch-1
...
Fix `ResourceImporterLayeredTexture::import()` `high_quality` type
2023-03-25 19:47:40 +01:00
Jean-Michel Bernard
68ad3338ef
Fix commenting collapsed function issue
2023-03-25 18:43:16 +01:00
nikitalita
68a6505f41
Fix ResourceImporterLayeredTexture::import() high_quality type
2023-03-25 10:27:15 -07:00
Michael Alexsander
fc3d9d9d46
Defer invalidation on FileDialog nodes
2023-03-25 14:24:46 -03:00
kleonc
e8900a2cac
Fix OBJ mesh importer smoothing handling
2023-03-25 11:39:00 +01:00
kobewi
f289e74966
Refresh filesystem when saving remote branch
2023-03-24 19:38:08 +01:00
Ninni Pipping
ff127ba57e
Fix trim when importing WAV
2023-03-23 16:19:20 +01:00
Ninni Pipping
c04c69b903
Do not use editor setting for FileDialog hidden files
2023-03-22 16:27:06 +01:00
Hugo Locurcio
f575ca09ae
Add property hints for debugger/profiler editor settings
...
This also adds descriptions for those settings.
2023-03-22 01:07:31 +01:00
bruvzg
d72b563250
Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions.
2023-03-21 15:39:54 +02:00
Yuri Sizov
6e5713cc96
Merge pull request #74982 from kleonc/tile-map-editor-fix-preview-transforms
...
TileMapEditor Fix preview rendering and transform calculations
2023-03-20 16:26:40 +01:00
bruvzg
09465f3fe6
Remove (or make verbose only) various debug prints.
2023-03-20 08:14:18 +02:00
Rémi Verschelde
7752b52aa3
Merge pull request #74684 from clayjohn/export-tex
...
Delete unused compression formats from .import files when exporting
2023-03-19 00:06:04 -07:00
Markus Sauermann
8836f2160a
Move call of `push_unhandled_input` from `Window` to `Viewport`
...
This solves the problem, that mouse events get sent to SubViewports
even if they are outside of the visible area of the SubViewport.
This changes makes SubViewportContainer::unhandled_input redundand.
Shortcut Events now need to be distributed via push_input, in order for
them to be able to reach SubViewports.
2023-03-17 19:22:24 +01:00
Yuri Sizov
d418def752
Merge pull request #74564 from YuriSizov/inspector-is-simple-you-see-there-is-a-key-and-we-set-it-and-we-propagate-it-and-it-just-works
...
Update property keying state without a full Inspector rebuild
2023-03-16 17:42:31 +01:00
kleonc
224c66324b
TileMapEditor Fix preview rendering and transform calculations
2023-03-16 14:52:38 +01:00
Yuri Sizov
d4c3cc4146
Improve drawing and layout logic of the project list in the Project Manager
2023-03-16 12:36:27 +01:00
Yuri Sizov
aa47427cc7
Improve theming support in the Project Manager
2023-03-16 12:36:26 +01:00
Yuri Sizov
10420f91ba
Reorganize ProjectManager code to be more idiomatic
2023-03-16 12:36:26 +01:00
Yuri Sizov
f2ea991792
Reorganize context menu in FileSystem dock to put more used options higher
2023-03-16 12:26:47 +01:00
Yuri Sizov
ac2e82463c
Merge pull request #74114 from dalexeev/editor-help-enable-context-menu
...
Enable `RichTextLabel` context menu if selection is enabled
2023-03-16 12:19:05 +01:00
Yuri Sizov
1182b6eaaa
Merge pull request #74626 from KoBeWi/one_line_that_changes_the_fate
...
Select the newly duplicated file
2023-03-16 12:17:40 +01:00
Haoyu Qiu
cb0fa0ed7b
Fix error when opening Inspector's dots menu
...
When the inspector is empty, opening the "extra resource options" menu
produces a error:
> Condition "current_res.is_null()" is true.
Opening the mneu with no current resource is valid use case, so
`ERR_FAIL_COND` should not be used.
2023-03-16 15:06:57 +08:00
clayjohn
45a26ff292
Disallow creating a project in the Home or Documents folder
...
Also don't prompt users to delete the project folder for now.
This is a temporary fix to ensure that users do not delete their entire home folders by mistake
2023-03-15 16:38:30 -07:00
Ninni Pipping
ad769903b0
Fix type check in AnimationTrackKeyEdit for methods
2023-03-15 19:32:27 +01:00
Yuri Sizov
0c30a43d13
Merge pull request #63130 from snailrhymer/copy-duplication-fix
...
Stop pasted child nodes being assigned an owner when previously unowned
2023-03-15 16:36:46 +01:00
Yuri Sizov
eada333a0c
Merge pull request #67590 from cooperra/rename-node-undoredo-context-fix
...
Have the Rename Node action use the targeted Node for undo/redo context
2023-03-15 16:32:45 +01:00
Yuri Sizov
f08ffdc372
Merge pull request #74869 from fahadshihab/master
...
Added drag and drop support for shader include files in shader editor
2023-03-15 16:17:50 +01:00
SnailRhymer
526d299623
Stop pasted child nodes being assigned an owner when previously unowned
...
Make copy and pasting match duplication's ownership transferral behavior by storing ownership information in the duplicated nodes on the node clipboard, then checking that information when setting owners for pasted nodes.
2023-03-15 16:12:51 +01:00
Robbie Cooper
907ba0d8f2
Have the Rename Node action use the targeted Node to determine the current undo/redo context
...
Formerly, we deduced context implicitly, but this failed and always used the global context instead of the context of the scene containing the Node.
This happened because the first argument to `add_do_method`, the SceneTreeEditor, is a descendant of Node and outside the current game scene's tree (it's part of the editor instead). This led the code in `EditorUndoRedoManager::get_history_id_for_object` to choose global context.
My solution is to explicitly use the renamed Node to deduce our context because it will always be in the current scene in this situation.
Fixes #67276
2023-03-15 16:03:30 +01:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
473116ce85
Merge pull request #74735 from KoBeWi/fav_template_place
...
Remember directory when installing templates file
2023-03-15 15:55:20 +01:00
Yuri Sizov
5dd52f47b1
Merge pull request #74795 from KoBeWi/MassNodeEdit
...
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-15 15:39:13 +01:00
Yuri Sizov
f9125e6cf1
Merge pull request #74660 from and-rad/shader-editor-trim-whitespace
...
Shader editor trims trailing whitespace if set in editor settings
2023-03-15 15:05:39 +01:00
Fahad Shihab
e5601b517e
Added drag and drop support for shaderinclude
...
Dragging and dropping now works for shader include file.
2023-03-15 19:24:35 +05:30
Yuri Sizov
3bd5ba3bfe
Merge pull request #74624 from Maran23/converter-theme-overrides
...
Add conversion for common Theme Overrides
2023-03-15 14:34:53 +01:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
f2eb40d8a4
Merge pull request #74858 from dalexeev/fix-input-event-dialog
...
Fix `InputEventConfigurationDialog` modifies original event
2023-03-15 13:32:17 +01:00
Yuri Sizov
2e509f426a
Merge pull request #74904 from YuriSizov/canvas-item-editor-undraw-redraw
...
Make the request to redraw when clearing guides a part of UndoRedo
2023-03-15 13:31:18 +01:00
Yuri Sizov
d44d9b5e36
Merge pull request #74916 from Calinou/editor-add-bbcode-capitalization
...
Add "Bbcode" -> "BBCode" editor capitalization
2023-03-15 13:30:30 +01:00
Rémi Verschelde
e5cc494fbf
i18n: Sync translations with Weblate
...
(cherry picked from commit d23922ffeb
)
2023-03-15 02:31:09 +01:00
Hugo Locurcio
81858da2e6
Add "Bbcode" -> "BBCode" editor capitalization
...
This property name is used in RichTextLabel.
2023-03-14 17:47:36 +01:00
Yuri Sizov
c5977064a3
Make the request to redraw when clearing guides a part of UndoRedo
2023-03-14 13:31:20 +01:00
Danil Alexeev
9fbf24fd5c
Fix `InputEventConfigurationDialog` modifies original event
2023-03-13 15:03:35 +03:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +00:00
kleonc
c49a7feae3
TileMap Fix rendering odd-sized tiles
2023-03-12 16:20:38 +01:00
kobewi
fbffd686e2
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-11 22:46:31 +01:00
Rémi Verschelde
da955dbba9
Merge pull request #74734 from YuriSizov/debugger-i-see-your-true-colors
...
Make sure Script Debugger is updated with the editor theme
2023-03-10 22:48:42 +01:00
Yuri Sizov
68c18c0e2b
Improve logic related to editing audio buses (and prevent crashes)
2023-03-10 22:24:18 +01:00
kobewi
551b6965ec
Remember directory when installing templates file
2023-03-10 18:18:30 +01:00
Yuri Sizov
239eb31c90
Make sure Script Debugger is updated with the editor theme
2023-03-10 18:16:00 +01:00
Marius Hanl
a40f559fe2
Add conversion for common Theme Overrides
2023-03-10 16:32:35 +01:00
Rémi Verschelde
d8e242cba8
Merge pull request #74710 from yedpodtrzitko/yed/layers-clear-filter
...
Clear filter in Project Settings when opening Layer Names
2023-03-10 14:07:02 +01:00
Rémi Verschelde
d9da625f85
Merge pull request #74693 from clayjohn/converter-xform
...
Add parentheses around arguments when converting xform
2023-03-10 14:05:51 +01:00
yedpodtrzitko
e13bcf5b84
clear filter input in Project Settings when opening Layers
2023-03-10 20:18:37 +08:00
clayjohn
3ee5fbdb73
Add parentheses around arguments when converting xform
2023-03-09 15:04:04 -08:00
clayjohn
dec86164e1
Delete unused compression formats from .imoprt files when exporting
2023-03-09 13:20:38 -08:00
kobewi
84a5a3d38e
Select the newly duplicated file
2023-03-09 21:31:12 +01:00
Ninni Pipping
3de5332fcb
Document `editor/naming/scene_name_casing` setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +01:00
kobewi
45b47d5584
Properly remember snapping options per-project
2023-03-09 21:12:26 +01:00
Andreas Raddau
1566b402c1
Shader editor trims trailing whitespace if set in editor settings
2023-03-09 17:27:23 +01:00
Rémi Verschelde
11ad6a4889
Merge pull request #74637 from timothyqiu/pardon
...
Add missing TTRs in tiles editor and array inspector
2023-03-09 12:20:46 +01:00
Rémi Verschelde
009bdc587c
Merge pull request #74634 from Haydoggo/floating-dock-error-fix
...
Fix errors when closing floating docks
2023-03-09 12:20:22 +01:00
Rémi Verschelde
c69ec6557c
Merge pull request #74615 from YuriSizov/editor-prevent-corruption-when-saving-resources
...
Prevent cache corruption when saving resources in the editor
2023-03-09 12:18:55 +01:00
Haoyu Qiu
bef7f14885
Add missing TTRs in tiles editor and array inspector
2023-03-09 14:38:54 +08:00
Hayden Leete
21578e0bb4
Fix errors when closing floating docks
...
dock->get_index() on line 4463 was not behaving as expected
due to dock having an internal sibling, so now we just get the
index excluding internal nodes.
line 4742 would throw an error if you made multiple docks
floating then redocked the end docks first, but no longer
2023-03-09 17:00:50 +13:00
Yuri Sizov
496bd94c21
Prevent cache corruption when saving resources in the editor
2023-03-08 19:46:55 +01:00
Yuri Sizov
9b9bb418cb
Merge pull request #74591 from Haydoggo/floating-file-dock-crash-fix
...
fix crash when showing file in FileSytem dock
2023-03-08 15:04:00 +01:00
Rémi Verschelde
bed6c1dc49
Merge pull request #74601 from rcorre/fix-local-transform
...
Don't unset local_coords on starting transform.
2023-03-08 14:08:08 +01:00
Ryan Roden-Corrent
d3d1223b97
Don't unset local_coords on starting transform.
...
This fixes a bug introduced by 806425621c
, where dragging the gizmo no longer respected local transforms.
I'm not sure why I called set_local_coords_enabled(false) in _compute_edit. Removing this line seems to fix gizmo-dragging local transforms, without breaking anything else.
I also noticed that confirming a transform leaves the gizmo axis lines on the screen. This is fixed by calling update_transform_gizmo after clearing the edit mode/instant flags, so update_transform_gizmo knows not to render any axes.
2023-03-08 07:13:37 -05:00
Haoyu Qiu
ac7a4f6e87
Fix coloring of the renderer options button
2023-03-08 19:12:43 +08:00
Hayden Leete
c4d1513e15
Fix crash when revealing file in floating FileSystem Dock
...
When selecting "Show in FileSystem" from the context menu of a resource
in the inspector, the engine would crash if the FileSystem dock was
floating because it was trying to focus the FileSystem tab, but floating
docks don't use Tab Containers. This commit makes the FileSystem dock's
window grab focus instead if it's floating.
2023-03-08 22:06:25 +13:00
Rémi Verschelde
bf6b6b18f3
Merge pull request #74551 from YuriSizov/theme-abyss-looks-back-at-you
...
Generate empty textures for theme icons if the SVG module is disabled
2023-03-08 08:57:47 +01:00
Rémi Verschelde
540c8eb095
Merge pull request #74547 from YuriSizov/theme-wait-you-dropped-font-size
...
Add missing handler for removing font sizes in Themes
2023-03-08 08:57:24 +01:00
Rémi Verschelde
0f1480273b
Merge pull request #74524 from rcorre/3to4-renames
...
Add some missing renames to 3to4 tool.
2023-03-08 08:56:37 +01:00
Yuri Sizov
f68eb4a967
Update property keying state without a full Inspector rebuild
2023-03-07 18:41:54 +01:00
Yuri Sizov
64215ad119
Generate empty textures for theme icons if the SVG module is disabled
2023-03-07 15:31:19 +01:00
Yuri Sizov
5a3dbea3ed
Add missing handler for removing font sizes in Themes
2023-03-07 13:42:42 +01:00
Rémi Verschelde
4cdb3e3274
Merge pull request #74401 from stmSi/fix-search-results-cannot-goto-builtin-script-line
...
Fix `Find in Files` Search Results cannot open builtin script
2023-03-07 12:05:08 +01:00
Rémi Verschelde
faf0be741a
Merge pull request #74068 from the-sink/guide_redraw
...
Redraw 2D viewport when guides are cleared
2023-03-07 12:04:48 +01:00
Rémi Verschelde
c3c425c25f
Merge pull request #71156 from EricEzaM/71113-cancelling-node-selection-with-escape-breaks-shape-editing-undo
...
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
2023-03-07 12:03:42 +01:00
Rémi Verschelde
e404a7a8ee
Merge pull request #59443 from rcorre/blender-xform-local-space
...
Disable local space for blender transforms.
2023-03-07 12:00:17 +01:00
Rémi Verschelde
ff58c41193
Merge pull request #74495 from hakro/fix-signal-pick-reload-builtin-methods
...
Reload built in script to get its methods on signal connection
2023-03-07 10:33:54 +01:00
Rémi Verschelde
281a5c9e35
Merge pull request #74213 from timothyqiu/friendly-pot
...
Improve POT Generation dialog
2023-03-07 10:33:06 +01:00
Rémi Verschelde
73f9fca1e8
Merge pull request #74515 from Maran23/converter-vector2-tangent-orthogonal
...
Add conversion for `Vector2` `tangent()` -> `orthogonal()`
2023-03-07 08:40:31 +01:00
Rémi Verschelde
f36874e79d
Merge pull request #74513 from Maran23/converter-open-simplex-noise
...
Convert `OpenSimplexNoise` to `FastNoiseLite`
2023-03-07 08:40:07 +01:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
Ryan Roden-Corrent
6b17c2b6e7
Add some missing renames to 3to4 tool.
...
MultiplayerPeerExtension isn't an exact replacement for
NetworkedMultiplayerCustom, but at least it gets you moving in the right direction.
Engine.editor_hint couldn't be fixed by the renames map, because you have to add a `()` at the end.
2023-03-06 18:53:55 -05:00
Marius Hanl
da4ec87673
Add conversion for Vector2 method tangent() -> orthogonal()
...
For C# also: Perpendicular() -> Orthogonal()
2023-03-06 22:41:52 +01:00
Marius Hanl
862296273b
Convert OpenSimplexNoise to FastNoiseLite
...
- class name and octaves property
2023-03-06 22:19:35 +01:00
stmSi
f1f4c5b10b
Fix `Find in Files` Search Results cannot open builtin script
2023-03-07 02:49:14 +06:30
Rémi Verschelde
f17864eab0
Merge pull request #74482 from AThousandShips/property_selector_fix
...
Fix type icons in `PropertySelector`
2023-03-06 16:22:37 +01:00
Ninni Pipping
ca86d53e7f
Fix type icons in `PropertySelector`
...
And adding a check to prevent future issues.
2023-03-06 16:21:25 +01:00
Hakim
5aa8b9ee61
Reload built in script to get its methods on signal connection
2023-03-06 16:20:30 +01:00
Rémi Verschelde
9ae2f30afb
Merge pull request #74432 from rcorre/3to4-tool
...
Move tool declarations to top in 3to4.
2023-03-06 16:14:57 +01:00
Rémi Verschelde
65bf56b2c0
Merge pull request #74355 from tlobig/patch-1
...
remove incorrect rename of get_used_cells_by_id
2023-03-06 16:14:28 +01:00
Ryan Roden-Corrent
9a474fb99f
Move tool declarations to top in 3to4.
...
In godot3, `tool` can follow keywords like `extends` and `class_name`
In godot4, `@tool` must be the first line in the file.
2023-03-06 06:34:56 -05:00
Danil Alexeev
06c7940a5a
Enable `RichTextLabel` context menu if selection is enabled
2023-03-06 13:18:36 +03:00
Rémi Verschelde
6941ffaef3
Merge pull request #74293 from akien-mga/fbx-dialog-disable-importer
...
FBX: Disable importer when canceling FBX2glTF setup
2023-03-06 10:55:21 +01:00
Rémi Verschelde
9fa320852e
Merge pull request #74460 from KoBeWi/undo_mergundo
...
Fix EditorUndoRedoManager's handling of MERGE_ENDS
2023-03-06 10:53:22 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00
kobewi
38c50b4ed3
Fix EditorUndoRedoManager's handling of MERGE_ENDS
2023-03-06 10:40:45 +01:00
Marius Hanl
8cf7ac3a45
Project Converter: Do not convert lines that start with a comment
...
Lines that start with # or // are ignored
2023-03-06 09:12:40 +01:00
Danil Alexeev
ea5fd3d732
Fix GDScript code style regarding colon
2023-03-05 17:03:20 +03:00
Rémi Verschelde
22ae1e499d
Merge pull request #74354 from rcorre/3to4-init
...
Correct superclass constructors in 3to4.
2023-03-05 13:29:49 +01:00
Rémi Verschelde
b7c02007fb
Merge pull request #74251 from MarcusElg/positiongroup
...
Fix Camera2D position smoothing properties not being grouped
2023-03-05 13:25:33 +01:00
Ryan Roden-Corrent
53a00abb11
Correct superclass constructors in 3to4.
...
Fixes #70542 .
The 3to4 conversion tool was not handling superclass constructors.
We should translate the godot3 syntax:
```gdscript
func _init(a,b,c).(a,b,c):
pass
func _init(a,b,c):
super(a,b,c)
```
Originally, the _init conversion was intended to remove `void` return types from _init functions, as this was disallowed due to #50589 .
As that was resolved by #53366 , I removed that part of the conversion logic. If a void return type is present on a constructor, the converter now leaves it.
Here's a sample diff from my own project:
```diff
@@ -103,10 +105,11 @@ class Real:
class Text:
extends Setting
- var choices: PoolStringArray
- var value: String setget set_value, get_value
+ var choices: PackedStringArray
+ var value: String : get = get_value, set = set_value
- func _init(section: String, key: String, default: String, choice_list: Array).(section, key, default) -> void:
+ func _init(section: String, key: String, default: String, choice_list: Array) -> void:
+ super(section, key, default)
choices = choice_list
func normalize(val):
@@ -129,9 +132,10 @@ class Text:
class Boolean:
extends Setting
- var value: bool setget set_value, get_value
+ var value: bool : get = get_value, set = set_value
- func _init(section: String, key: String, default: bool).(section, key, default) -> void:
+ func _init(section: String, key: String, default: bool) -> void:
+ super(section, key, default)
pass
```
2023-03-04 08:03:24 -05:00
Thomas Lobig
d6a2197b3d
remove incorrect rename of get_used_cells_by_id
...
renaming get_used_cells_by_id to get_used_cells is not only unecessary, it introduces hard to debug issues
2023-03-04 13:09:17 +01:00
Danil Alexeev
2edf1bd76a
Use nearest with mipmaps texture filter in SpriteFrames editor plugin
2023-03-04 08:48:49 +03:00
Marcus Elg
a835dfd96d
Fix Camera2D position smoothing properties not being grouped
2023-03-03 19:28:39 +01:00
James Buck
de49bec30e
Re-enable script editor File menu shortcuts when the menu is hidden
2023-03-03 12:14:51 -06:00
Rémi Verschelde
d81e6ee024
FBX: Disable importer when canceling FBX2glTF setup
...
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319 .
2023-03-03 13:53:03 +01:00
Haoyu Qiu
584136271c
Improve POT Generation dialog
...
* Avoid "property not found" warnings when adding a file for the first
time.
* When no file is added, disable the Generate POT button instead of
printing a warning.
2023-03-03 18:18:58 +08:00
Rémi Verschelde
743c86768a
Merge pull request #74237 from AThousandShips/convert_keycode
...
Add keycode project conversion
2023-03-03 11:09:03 +01:00
Rémi Verschelde
e005da9717
Merge pull request #74232 from rcorre/3to4-whitespace
...
Don't strip whitespace when converting 3to4.
2023-03-03 11:07:52 +01:00
Rémi Verschelde
540b17874e
Merge pull request #73685 from Calinou/textureregion-polygon-editors-default-pot-grid-size
...
Use 8×8 default grid size for TextureRegion and 2D polygon editors
2023-03-03 11:03:17 +01:00
Rémi Verschelde
d76c1c4f45
Merge pull request #73651 from hakro/editor-freelook-physical-shortcuts
...
Use physical shortcuts for freelook navigation in the editor
2023-03-03 11:02:53 +01:00
Rémi Verschelde
eafc88c835
Merge pull request #73514 from AThousandShips/tile_origin_fix
...
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-03 11:02:24 +01:00
Ryan Roden-Corrent
d3684e662f
Don't strip whitespace when converting 3to4.
...
Fixes #74204 .
The style guide says
> Always use one space around operators and after commas
The 3to4 conversion tool currently strips space in certain scenarios.
I've updated it to add space whenever it is generating new code.
In any case where it substitutes existing code, it leaves it as-is.
For example, connect(a,b,c) becomes `connect(a, callable(b, c))`, because the converter is adding new commads/parens.
However, `xform(Vector3(a,b,c))` becomes `Transform * Vector3(a,b,c)` because it uses the user's original Vector3 string whole. If the user originally had `xform(Vector3(a, b, c))`, then it becomes `Transform * Vector3(a, b, c)`.
Ideally we'd always preserve original formatting, but this seems quite difficult, so I tried to preserve it where we can, but air on the side of following the style guide whenever we're transforming code.
2023-03-02 18:00:19 -05:00
Ninni Pipping
fec630f360
Add keycode project conversion
2023-03-02 15:24:00 +01:00
Ninni Pipping
fb317546fe
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-02 12:06:27 +01:00
Rémi Verschelde
7e11cc8aa0
Merge pull request #74039 from daBlesr/tilemap-remember-previosuly-selected-tile
...
Remember previously selected TileMap tile.
2023-03-02 11:41:48 +01:00
Rémi Verschelde
0885e4b931
Merge pull request #73365 from bruvzg/no_transient_children
...
Automatically reparent editor message dialogs to avoid error spam.
2023-03-02 11:41:17 +01:00
Rémi Verschelde
c46716118f
Merge pull request #74017 from SaracenOne/fix_toaster_notification_flicker
...
Stop toaster notification circle flickering
2023-03-02 11:24:14 +01:00
Rémi Verschelde
f61da1e380
Merge pull request #74057 from bruvzg/fix_multi_arch_gde_export
...
Fix GDExtensions library export when multiple architectures are set.
2023-03-02 11:21:45 +01:00
Rémi Verschelde
f033cd630f
Merge pull request #74158 from timothyqiu/whats-your-name
...
Fix dock name lost translation after layout change
2023-03-02 11:18:40 +01:00
Haoyu Qiu
e03bfd6f7f
Fix "Convert Full Project" button not translated
...
Also fixes a typo in the CHANGELOG.
2023-03-02 16:19:30 +08:00
Haoyu Qiu
43bf0ca8d2
Fix dock name lost translation after layout change
...
* After you click in the dock select panel
* After you load an editor layout
2023-03-01 22:18:51 +08:00
Rémi Verschelde
2f34a35722
i18n: Sync translations with Weblate
2023-03-01 00:11:39 +01:00
Niels Drost
66374c8dce
TileSet editor was out of sync with TileMap and incorrectly overwrote old selected TileSet after an edit call with a null pointer.
2023-02-28 22:30:46 +01:00
the-sink
0c051f41b1
Redraw 2d viewport when guides are cleared
2023-02-27 09:03:56 -08:00
Gilles Roudière
1a2caf28e3
Fix a crash in the GLB importer
2023-02-27 17:24:03 +01:00
bruvzg
c2d678a924
Fix GDExtensions library export when multiple architectures are set.
2023-02-27 17:00:38 +02:00
Rémi Verschelde
7cf1ec1cd4
Add 3-to-4 renames for project settings in project.godot
...
In the ConfigFile format, the first subpath is the category and is not part
of the line that the regex would match.
Fixes #66125 .
2023-02-27 13:34:35 +01:00
Rémi Verschelde
6eb25f238f
Cleanup 3-to-4 renames, prevent common words replacements
...
Fixes #73505 .
Fixes #73996 .
2023-02-27 13:14:22 +01:00
SaracenOne
ab61624c78
Stop toaster notification circle flickering when notifications are all hidden.
2023-02-27 02:33:49 +00:00
Rémi Verschelde
0cd1483132
Merge pull request #73959 from clayjohn/GL-mobile-warnings
...
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 21:39:06 +01:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
stmSi
656cdf121a
Fix Filter Files shortcut input is not properly handling
2023-02-26 20:04:27 +06:30
Rémi Verschelde
c6443e9a4e
Merge pull request #73954 from KoBeWi/BugEx
...
Fix wrong OS regex in project converter
2023-02-26 14:28:17 +01:00
Thomas Lobig
dbb5e377fb
Converter: Rename 3.x Vector2 clamped to limit_length
2023-02-26 13:41:26 +01:00
kobewi
0ba6e36e40
Fix wrong OS regex in project converter
2023-02-26 13:02:57 +01:00
smosages
786ad514df
Move ShaderWarning definitions into rendering_server
2023-02-25 12:14:25 +01:00
Rémi Verschelde
75c0027e5a
Merge pull request #73887 from nklbdev/master
...
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 01:01:26 +01:00
nklbdev
834a6c5983
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 00:57:34 +05:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
Rémi Verschelde
eec165e1f5
i18n: Sync translations with Weblate
2023-02-24 14:43:04 +01:00
Rémi Verschelde
cd699fedd8
Merge pull request #73855 from CheesecakeCG/scene-import-animationlibrary-tab-fix
...
Fix settings not appearing for Animation Libraries in the Scene Import window
2023-02-24 14:00:18 +01:00
hare_ware
f3095b7c9d
Fix settings not appearing for Animation Libraries in the Scene Import window
2023-02-23 21:38:50 -05:00
Gordon MacPherson
e395eaf447
Fix editor resource preview deadlocking with --headless mode
2023-02-23 20:57:19 +00:00
Rémi Verschelde
e10a15fc19
Export: Default to exporting S3TC + BPTC for PC platforms
...
This is now required after #72031 when using HDRs.
Could have further cleanup as I think these import options may not be needed
at all anymore, and etc/etc2 support doesn't seem to make much sense.
Likewise, the hardcoded "s3tc" in `get_platform_features` could maybe be
removed. But this is material for after 4.1.
Fixes #73789 .
2023-02-23 18:42:28 +01:00
Rémi Verschelde
13382a88df
Merge pull request #73814 from lyuma/importer_mesh_convex
...
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
2023-02-23 13:55:43 +01:00
Rémi Verschelde
a5e944661d
Merge pull request #73775 from SaracenOne/fix_node_ownership_on_scene_update_addition
...
Fix ownership bug on ancestor nodes when scene is reimported
2023-02-23 13:53:47 +01:00
Rémi Verschelde
873c50732d
Merge pull request #73687 from Calinou/editor-convex-import-fix-max-convex-hulls-crash
...
Add a property hint to fix crash when setting max convex hulls below 0
2023-02-23 13:53:24 +01:00
Hugo Locurcio
7899726b98
Add a property hint to fix crash when setting max convex hulls below 0
...
Generating less than 1 convex hull is not valid anyway.
2023-02-23 13:51:12 +01:00
Lyuma
51a4fe1d53
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
...
Implements create_convex_shape in ImpoterMesh.
Note: ImporterMeshInstance3D::get_mesh() is safe.
The only dangerous function with side effects is ImpoterMesh::get_mesh()
2023-02-23 11:55:28 +01:00
Lyuma
cb35471cb0
import: Pass the correct defaults to generated collision shapes.
...
Solves incorrect defaults, as well as applied scale failing to apply.
The default values are removed, and they differ from collision shape defaults
These values must match the defaults defined in resource_importer_scene.cpp
2023-02-23 03:03:04 +01:00
Rémi Verschelde
02583ddde8
Merge pull request #72460 from Calinou/project-manager-disable-incompatible-rendering-methods
...
Disable incompatible rendering methods in the project manager
2023-02-22 22:47:07 +01:00
Hugo Locurcio
8ebc5b2875
Disable incompatible rendering methods in the project manager
...
The project manager can now only create projects that use a rendering
method compatible with the current platform. Rendering methods that
are disabled at build-time are also grayed out (only for OpenGL).
While it is possible in theory to create a project using Forward+
on web (thanks to the automatic fallback),
it will look different once edited on a desktop platform.
2023-02-22 19:57:17 +01:00
George Marques
554b55ae74
Load script for addons without cache
...
Since they are postponed sometimes due to transient script errors, it
needs to try again without the cache to compile the script again
instead of using the failed one.
2023-02-22 15:52:36 -03:00
SaracenOne
7bbd7833de
Fix ownership bug on ancestor nodes when scene is reimported.
2023-02-22 18:21:14 +00:00
bruvzg
4593ad23fd
Add some missing EditorFileDialog methods and properties.
2023-02-22 11:55:08 +02:00
Rémi Verschelde
ba5a70ccc9
Merge pull request #73708 from davicr/output_font_setting_fix
...
Add Output font size in Theme regeneration conditions
2023-02-22 10:14:52 +01:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
...
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Rémi Verschelde
c86f18698e
Merge pull request #73726 from KoBeWi/parenting_problems
...
Fix Polygon3DEditor parenting errors
2023-02-22 10:13:13 +01:00
Rémi Verschelde
e0cba314b9
Merge pull request #73725 from RevoluPowered/implement-automatic-rename-for-import-file-root-node3d
...
Implement automatic rename for Spatial to Node3D in .import files using 3 to 4 conversion utility
2023-02-22 10:13:08 +01:00
Rémi Verschelde
91aed4b9b5
Merge pull request #73694 from m4gr3d/update_touchscreen_editor_settings_main
...
Enable granular control of touchscreen related settings
2023-02-22 10:12:42 +01:00
Danil Alexeev
d49ac0466f
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 11:17:10 +03:00
Fredia Huya-Kouadio
445053a62d
Enable granular control of touchscreen related settings
2023-02-22 00:16:39 -08:00
kobewi
f3040be3ba
Fix Polygon3DEditor parenting errors
2023-02-22 03:17:29 +01:00
Gordon MacPherson
8a86d8411e
Implement automatic rename for project
...
- Import must rename nodes/root_type="Spatial" to "Node3D":
- Resolves ownership issues with calling:
scene->replace_by(base_node);
when the original root type was Spatial.
2023-02-22 02:10:55 +00:00
Davi
21fcf657ce
Add Output font size in Theme regeneration conditions
2023-02-21 17:45:20 -03:00
kobewi
5906d6de8e
Fix line folding with multiple carets
2023-02-21 21:28:26 +01:00
Hugo Locurcio
0f73ef1df9
Use 8×8 default grid size for TextureRegion and 2D polygon editors
...
Power-of-two grid sizes are more suited to most game assets.
2023-02-21 17:02:24 +01:00
bruvzg
921f3b7589
Automatically reparent editor message dialogs to avoid error spam.
2023-02-21 12:32:11 +02:00
Rémi Verschelde
6acc7f03ed
Merge pull request #73595 from KoBeWi/missingno
...
Fix missing directories when exporting from cmd
2023-02-21 11:14:34 +01:00
Hakim
52de40310a
Use physical shortcuts for freelook navigation in the editor
2023-02-21 10:56:14 +01:00
bruvzg
64ba999eb1
Fix shortcut reset.
2023-02-21 08:08:53 +02:00
Rémi Verschelde
62d4d8bfc6
Merge pull request #73634 from KoBeWi/merged_into_error
...
Fix tile atlas merging crash
2023-02-20 22:46:31 +01:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
kobewi
97bd6c0539
Don't save scripts when exiting editor
2023-02-20 19:29:20 +01:00
kobewi
56251cf08c
Fix tile atlas merging crash
2023-02-20 18:22:44 +01:00
kobewi
ff42cb0d1e
Fix missing directories when exporting from cmd
2023-02-20 17:39:38 +01:00
Rémi Verschelde
410360ef04
Merge pull request #73592 from pattlebass/conversion-popup-cutoff
...
Increase minsize for some Project Conversion dialogs
2023-02-20 15:41:48 +01:00
Rémi Verschelde
3e0a989bd1
Merge pull request #73237 from KoBeWi/did_you_know_that_the_maximum_branch_name_length_is_250_bytes ❔ _this_means_that_this_branch's_diff_could_probably_fit_into_its_name,_because_it's_so_ridiculously_small._Why_are_you_reading_this_btw ❔
...
Fix corrupt undo after making sub-resources unique
2023-02-20 15:41:00 +01:00
pattlebass
a16dfaa39c
Increase minsize for some Project Conversion dialogs
...
This is more of a workaround than a fix.
The underlying issue is that `ConfirmationDialog` doesn't always update its size
if you change its text. (or it updates it AFTER it had already popped up).
`wrap_controls` doesn't help here.
2023-02-20 15:20:55 +01:00
Rémi Verschelde
6f64349bfe
i18n: Sync translations with Weblate
2023-02-20 12:09:15 +01:00
Rémi Verschelde
4cd2aec2f0
Merge pull request #73604 from KoBeWi/make_read_only_only_if_not_already_read_only_and_make_not_read_only_only_when_is_read_only
...
Apply inspector read_only only when changed
2023-02-20 11:29:05 +01:00
kobewi
860da7bc77
Apply inspector read_only only when changed
2023-02-20 09:55:06 +01:00
kobewi
21b021a705
Remove path hard-coding in editor_build_profile
2023-02-19 20:58:36 +01:00
Rémi Verschelde
f2a2e47009
Merge pull request #71398 from honix/property-revert-release-focus
...
Fix property revert doesn't revert selected fields
2023-02-19 01:02:20 +01:00
Rémi Verschelde
9ccfe68d50
Merge pull request #73526 from YuriSizov/branded-project-llc
...
Add a custom icon for the `project.godot` file in the `EditorFileDialog`
2023-02-19 01:01:08 +01:00
Yuri Sizov
e9c7b8d224
Merge pull request #71850 from WesleyElliott/fix-custom-node-export
2023-02-18 12:40:09 +03:00
Yuri Sizov
ed8554bff6
Merge pull request #73513 from YuriSizov/bone2d-remove-deprecated-methods
...
Remove deprecated methods from Bone2D
2023-02-18 04:32:49 +03:00
Yuri Sizov
236cec0633
Add a custom icon for the `project.godot` file in the EditorFileDialog
2023-02-17 22:42:23 +01:00
Yuri Sizov
0c27edf3d9
Merge pull request #73512 from groud/fix_tilemap_dragging_selection
...
Fix TileMap dragging selection
2023-02-17 23:41:56 +03:00
Yuri Sizov
28db611f0f
Merge pull request #71792 from EricEzaM/66428-changing-the-play-shortcut-gets-overwritten-every-restart
...
Fix shortcuts which have feature override defined reverting to default when user changes the shortcut to be same as non-overridden.
2023-02-17 20:31:52 +03:00
Yuri Sizov
b2f63bbb43
Remove deprecated methods from Bone2D
...
- also add them to the project convertor
2023-02-17 18:05:52 +01:00
Gilles Roudière
88f3d18bc6
Fix TileMap dragging selection
2023-02-17 17:55:03 +01:00
Rémi Verschelde
0f72c77cd4
Merge pull request #70788 from ZangEldor/empty_frame_name_fix
...
Fixed SpriteFrame allowed entering an empty name
2023-02-17 15:30:44 +01:00
Eldor Zang
62976659b8
Set default name if SpriteFrames name is empty
2023-02-17 15:29:07 +01:00
Rémi Verschelde
7c7ba88d19
Merge pull request #66121 from Zylann/plugin_handles_edit_object_argument
...
Change `_can_handle` and `_edit` virtual methods to take `Object*`
2023-02-17 15:19:12 +01:00
Yuri Sizov
37cd20b38d
Merge pull request #73220 from Mickeon/renames-more-like-retype
...
Tweak comments in `renames_map_3_to_4` & reorder
2023-02-17 16:41:12 +03:00
Yuri Sizov
47e030251f
Merge pull request #73381 from KoBeWi/works_better_than_expected_huh
...
Fold resources when non-main inspector exits tree
2023-02-17 16:25:18 +03:00
Marc Gilleron
d2b4e30058
Change `_can_handle` and `_edit` virtual methods to take `Object*`
2023-02-17 14:10:38 +01:00
Rémi Verschelde
f0c9ed4b55
Merge pull request #71475 from Maran23/4-x-theme-outline-affects-editor
...
Fix custom theme outline settings affects the editor theme as well
2023-02-17 14:07:22 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
...
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
Rémi Verschelde
3a7cb4a1e0
Merge pull request #68083 from atngames/master
...
Added a signal connection to update buses editor on "bus_layout_changed"
2023-02-17 09:50:01 +01:00
bruvzg
174e0837e0
[macOS] Re-add support for the _sc_ inside app bundle. Update docs.
2023-02-17 09:55:56 +02:00
Rémi Verschelde
2824774d29
Merge pull request #69801 from nongvantinh/fix-invalid-scene-name
...
Fixed scene name can be saved as extension only
2023-02-17 00:35:00 +01:00
Rémi Verschelde
2aaa6f6728
Merge pull request #69810 from trollodel/scene_importer_material_crash_fix
...
Ensure that generated import IDs are unique
2023-02-17 00:34:14 +01:00
Nong Van Tinh
010ddfbc16
Prevent saving files with no name and only an extension.
...
Fixes #69768 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-17 00:23:15 +01:00
rsjtdrjgfuzkfg
331dd33009
Theme Editor: fix leading styleboxes / main styles
...
Recent changes in Godot cause the theme editor to become hidden when
editing a child resource. This causes a crash when editing style box
resources marked as "main styles" (= leading styleboxes in the code), as
they try to reference the currently edited theme.
This commit works around the issue by permitting the Theme Editor to
keep a reference to the most recently edited Theme. Furthermore, it adds
an assertion to avoid a similar crash in the future.
Long-term, the workaround should probably be removed when the theme editor
is fixed to remain visible while editing child resources, but I'd keep
the assertion.
2023-02-16 20:41:51 +01:00
Rémi Verschelde
d768be4199
Merge pull request #73447 from KoBeWi/3early5me
...
Fix wrong font in Event Configuration
2023-02-16 18:34:55 +01:00
Rémi Verschelde
57419dcd88
Merge pull request #73440 from aXu-AP/code-editor-toggle-comment-fix
...
Fix toggle comment not moving caret
2023-02-16 18:34:51 +01:00
kobewi
be03c79001
Fix wrong font in Event Configuration
2023-02-16 18:19:28 +01:00
aXu-AP
d188068caa
Fix toggle comment not moving caret
...
Fix regression if caret is at the beginning of the line and comment is toggled.
2023-02-16 16:17:24 +02:00
Rémi Verschelde
9f07643c8c
Merge pull request #73361 from akien-mga/your-ints-aint-gonna-increment-themselves
...
EditorProperty: Fix missing increment buttons for integers
2023-02-16 11:01:52 +01:00
Rémi Verschelde
373cbbe7b2
Merge pull request #73375 from KoBeWi/save_us_all_from_crash
...
Fix Save All trying to save empty scene paths
2023-02-16 11:01:48 +01:00
Rémi Verschelde
e178042866
Merge pull request #73370 from timothyqiu/tiles-i18n
...
Add missing i18n in tiles editor
2023-02-16 11:01:43 +01:00
Rémi Verschelde
02ca6689c4
Merge pull request #73369 from SaracenOne/animation_length_read_only
...
Make animation length control respect read-only rules.
2023-02-16 11:01:38 +01:00
Rémi Verschelde
366b4094ec
Merge pull request #73350 from SaracenOne/node_pointer_revert_fix
...
Fixes revert button on exported node properties on inherited nodes
2023-02-16 11:00:24 +01:00
kobewi
7aa3651e2b
Fold resources when non-main inspector exits tree
2023-02-15 18:20:55 +01:00
kobewi
f579c0a79f
Fix Save All trying to save empty scene paths
2023-02-15 17:29:52 +01:00
SaracenOne
919df3ac0e
Make animation length control respect read-only rules.
2023-02-15 15:13:50 +00:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
Rémi Verschelde
840675ee07
EditorProperty: Fix missing increment buttons for integers
...
Fixes #73192 .
2023-02-15 15:26:46 +01:00
SaracenOne
6696a0790c
Fixes revert button on exported node properties on inherited nodes.
2023-02-15 11:40:00 +00:00
Rémi Verschelde
088d227812
Merge pull request #73340 from TokageItLab/diamond-audio
...
Fix display for no-length audio stream keys
2023-02-15 09:51:58 +01:00
Silc Renew
d5e662af73
Fix display for no-length audio stream keys
2023-02-15 17:00:31 +09:00
Haoyu Qiu
0edd46e3fc
Fix editor language dropdown incomplete in some locales
2023-02-15 08:59:11 +08:00
RedworkDE
1fb2b662e1
Fix `texture_format/bptc` export option
2023-02-14 13:51:42 +01:00
Rémi Verschelde
56d78c32f7
Merge pull request #68558 from dzil123/remove_duplicate_wireframe
...
Node3DEditorViewport - Remove duplicate wireframe check and cleanup
2023-02-14 13:36:52 +01:00
Rémi Verschelde
a1986729a5
Merge pull request #73277 from RandomShaper/fix_pck_errors
...
Reword misleading error messages in PCK export
2023-02-14 13:35:27 +01:00
Pedro J. Estébanez
cc9c43a631
Reword misleading error messages in PCK export
2023-02-14 12:04:31 +01:00
Rémi Verschelde
76876a7337
Merge pull request #73259 from KoBeWi/spaghetti_map
...
Fix some TileMap errors and crashes
2023-02-14 11:06:39 +01:00
Rémi Verschelde
bed1ebd527
Merge pull request #72259 from Paulb23/json-editing
...
Support editing JSON in ScriptEditor
2023-02-14 11:04:17 +01:00
Rémi Verschelde
bfe43f69b8
Merge pull request #67707 from Cykyrios/hide-private-prop-description-in-classdoc
...
Fix private properties appearing in custom class doc Property Descriptions
2023-02-14 11:03:50 +01:00
kobewi
be6d5bbba6
Fix some TileMap errors and crashes
2023-02-14 00:39:41 +01:00
Ryan Roden-Corrent
806425621c
Disable local space for blender transforms.
...
Having local_space enabled when starting a transform changed the
behavior of VIEW space transforms. Now we disable local_space when
starting a blender transform (there was already logic to restore the
setting after the transform ends).
This also hides the gizmo while performing a blender transform,
otherwise the user will see it snap back and forth between the local and
global alignment. I think the transform looks cleaner with the gizmo
hidden anyways.
Fixes #59392 .
2023-02-13 18:09:44 -05:00
kobewi
390bb23675
Improve Image preview in the inspector
2023-02-13 23:03:38 +01:00
Rémi Verschelde
853c36ca0b
Merge pull request #61411 from snailrhymer/tilemap-editor-scattering
...
Fix random placement behaviour in new TileMap Editor
2023-02-13 21:14:40 +01:00
Rémi Verschelde
49fd62c315
Merge pull request #67523 from zaevi/fix_ProjectManager_sorting
...
Fix sorting issue in Project Manager.
2023-02-13 21:07:58 +01:00
kobewi
0c71c443ef
Fix corrupt undo after making sub-resources unique
2023-02-13 19:18:03 +01:00
Micky
e20b2f6c80
Tweak comments in `renames_map_3_to_4` & reorder
...
Generally moves comments and some entries around, as well as fixing typos and miscellaneous inconsistencies.
To go more in detail on a few things:
- In comments, separate between class names and notes with "--";
- In comments, replace all "broke" with "-- Breaks"
- Moves `@GlobalScope` constants to its own group in `enum_renames`
- Move `{ "remove", "remove_at" },` underneath the Builtin Types methods.
- Move C#'s `AddNode3dGizmoPlugin` to where it should be, in alphabetical order.
- Give more details to some class renames.
- Comments out `remove` -> `remove_at`
2023-02-13 14:00:30 +01:00
Juan Linietsky
6cd587c8f4
Prevent recursive importing (hack)
...
Prevents recursion when importing files due to the ill nature of EditorProgress.
The progress dialog will have to be entirely rewritten after 4.0 is out due to it being a constant source of bugs.
In the meantime, this fixes the problem.
Fixes #53871 . Supersedes #73159 .
2023-02-13 11:54:32 +01:00
Haoyu Qiu
84aee17901
Improvements and fixes based on Weblate comments
...
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
* "Inclusive" and "Self" in the profiler.
* Places where it needs the context about being an editor progress label.
* "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
* Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
* Fix duplicated "if" in the description of `signf()`.
* Fix mismatched example output in `String.operator %()`.
* Fix typo in the description of `Decal.texture_emission`.
* Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
aXu-AP
bdfb10fb98
Rework code editor multiline operations
...
Fix bugs if 2 selections were on same line.
Fix bugs when selection ended at new line.
Make carets stay in place after operation and on undo.
Affects: delete lines, move lines, toggle comments, bookmarks and breakpoints.
2023-02-12 20:53:49 +02:00
MmAaXx500
aa9d2149e7
Round 2: Fix mesh library remove selected item menu option
...
Previous pr: #46435
Fixes : #45969
2023-02-12 11:39:55 +01:00
Haoyu Qiu
4e36fc9777
Add more property capitalizations
...
* glTF
* LODs (plural form of LOD)
* Skeleton modification algorithms: CCDIK and FABRIK
2023-02-12 15:25:39 +08:00
Rémi Verschelde
cb2e73d578
Merge pull request #73033 from akien-mga/gdscript-fix-gd4-renames-build
...
Clean up ProjectConverter3To4 architecture, move renames map to separate file
2023-02-11 22:05:38 +01:00
Rémi Verschelde
9f7744ee0e
Merge pull request #46435 from Hassan-A/MeshLibrary-RemoveItem-Fix
...
Fix mesh library remove selected item menu option
2023-02-11 22:04:25 +01:00
Rémi Verschelde
5ba53d0b36
Merge pull request #71740 from Jummit/dict-array-missing-types
...
Support signals and callables in exposed dictionaries
2023-02-11 22:04:02 +01:00
Rémi Verschelde
b601f7959b
Merge pull request #73106 from YuriSizov/editor-help-theming-2000
...
Improve EditorHelp theming and make font size settings work
2023-02-11 22:01:20 +01:00
Haz
189acbee60
Fix mesh library remove selected item menu option
...
Fixes #45969 .
2023-02-11 21:40:50 +01:00
Ruthger Dijt
e2a87ec28b
fix nullptr dereference in AnimationTimelineEdit
2023-02-11 20:30:11 +01:00
Yuri Sizov
dd6ac955c3
Increase default font sizes for EditorHelp
2023-02-11 20:09:57 +01:00
Yuri Sizov
0eb3b49c39
Make EditorHelp respect font size settings
2023-02-11 20:09:57 +01:00
Yuri Sizov
bbbcd77217
Make use of a theme cache in EditorHelp and ensure it's updated
...
- Migrates the existing cache to the standard theme cache struct
- Moves some parts of the codebase to use cache instead of ad-hoc fetching
- Adds hooks to editor settings previously missing from theme regeneration
2023-02-11 20:09:35 +01:00
Rémi Verschelde
44b41ded82
Merge pull request #73098 from YuriSizov/editor-dont-hide-plugins
...
Avoid cleaning up editor plugins when property list changes
2023-02-11 15:35:56 +01:00
Rémi Verschelde
ec55278415
Merge pull request #73092 from TokageItLab/ray-is-what
...
Remove WARNING "ray: index" for debug from SkeletonEditor
2023-02-11 14:38:42 +01:00
Rémi Verschelde
0e81e2a30f
Merge pull request #73091 from TokageItLab/fix-bezier-edit-button-update
...
Fix weird bezier edit button update timing in AnimationTrackEditor
2023-02-11 14:38:18 +01:00
Yuri Sizov
18d6c91e8e
Avoid cleaning up editor plugins when property list changes
...
Also removes a usability hack from the Theme editor, as it doesn't work anymore,
and it confuses the Inspector.
2023-02-11 14:38:07 +01:00
Rémi Verschelde
7bcd9a1049
Merge pull request #73082 from aaronfranke/check-canvas-item
...
Check for CanvasItem instead of Control and Node2D
2023-02-11 14:35:54 +01:00
Silc Renew
46645a34e3
Remove WARNING "ray: index" for debug from SkeletonEditor
2023-02-11 20:53:01 +09:00
Silc Renew
4c5bd4cb0a
Fix weird bezier edit button update timing in AnimationTrackEditor
2023-02-11 20:48:18 +09:00
Aaron Franke
be916233f9
Check for CanvasItem instead of Control and Node2D
2023-02-11 02:18:10 -06:00
heppocogne
78ea4b2f0c
Fix code editor's ColorPicker issue
...
ColorPicker now supports color constants.
Modify code comments.
2023-02-11 00:14:14 +01:00
SnailRhymer
db8d308830
Fix random placement behaviour in new TileMap Editor
...
Fix a bug where scattering could be set to e.g. 0.9 but a tile would still always be placed, as the check rand > 0.9 would be run on every mouse movement until it was successful.
2023-02-10 19:08:03 +01:00
Rémi Verschelde
766bb88159
Merge pull request #71691 from hcoura/res-importer-gen-physics-mesh-only-when-needed
...
Fix SceneImportSettings perf issues
2023-02-10 18:46:00 +01:00
Rémi Verschelde
73c53cca81
Merge pull request #71054 from MarioLiebisch/fix-animationplayer-calltrack-strings
...
Properly stringify args for Call Method Tracks
2023-02-10 18:44:29 +01:00
Rémi Verschelde
e52a2e3864
Merge pull request #73042 from akien-mga/create-project-gl_compatibility-mobile
...
ProjectManager: Also set `gl_compatibility` for mobile override
2023-02-10 18:44:13 +01:00
Yuri Sizov
cd015d9ac9
Merge pull request #43111 from junkajii/master
...
New icons for ParallaxBackground & ParallaxLayer
2023-02-10 19:13:53 +03:00
Rémi Verschelde
ab56e79a6a
ProjectManager: Also set `gl_compatibility` for mobile override
...
It's a bit hacky as the choice mainly impacts the main setting, but there are
pre-existing overrides which supersede it. We should treat this checkbox as
the highest allowed rendering method, and replace the ones which would be
higher end (here replace `mobile` with the chosen `gl_compatibility`).
2023-02-10 15:45:52 +01:00
Rémi Verschelde
493e932c86
i18n: Sync translations with Weblate
2023-02-10 15:32:10 +01:00
Rémi Verschelde
fd55321da9
Merge pull request #73001 from SaracenOne/update_on_advanced_reimport
...
Emit reimport signal in reimport_file_with_custom_parameters method
2023-02-10 15:07:07 +01:00
Rémi Verschelde
44d5d4e3cd
Merge pull request #73007 from KoBeWi/typos_be_like
...
Fix error spam when deselecting TileMap
2023-02-10 15:06:40 +01:00
Rémi Verschelde
bd09fcc3ca
Merge pull request #73034 from groud/fix_tilemap_pattern
...
Fix TileMap patterns creation
2023-02-10 15:06:35 +01:00
Rémi Verschelde
e19e6b09b9
Clean up ProjectConverter3To4 architecture, move renames map to separate file
...
This allows properly limiting what features depend on the RegEx module
(doing the actual conversion) and what features only require the renames
data (GDScript suggestions).
Also better excludes the conversion command line options when actually
disabling deprecated code.
Fixes #73029 .
2023-02-10 14:35:22 +01:00
Gilles Roudière
89ccdc7d34
Fix TileMap patterns creation
2023-02-10 10:46:19 +01:00
Haoyu Qiu
26581ca574
Add some missing translatable editor strings
2023-02-10 16:55:50 +08:00
kobewi
f92392ce23
Fix error spam when deselecting TileMap
2023-02-10 01:07:48 +01:00