Commit Graph

16291 Commits

Author SHA1 Message Date
Rémi Verschelde 4bef4d9808
Merge pull request #95225 from Hilderin/fix-performance-reimport-file
Fix performance issue reimport file reload scene
2024-08-07 23:47:06 +02:00
Rémi Verschelde d775887c83
Merge pull request #95061 from Geometror/vs-style-improvements1
[VisualShader] Reduce size changes of nodes when connecting/disconnecting
2024-08-07 23:46:50 +02:00
kleonc 6b82c48bc6 Fix leaf Bone2Ds drawing in Polygon2D UV editor 2024-08-07 21:06:00 +02:00
kobewi 8623a75380 Fix usage of add_inspector_plugin() 2024-08-07 14:16:02 +02:00
kobewi 9a8ba93963 Initialize project name when importing project 2024-08-07 13:22:55 +02:00
jsjtxietian 78dc310103 Fix Pressing Escape doesn't exit freelook in the 3D editor 2024-08-07 11:11:28 +08:00
Hilderin 7934e73d78 Fix performance issue reimport file reload scene 2024-08-06 22:29:04 -04:00
Rémi Verschelde eabeafd8c3
Merge pull request #95086 from m4gr3d/fix_import_button_not_showing_directories
[Android editor] Fix issue with importing projects
2024-08-06 23:59:20 +02:00
Rémi Verschelde 3158bbdb6d
Merge pull request #95084 from Hilderin/fix-crash-reimport-scene-with-animations
Fix crash on reimport scene with animations
2024-08-06 23:15:52 +02:00
Rémi Verschelde ee986b7d47
Merge pull request #95090 from timothyqiu/scene-drop
Don't drop `PackedScene` as property
2024-08-06 12:31:47 +02:00
Rémi Verschelde f544c461f0
Merge pull request #95082 from m4gr3d/fix_display_scale_project_settings
[Android editor] Enable the display scale option in the Project manager's quick settings
2024-08-06 12:31:38 +02:00
Giganzo 7d6ce3345b Fix checkbox alignment when using compact theme spacing 2024-08-06 12:26:55 +02:00
kobewi e47ec7eeb0 Avoid saving EditorSettings on startup 2024-08-05 21:14:24 +02:00
kobewi 30da21f073 Fix project name cleared when browsing path 2024-08-05 14:27:37 +02:00
Haoyu Qiu 8b3400e634 Don't drop PackedScene as property 2024-08-03 14:43:24 +08:00
Fredia Huya-Kouadio fb42b9ce65 Fix issue with import projects for the Android editor 2024-08-02 14:49:25 -07:00
Hilderin 769424388e Fix crash on reimport scene with animations 2024-08-02 16:50:22 -04:00
Fredia Huya-Kouadio eaf85e6582 Enable the display scale option in the Project manager's quick settings dialog 2024-08-02 12:58:06 -07:00
clayjohn 04d0e7f7a4 Check if RD is supported in the ProjectManager and disable creating RD projects if not supported. 2024-08-02 12:36:45 -07:00
Hendrik Brucker de7ce9a85f Reduce size changes of visual shader nodes when connecting/disconnecting
- plus small internal rename
2024-08-02 13:26:49 +02:00
kobewi ab4c23583a Add keep_screen_on editor setting 2024-08-02 03:44:29 +02:00
kit d357a7d0f9 Fix EditorSpinSlider when hidden 2024-08-01 12:14:56 -04:00
kobewi 0d1c388991 Fix some legacy code 2024-08-01 12:08:14 +02:00
Hilderin 1ed723bd19 Fix global class cache file not present when no class name 2024-07-31 16:57:25 -04:00
Thaddeus Crews 0163705640
SCons: Add method to generate raw cstrings 2024-07-31 14:22:04 -05:00
Rémi Verschelde 6cd2876c98
i18n: Sync translations with Weblate 2024-07-31 17:56:37 +02:00
Hugo Locurcio 789f3135ad
Split editor documentation cache by minor version
This avoids conflicts with other editor versions and ensures the
cache remains valid if you regularly switch between editor versions.
2024-07-31 17:17:45 +02:00
kit 06b17a4d2f Fix goto line issues in code editor 2024-07-31 10:34:10 -04:00
Rémi Verschelde 0f172b1beb
Merge pull request #94975 from akien-mga/fix-reimport-textures-with-changed-settings
Fix reimporting textures after changing import project settings
2024-07-31 16:13:18 +02:00
Rémi Verschelde e2be29c2a9
Merge pull request #93404 from TokisanGames/fix-empty-scene-crash
Fix crash in Node3DEditorViewport selecting on empty scene
2024-07-31 16:13:12 +02:00
Rémi Verschelde 5914023be9
Fix reimporting textures after changing import project settings
Fixes #94882.
2024-07-31 13:48:42 +02:00
Rémi Verschelde 4cc56e1c22
Merge pull request #94932 from Hilderin/fix-editor-settings-still-displayed-when-replaced
Fix editor settings still displayed when replaced
2024-07-31 11:37:44 +02:00
Rémi Verschelde 9fe4cb6a76
Merge pull request #93284 from rune-scape/missing-import-settings-crash
Avoid crashing when scene import settings are empty
2024-07-31 11:37:34 +02:00
jsjtxietian eab49cf256 Fix obj's name set in wrong order when importing 2024-07-31 14:50:02 +08:00
Hilderin 20f4d26510 Fix editor settings still displayed when replaced 2024-07-30 17:35:26 -04:00
Rémi Verschelde db79f52736
Merge pull request #94729 from Chaosus/vs_fix_param_set
Fix incorrect passing of parameter to visual shader preview
2024-07-30 12:28:51 +02:00
skyace65 cffc5cacbc
Fix Skeleton 3D insert key tooltips 2024-07-30 12:24:07 +02:00
Rémi Verschelde 4f2d818680
Merge pull request #94875 from Chaosus/vs_fix_expanded_port_updating
Fix expanded output ports disconnection on updating in visual shader
2024-07-29 15:17:36 +02:00
Rémi Verschelde f9474f0925
Merge pull request #93764 from patwork/fix-aspect-div-by-zero
Fix division by zero in aspect ratio calculation
2024-07-29 15:17:22 +02:00
Yahkub-R b89aee45d7 Fix for folding "Editable Children" nodes in Scene tree not being saved 2024-07-29 08:12:34 -04:00
bruvzg cbcc8fab73
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures. 2024-07-29 11:41:15 +03:00
Rémi Verschelde 1ad905c027
Merge pull request #85654 from Listwon/quit-to-project-list-wipe-fix-40968
Defer creating new editor process in "Quit to Project List" just like in "Reload Current Project"
2024-07-28 17:46:23 +02:00
Yuri Rubinsky 5893b38ddd Fix expanded output ports disconnection on updating in visual shader 2024-07-28 15:55:18 +03:00
Hilderin 2d4e573b20 Fix autoload node cannot be accessed by plugin on start-up 2024-07-26 10:29:38 -04:00
Rémi Verschelde c98a7060f0
Merge pull request #94787 from jsjtxietian/gdinc_-
Update shader list after saving `gdshaderinc` file
2024-07-26 13:44:22 +02:00
Rémi Verschelde c7f862d90d
Merge pull request #94738 from TokageItLab/blendshape-edit
Fix BlendShapeTrack insertion not working
2024-07-26 13:44:16 +02:00
Rémi Verschelde 6a1ac99a98
Merge pull request #94387 from mihe/fix-3d-selection-list
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-26 13:44:01 +02:00
jsjtxietian 3be7aaa624 Update shader list after save `gdshaderinc` file 2024-07-26 18:07:00 +08:00
Silc Lizard (Tokage) Renew b075eba68c Fix BlendShapeTrack insertion totally not working 2024-07-25 23:52:31 +09:00
Yuri Rubinsky 02a6f3944a Fix incorrect passing of parameter to visual shader preview 2024-07-25 11:54:22 +03:00
Rémi Verschelde 7acb61d346
Android Editor: Disable file reimport when .import changes
This is disabling the logic added in #84974 which caused #94416.
That issue still needs to be debugged further, but this works around
the regression and should have minimal usability impact on Android.
2024-07-24 12:07:59 +02:00
bruvzg 25f78a5eb6
Replace .NET detection code with `ClassDB::class_exists("CSharpScript")`. 2024-07-23 23:46:14 +03:00
bruvzg 32bc1c2f33
[Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +03:00
Rémi Verschelde 2b827f6d5f
Android Editor: Make progress dialog visible again 2024-07-23 17:36:07 +02:00
Rémi Verschelde 432d15e3f1
Merge pull request #94649 from AeioMuch/fix_wrong_selection
Fix node gets wrongly selected after moving another node in the tree
2024-07-23 15:55:42 +02:00
AeioMuch 393fb68aea
Fix node gets wrongly selected after moving another node in the tree 2024-07-23 15:16:45 +02:00
Rémi Verschelde 23a1104d78
Merge pull request #94610 from ajreckof/Fix-Object-encoded-as-id-in-dictionnaries-to-be-represented-as-int-in-the-inspector-
Fix Object encoded as id in dictionaries to be represented as int in the inspector.
2024-07-23 13:08:15 +02:00
Rémi Verschelde 307efbadf8
Merge pull request #94420 from TokageItLab/player-seek-internal
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-23 13:08:05 +02:00
Rémi Verschelde add558f3bc
Merge pull request #94304 from TokageItLab/fix-end-of-statemachine
Fix StateMachine process when transition to end & optimize StringName
2024-07-23 13:07:59 +02:00
Samuele Panzeri d0bcac8197 Remember editor window mode, screen, size and position on restart 2024-07-23 00:32:12 +02:00
Rémi Verschelde 40c6668044
Merge pull request #94622 from YeldhamDev/atr_corner_case
Parse `auto_translate` when generating a POT file
2024-07-22 17:24:11 +02:00
Rémi Verschelde b94b405d4b
i18n: Sync translations with Weblate 2024-07-22 16:38:48 +02:00
Rémi Verschelde 88c454539c
Merge pull request #94619 from RandomShaper/fix_gl_prev
Fix certain resource previews empty with GL compat
2024-07-22 15:41:17 +02:00
Rémi Verschelde 219cd80af8
Merge pull request #94593 from Hilderin/fix-crash-editor-invalid-editor-settings
Fix editor crash when editor settings resource is invalid
2024-07-22 15:41:10 +02:00
Michael Alexsander fe4bdaf5b5
Parse `auto_translate` when generating a POT file 2024-07-22 10:00:09 -03:00
Pedro J. Estébanez 78ba8b2804 Fix certain resource previews empty with GL compat
As an additional fix, the preview render request now ignores the main viewport hierarchy so previews don't pay the cost of re-rendering the whole editor and descendant viewports.
2024-07-22 14:44:14 +02:00
Rémi Verschelde 3641df5170
Merge pull request #94597 from Malcolmnixon/root-android-template-ignore
Change  .gitignore to only exclude root android template folder
2024-07-22 14:13:12 +02:00
Rémi Verschelde 97be935253
Merge pull request #94594 from KoBeWi/scenegroups😬😬
Increase threshold for displaying scene group update progress
2024-07-22 14:13:08 +02:00
ajreckof f46e94d460 Fix Object encoded as id in dictionnaries to be represented as int in the inspector. 2024-07-22 09:53:03 +02:00
Malcolm Nixon cb5cb3fae1 Change generated .gitignore to only exclude root android template folder. 2024-07-21 14:58:17 -04:00
kobewi 8f3d66eef1 Increase threshold for displaying scene group update progress 2024-07-21 19:45:09 +02:00
Hilderin 650981a080 Fix editor crash when editor settings resource is invalid 2024-07-21 13:26:15 -04:00
Juan Pablo Arce 45f6110e26 Fix gizmos without visible geometry not being selectable
The issue was that Node3DEditorViewport was using the render server's BVH to filter out nodes,
which is not correct for gizmos that have no renderable components,
or have collision triangles that exceed the bounds of their renderable components.
2024-07-21 13:56:13 -03:00
Hugo Locurcio 41b7196ad4
Fix incorrect Curve editor preview thumbnail scaling
`EDSCALE` scaling was applied even though it shouldn't be, which led
to pixelated thumbnails due to double scaling. For reference,
AudioStream previews don't use `EDSCALE` and look fine at any editor
scale (the editor itself already scales the thumbnail requests).
2024-07-21 05:59:01 +02:00
Rémi Verschelde e25f3c0d38
Merge pull request #94302 from TokageItLab/reset-after-change-animation-editor
Fix the behavior of after selecting animation on AnimationPlayerEditor to reset position to `0`
2024-07-20 21:43:50 +02:00
Rémi Verschelde cca22015d5
Merge pull request #94113 from jsjtxietian/project-dialog
Make `fdialog_project` up to become the child of `ProjectManager` instead of child of `ProjectDialog`
2024-07-19 17:31:45 +02:00
Rémi Verschelde 50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +02:00
jsjtxietian 092d21a2ec Make `fdialog_project` up to become sibling of `ProjectDialog` instead of child 2024-07-19 21:03:58 +08:00
Yahkub-R 66822a8948 Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 -04:00
Roy Berardo 298432317d Make "Remove Item" appear at the top of the list that appears when editing the type of value in an array or dictionary 2024-07-19 03:14:47 -07:00
Rémi Verschelde 2549205aa8
Merge pull request #94450 from jamie-pate/fix_94274
Fix crash when adding scenes with a group to the level scene
2024-07-19 11:10:51 +02:00
Rémi Verschelde f649112dfc
Merge pull request #94116 from bruvzg/ed_quit_unload
[Editor] Unload addons when using `--import` or `--quit`.
2024-07-19 11:10:37 +02:00
Jamie Pate 8e1e0d4b42 Fix Crash when adding scenes with a group to the level scene
Fixes #94274
2024-07-18 17:02:39 -07:00
Rémi Verschelde 72e434bad4
Merge pull request #94497 from Chaosus/vs_rotation_by_axis
Few fixes for `VisualShaderNodeRotationByAxis`
2024-07-18 15:38:24 +02:00
Rémi Verschelde 6b5825a0cb
Merge pull request #94494 from ckaiser/better-curve-preview
Improve Curve preview colors for consistency
2024-07-18 10:45:53 +02:00
Rémi Verschelde 5ae8ac5c59
Merge pull request #94491 from iiMidknightii/fix-unique-name-on-scene-root
Disable unique name in scene when making a node the root node
2024-07-18 10:45:46 +02:00
Rémi Verschelde 43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +02:00
Yuri Rubinsky cf70cb57ee Few fixes for `VisualShaderNodeRotationByAxis` 2024-07-18 11:10:36 +03:00
Christian Kaiser 5f4f088552 Improve Curve preview colors for consistency 2024-07-18 02:05:00 -03:00
iiMidknightii 2bbba84f79 Removed Unique Name Access From Node Moved To Root 2024-07-17 16:17:22 -07:00
RedMser f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
Rémi Verschelde da4f6e439c
Merge pull request #94474 from dalexeev/editor-fix-jump-to-error-column
Editor: Consider tabs when calculating column for jump to error
2024-07-17 18:33:48 +02:00
Danil Alexeev 063a362755
Editor: Consider tabs when calculating column for jump to error 2024-07-17 18:20:50 +03:00
Rémi Verschelde 4d97269e11
Merge pull request #94357 from KoBeWi/your_file_is_broken._just_saying
Don't attempt to re-import broken files if they didn't change
2024-07-17 15:45:07 +02:00
Rémi Verschelde c4806ed2a9
Merge pull request #94356 from KoBeWi/metas_everywhere
Make sure that selected tile source is remembered
2024-07-17 15:45:04 +02:00
Rémi Verschelde a4312eebaa
Merge pull request #94468 from m4gr3d/restart_editor_when_updating_touchscreen_settings
[Android Editor] Resolve issues with the editor touchscreen settings
2024-07-17 12:24:14 +02:00
Rémi Verschelde ee9f20b457
Merge pull request #94435 from Hilderin/fix-removing-folder-with-files
Fix removing a folder that contains a file is not removed from the FileSystem Dock
2024-07-17 11:44:42 +02:00
Rémi Verschelde 7b12dbd74d
Merge pull request #94425 from m4gr3d/fix_remote_android_button_not_enabling
Fix issue preventing enabling the remote button for Android/iOS
2024-07-17 11:44:34 +02:00
Rémi Verschelde cb2650cea9
Merge pull request #94405 from ydeltastar/fix-export-no-params
Fix error when exporting files without import parameters
2024-07-17 11:44:27 +02:00
Rémi Verschelde ed13b2a66d
Merge pull request #94272 from Chaosus/vs_add_vec4_switch
Add `SwitchVector4D` shortcut to visual shader members
2024-07-17 11:43:43 +02:00
Rémi Verschelde 69a8aed59a
Merge pull request #94101 from aaronfranke/fix-editor-insp-crash
Fix editor inspector crashing when the old object is no longer valid
2024-07-17 11:43:11 +02:00
Rémi Verschelde 2380ed5e1b
Merge pull request #94058 from Hilderin/fix-scene-project-importation-settings
Fix missing options in Project Import Defaults
2024-07-17 11:42:59 +02:00
Rémi Verschelde efae318304
Merge pull request #94053 from Hilderin/fix-toggle-last-opened-bottom-panel-after-restoring-to-side
Fix Toggle Last Opened Bottom Panel not working after restoring FileSystem Dock to the side
2024-07-17 11:42:55 +02:00
Rémi Verschelde 496fd12b17
Merge pull request #94052 from m4gr3d/clean_input_dispatch_settings
Cleanup Android input on render thread settings
2024-07-17 11:42:52 +02:00
Rémi Verschelde ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
Fredia Huya-Kouadio 8f7dc86223 Enable `restart_if_changed` for the touchscreen editor settings
The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
2024-07-17 02:30:30 -07:00
Hilderin a1ef54fd3b Fix removing a folder that contains a file is not removed from the FileSystem Dock 2024-07-16 08:52:39 -04:00
Mikael Hermansson 08ef14a037 Fix animation library copy-paste not preserving resource reference 2024-07-16 11:34:44 +02:00
Fredia Huya-Kouadio 5b327aee96 Fix issue preventing enabling the remote button for Android
https://github.com/godotengine/godot/pull/92032 updated the logic to enable / disable the remote debug button, and in doing so added a `can_export` check.

However, no events / notifications are dispatched when the value of the `can_export` check changes, which in turn prevents the logic used to enable / disable the remote debug button from running again.

The fix consists then in removing the `can_export` check, so that the remote debug button shows as `enabled` when a preset is present and is runnable.
2024-07-16 00:25:16 -07:00
Silc Lizard (Tokage) Renew 98dbd869c5 Handle internal seek on AnimationPlayer to process discrete correctly 2024-07-16 14:49:25 +09:00
yds 326e51750b Fix error when exporting files without import parameters 2024-07-15 18:24:12 -03:00
Mikael Hermansson c9e0532bc2 Fix "selectable nodes at position clicked" feature in 3D editor 2024-07-15 13:14:57 +02:00
kobewi a5d86c1327 Don't attempt to re-import broken files if they didn't change 2024-07-14 19:51:29 +02:00
kobewi a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
kobewi 0b513b9f65 Allow box selecting over CanvasItems when Shift is held 2024-07-13 18:21:17 +02:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
Silc Lizard (Tokage) Renew 7cdeac94d1 Fix StateMachine process when transition to end & optimize StringName 2024-07-13 17:32:31 +09:00
Silc Lizard (Tokage) Renew b326a35747 Reset position to 0 after animation selected on AnimationPlayerEditor 2024-07-13 14:27:01 +09:00
Yuri Rubinsky d375b99acf Add `SwitchVector4D` shortcut to visual shader members 2024-07-12 18:44:48 +03:00
Rémi Verschelde 383a6e4ef2
Merge pull request #94172 from jsjtxietian/open-save
Prevent confirm button being override to "Open" when in save file mode
2024-07-11 09:41:18 +02:00
Rémi Verschelde cead80e7d0
Merge pull request #94015 from Grublady/strip_slash
Ignore trailing slashes in new project’s path when disabling Create Folder
2024-07-11 09:41:14 +02:00
Rémi Verschelde 685413a948
Merge pull request #94162 from anniryynanen/sprite-frames-crash
Fix edited node being removed before editor plugin handles focus loss
2024-07-11 00:27:47 +02:00
Anni Ryynänen 4a27fb7e83
Fix edited node being removed before editor plugin handles focus loss
`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
2024-07-10 16:32:56 +03:00
jsjtxietian 4a4968f7d8 Prevent confirm button being override to "Open" when in save file mode 2024-07-10 19:49:03 +08:00
Yuri Rubinsky af5fc8354b Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit 2024-07-09 19:38:52 +03:00
Fredia Huya-Kouadio 5e59819727 Cleanup Android input on render thread settings
Follow up to https://github.com/godotengine/godot/pull/93933
Clean up the set of settings use to control whether Android input should be dispatched on the render thread.

Addresses comments in https://github.com/godotengine/godot/pull/93933#issuecomment-2210437977
2024-07-09 09:15:18 -07:00
Hilderin 169e732518 Fix missing options in Project Import Defaults 2024-07-09 09:33:39 -04:00
passivestar 09f967bc00 Prevent node rename shortcut from stealing focus from controls 2024-07-09 16:29:35 +04:00
bruvzg c151c7dce0
[Editor] Unload addons when using `--import` or `--quit`. 2024-07-09 09:54:41 +03:00
Rémi Verschelde b0467d07bf
Merge pull request #94105 from KoBeWi/same_parent_new_problems
Fix wrong inspected node after drag&drop
2024-07-09 00:03:32 +02:00
Rémi Verschelde 6d2fe76084
Merge pull request #94102 from Calinou/obj-import-fix-no-surfaces-error
Fix error message being printed when importing an OBJ with no surfaces
2024-07-09 00:03:26 +02:00
kobewi b51d9117ed Fix wrong inspected node after drag&drop 2024-07-08 23:52:16 +02:00
BrinerLovo bf01119cdf
Animation: Fix reset value when adding new Bezier track
Fixes #81929.

In Float and Integer types, there is no subindex – only the primary value.
Currently, trying to retrieve a subindex from these types in the Variant leads
to a return value of null. To address this, the proposed change ensures that
the default value is returned for these types instead of attempting an invalid
subindex retrieval.
2024-07-08 23:18:03 +02:00
Hugo Locurcio bbf68306c5
Fix error message being printed when importing an OBJ with no surfaces
An OBJ with no surfaces is valid, and typically happens when
you import an OBJ mesh with no associated MTL file.
2024-07-08 23:14:52 +02:00
Grublady 5583ac5218 Ignore trailing slashes in new project’s path when disabling Create Folder
In the “Create New Project” dialog, disabling the “Create Folder” slider with a trailing slash in the project path would cause it to incorrectly identify the last path component as the substring following the slash, in other words, an empty string.

By first discarding any trailing slashes when disabling the slider, the project dialog will now identify and pop the last path component as usual even when a trailing slash is present.
2024-07-08 17:10:12 -04:00
Aaron Franke 2e7526af42
Fix editor inspector crashing when the old object is no longer valid 2024-07-08 14:00:28 -07:00
Hugo Locurcio 5ee4100e4c
Remove unused Optimize Mesh import option from OBJ mesh import
This option was enabled by default, but it did nothing regardless
of whether it was enabled or not.
2024-07-08 22:58:51 +02:00
Rémi Verschelde 16f98cd707
Merge pull request #94079 from RandomShaper/editor_main_mq
Let EditorLog use the right call queue for thread safety
2024-07-08 19:13:45 +02:00
Rémi Verschelde 40d9f3a158
Merge pull request #94020 from Hilderin/fix-reimport-model-does-not-update-scene
Fix re-import glb model doesn't change the old glb model
2024-07-08 19:13:34 +02:00
Rémi Verschelde 16d549adc9
Merge pull request #93765 from Jordyfel/reimport-dependency-bug
Fix reimport by scan parsing dependency paths incorrectly
2024-07-08 19:13:28 +02:00
Rémi Verschelde 137b138be8
Merge pull request #84974 from KoBeWi/import_reimport
Reimport file when .import changes
2024-07-08 19:13:24 +02:00
ImpishOaths 0f7c4d8375 Don't lose in/out handles when bezier keyframe inserted on top of existing keyframe
Apply suggestions from code review

Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2024-07-08 09:05:07 -07:00
Pedro J. Estébanez 20298fbf07 Let EditorLog use the right call queue for thread safety
This is a complement to f61c63e3a1.
2024-07-08 17:18:46 +02:00
Rémi Verschelde f4bf25cb35
Merge pull request #94057 from kitbdev/fix-request-save-signal-type
Fix ScriptEditor `request_save_previous_state` signal type
2024-07-08 11:48:30 +02:00
Rémi Verschelde 50db553ed5
Merge pull request #94054 from mihe/fix-bezier-focus
Fix focus shortcut when in the bezier curve editor
2024-07-08 11:48:26 +02:00
kit ad8f065f4a Fix request_save_previous_state signal type 2024-07-07 19:12:30 -04:00
Mikael Hermansson 8546fe2b79 Fix focus shortcut when in the bezier curve editor 2024-07-08 00:20:38 +02:00
Hilderin cf8378f426 Fix Toggle Last Opened Bottom Panel not working after restoring FileSystem Dock to the side 2024-07-07 17:52:19 -04:00
Rémi Verschelde 56df419874
Merge pull request #94040 from Hilderin/fix-first-time-toggle-bottom-panel
Fix first time of Toggle Last Opened Bottom Panel opens Output panel
2024-07-07 21:58:58 +02:00
Rémi Verschelde 85e994bffb
Merge pull request #94033 from Hilderin/fix-ctrl-space-script-editor-add-space
Fix custom Ctrl-Space shortcut in Script Editor adds a space
2024-07-07 21:58:46 +02:00
Rémi Verschelde 4e38ce294d
Merge pull request #93860 from CookieBadger/animation-bezier-undo-on-different-animation-fix
Fix inconsistent behavior of Bezier editor undo operations upon selection of different animation
2024-07-07 21:58:36 +02:00
Hilderin a7c4522c04 Fix custom shortcut Ctrl-Space in Script Editor add a space 2024-07-07 15:53:48 -04:00
Hilderin 139288ca1e Fix first time of Toggle Last Opened Bottom Panel opens Output panel 2024-07-07 12:11:37 -04:00
Rémi Verschelde 0996c8438f
Merge pull request #93980 from TokageItLab/fix-sync-track-editor-position-with-player-editor
Fix broken sync between animation TrackEditor and PlayerEditor
2024-07-07 12:38:37 +02:00
Rémi Verschelde e05ac797ae
Merge pull request #93977 from ericrallen/feature/consistent-aesthetic-spelling
Style: Change esthetic -> aesthetic
2024-07-07 12:38:34 +02:00
Rémi Verschelde fbe663940c
Merge pull request #93974 from groud/fix_crash_editable_children_tilemaplayer
Fix crash in the TileMapLayer editor when using editable children
2024-07-07 12:38:29 +02:00
Rémi Verschelde 1cfcc04ffd
Merge pull request #93967 from dalexeev/editor-fix-help-bit-tooltip-for-signals
Editor: Fix `EditorHelpBitTooltip` for Signals dock
2024-07-07 12:38:26 +02:00
Hilderin 5a13cf0aea Fix re-import glb model doesn't change the old glb model 2024-07-07 02:01:03 -04:00
kobewi 5636518358 Allow live reloading of built-in scripts 2024-07-06 23:43:37 +02:00
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 -04:00
Silc Lizard (Tokage) Renew fae712d968 Fix broken sync between animation TrackEditor and PlayerEditor 2024-07-06 04:45:15 +09:00
Gilles Roudière 8ebaf4437a Fix crash in the TileMapLayer editor when using editable children 2024-07-05 17:08:18 +02:00
Danil Alexeev ec2f9355f5
Editor: Fix `EditorHelpBitTooltip` for Signals dock 2024-07-05 16:08:35 +03:00
Rémi Verschelde c9ca3aa9ab
Merge pull request #93971 from KoBeWi/casually_crashing_in_background
Fix crash in tile physics editor
2024-07-05 15:07:54 +02:00
Rémi Verschelde f1749c691f
Merge pull request #93968 from bruvzg/font_prev_update
[Editor] Update font preview directly instead of invalidating property list.
2024-07-05 15:07:50 +02:00
Rémi Verschelde 1704af01b1
Merge pull request #93959 from kitbdev/fix-drop-on-selection
Fix dropping on selection in script editor
2024-07-05 15:07:44 +02:00
Rémi Verschelde 47c471e8ef
Merge pull request #93957 from bruvzg/font_var_def
[Editor] Fix default font variation values handling in the property inspector.
2024-07-05 15:07:41 +02:00
Rémi Verschelde 932c191412
Merge pull request #93878 from allenwp/EditorExportPlugin_export_file_90365
`EditorExportPlugin`: Call `_export_file` for all resource types
2024-07-05 15:07:32 +02:00
Rémi Verschelde d2fc2a35b3
Merge pull request #92985 from KoBeWi/confirm_insert_shift
Restore "Confirm Insert Track" editor setting
2024-07-05 15:07:29 +02:00
kobewi 267b5bca23 Fix crash in tile physics editor 2024-07-05 14:00:30 +02:00
bruvzg 847aadee02
[Editor] Update font preview directly instead of invalidating property list. 2024-07-05 12:48:39 +03:00
Allen Pestaluky 8e6596629a EditorExportPlugin: Call _export_file for all resource types
- Alternate fix to #67844 that calls `_export_file` for all resource types instead of implementing `skip()` for customize functions.
- Fixes #93823.
- Moved logic surrounding "Skip" and "Keep" imported files to happen before resource customization. Fixes #93825.
- Also fixes an issue that I suspect might exist where progress bars during export were incorrect due to imported files in the project that are configured as "Keep" or "Skip".
2024-07-04 23:35:32 -04:00
kit fc16465d17 Fix dropping on selection in script editor 2024-07-04 19:42:38 -04:00
Rémi Verschelde 8455b3343e
Merge pull request #93933 from m4gr3d/anr_and_crash_bug_fixes
Fix crashes and ANRs reported by the Google Play Console
2024-07-04 23:27:20 +02:00
Rémi Verschelde 5c84398c15
Merge pull request #93903 from Geometror/vs-fix-frame-edscale
Fix some VisualShader features for high DPI displays/custom UI scales
2024-07-04 23:27:03 +02:00
bruvzg 6e0414a6c9
[Editor] Fix default font variation values handling in the property inspector. 2024-07-05 00:18:10 +03:00
Hendrik Brucker b871794591 Fix `GraphFrame` autoshrink with high DPI displays/custom UI scales 2024-07-04 19:08:06 +02:00
Rémi Verschelde 4d984b6369
Merge pull request #93930 from Arnklit/short-animation-length-bezier-handle-fix
Clamp bezier handle length to half the length of animation
2024-07-04 17:12:22 +02:00
Rémi Verschelde 0452cbee75
Merge pull request #93919 from Hilderin/fix-csv-translation-errors-import-other-resources
Fix adding a translation CSV results in errors on initial import for many types of resources
2024-07-04 17:12:19 +02:00
Rémi Verschelde 5f0a2dd0f2
Merge pull request #93909 from VictorKostinOfficial/missing-custom-resources
Fix custom resources often missing from Quick Load dialog
2024-07-04 17:12:16 +02:00
Rémi Verschelde f986a801fc
Merge pull request #93898 from KoBeWi/rundo_edo
Fix undoredo handling in some dialogs
2024-07-04 17:12:13 +02:00
Rémi Verschelde af55caff36
Merge pull request #93723 from KoBeWi/bandaid.tscn
Speed up scene group scanning for text scenes
2024-07-04 17:12:06 +02:00
Kasper Frandsen 7c6f32ddbf Clamp bezier handle length to half the length of animation 2024-07-04 13:41:12 +01:00
Victor Kostin 3afc7774de
Fix custom resources often missing from Quick Load dialog 2024-07-04 14:25:00 +02:00
Fredia Huya-Kouadio 6b6428d779 Fix ANRs reported by the Google Play Console
- Add support for dispatching input on the render thread (UI thread is the current default) when `input_buffering` and `accumulated_input` are disabled. At the expense of latency, this helps prevent 'heavy' applications / games from blocking the UI thread (the default behavior)  which may cause the application to ANR.

- Remove GLSurfaceView logic causing the UI thread to wait on the GL thread during lifecycle events. The removed logic would cause the UI thread to ANR when the GL thread is blocked.
2024-07-04 05:18:50 -07:00
kobewi 681769e2c9 Fix undoredo handling in some dialogs 2024-07-04 14:17:47 +02:00
Rémi Verschelde de28ac2810
Merge pull request #93868 from timothyqiu/node-dock-theme-update
Update Node dock when theme changes
2024-07-04 11:32:01 +02:00
Hilderin d04b5d2629 Fix adding a translation CSV results in errors on initial import for many types of resources 2024-07-03 22:56:45 -04:00
Allen Pestaluky 262e5db785 Revert "Allow skipping imported resource files from export"
This reverts commit 398892ccc0.
2024-07-03 09:54:03 -04:00
Rémi Verschelde 6a13fdcae3
Merge pull request #93846 from jsjtxietian/null-frames
Fix sprite frame editor crash with null `frames` pointer
2024-07-03 08:50:29 +02:00
jsjtxietian 7cecdc0dab Fix sprite frame editor crash with null `frames` pounter 2024-07-03 10:58:25 +08:00
Zi Ye 72a01816a4 Make viewport grid visible on all three planes in ortho camera view 2024-07-02 13:07:31 -05:00
Arseny Kapoulkine a13a64eacd Disable normal raycaster for LOD generation by default
Normal raycaster makes LOD generation process >2x slower and often
generates normals that look significantly worse compared to what the
simplifier comes up with by default. This was likely different before
last meshoptimizer upgrade, as the attribute metric was not functioning
properly, but now it looks like it's doing more harm than good.

This change makes it disabled by default but keeps an easy option to
re-enable it per mesh using LOD parameters for now until we get more
confidence and can remove the code outright.

Because the long term plan would be to disable this feature entirely,
the scripting API isn't changed, and it's just off-by-default there with
no way to re-enable.
2024-07-02 10:18:15 -07:00
Matt Enad 9d343ced58 Add customizable 3D navigation settings
This commit adds 3 new editor settings for orbit, pan, and zoom mouse buttons, and 6 new shortcuts which act as modifiers for the navigation controls. These new shortcuts replace the old orbit, pan, and zoom modifier settings.

The `navigation_scheme` setting now acts as a preset which changes the new options added above, and the new settings are what drives 3D navigation instead. A new struct is used for ordering the navigation logic so that actions with fewer shortcuts are checked first. When the editor starts, the preset detection will run to automatically update user settings from old Godot versions. When the setting is changed, the hint values for the mouse buttons are dynamically updated to show the user the corresponding shortcut values.

The new doc fields have been generated and the description for the new settings are filled out. The `navigation_scheme` entry now has more consistent styling and added control descriptions that were missing before.
2024-07-02 12:37:57 -04:00
Haoyu Qiu 7187a82cfe Update Node dock when theme changes 2024-07-03 00:25:21 +08:00
emild af26e7b9b7 fix animation bezier editor undo operations applying to wrong animation 2024-07-02 14:21:55 +02:00
Rémi Verschelde bd5eab9332
Merge pull request #93850 from KoBeWi/the_basic_right_to_erase
Fix RMB erasing of tiles
2024-07-02 13:57:29 +02:00
emild e97428c96b fix animation bezier crash on undo 2024-07-02 10:02:57 +02:00
kobewi af28d58215 Fix RMB erasing of tiles 2024-07-02 08:45:05 +02:00
Rémi Verschelde 13ea24c5bb
Merge pull request #93671 from KoBeWi/burn_the_box
Prevent selecting when a CanvasItem is selected
2024-07-01 18:28:47 +02:00
passivestar 28a0d67233 [macOS] Change the distraction-free mode shortcut 2024-06-30 22:01:12 +04:00
Jordyfel 325081cb48 Fix reimport parsing dependencies incorrectly 2024-06-30 04:38:04 +03:00
patwork 31629744f8 Fix division by zero in aspect ratio calculation 2024-06-30 02:18:57 +02:00
kobewi b83c64faac Speed up scene group scanning for text scenes 2024-06-29 21:30:38 +02:00
kobewi f13bb2ff56 Reimport file when .import changes 2024-06-29 19:57:44 +02:00
kobewi 1d69358471 Prevent selecting when a CanvasItem is selected 2024-06-29 19:56:48 +02:00
Rémi Verschelde 4ab8fb8093
Merge pull request #93747 from KoBeWi/layer_of_bugs
Fix some TileMapLayer editing problems
2024-06-29 19:54:30 +02:00
Rémi Verschelde 37ea01756a
Merge pull request #93743 from poga/93690-fix-quickopen-icon-max-width
Set max width for icons in the quick open popup
2024-06-29 19:54:23 +02:00
Rémi Verschelde a19955e82d
Merge pull request #93736 from passivestar/info-panel-margins
Make the frame time and info boxes use same margins
2024-06-29 19:54:17 +02:00
Rémi Verschelde 8d4c593c54
Merge pull request #93720 from MewPurPur/remove-overbright
Fix unnecessary overbright modulates used in a few editors
2024-06-29 19:54:10 +02:00
Poga Po 77c3313470 Fix: set max_width for icons in the quick open popup
Co-authored-by: Tomek <kobewi4e@gmail.com>
2024-06-30 00:56:35 +08:00
kobewi 92b0375785 Fix some TileMapLayer editing problems 2024-06-29 18:18:54 +02:00
passivestar 4201c7d75f Make the frame time and info boxes have same margins 2024-06-29 16:34:08 +04:00
Rémi Verschelde 3cce275589
Merge pull request #93527 from matheusmdx/fix-snapping-lines-with-anchors
Fix snapping lines don't disappearing after drag anchors
2024-06-29 13:04:00 +02:00
Rémi Verschelde 3fbb6044d0
Merge pull request #93047 from groud/fix_polygon_editor_grid
Fix tile polygon editor grid and missing update
2024-06-29 13:03:56 +02:00
MewPurPur 0fa27fd001 Fix unnecessary overbright modulates used in a few editors 2024-06-28 23:54:11 +03:00
Rémi Verschelde 811ce36c60
Merge pull request #93675 from Calinou/3d-editor-align-transform-with-view-add-alternative-shortcut
Add alternative shortcut for Align Transform to View in the 3D editor
2024-06-28 15:55:14 +02:00
Rémi Verschelde 52d7ff86f7
Merge pull request #93696 from TokageItLab/default-angle-linear
Revert the default InterpolationType with angle property to Linear
2024-06-28 15:55:00 +02:00
Rémi Verschelde d4b7ede882
Merge pull request #92303 from Hilderin/fix-synchronization-global-class-name
Fix synchronization of global class name
2024-06-28 14:42:37 +02:00
Silc Lizard (Tokage) Renew dde616f01c Revert the default InterpolationType with angle property to Linear 2024-06-28 21:22:11 +09:00
Rémi Verschelde 279a6075ae
Merge pull request #93576 from AeioMuch/fix_invalid_clear_custom_color
Fix clear custom color on invalid `tree_item_inspected` causing `Index p_column = 0 is out of bounds (cells.size() = 0).` error message
2024-06-28 13:58:03 +02:00
Rémi Verschelde 7e644fb6a1
Merge pull request #93674 from kitbdev/fix-find-result-count
Fix find result current match count issues
2024-06-28 11:35:17 +02:00
Rémi Verschelde 04d75dcfc2
Merge pull request #93609 from passivestar/tileset-prop-popup-bg
Fix TileSet property painter popup showing clear color
2024-06-28 11:35:02 +02:00
Rémi Verschelde 5bd25a2372
Merge pull request #93506 from BastiaanOlij/fix_import_rigidbody
Fix default collision shape on imported rigidbody
2024-06-28 11:34:59 +02:00
Rémi Verschelde eeef96b144
Merge pull request #93408 from CookieBadger/animation-track-key-inspector-fix
Fix displaying selected Bezier animation keys in inspector
2024-06-28 11:34:52 +02:00
Rémi Verschelde 89cf82fbde
Merge pull request #93056 from kitbdev/stop-highlighting
Fix find highlight when switching scripts
2024-06-28 11:34:46 +02:00
AeioMuch 9eacbf6de7 Fix clear_custom_color on invalid tree_item_inspected 2024-06-28 06:10:49 +02:00
Robert Yevdokimov c9e9bd4a68 Add ability to Hide Editor Transform Gizmo 2024-06-27 21:01:15 -04:00
Hugo Locurcio 6932630c02
Add alternative shortcut for Align Transform to View in the 3D editor
The new shortcut is Ctrl + Alt + Numpad 0 and is the one listed
in the 3D viewport's Perspective menu (since PopupMenu accelerators
display the first shortcut only). This shortcut matches Blender
and avoids conflicts with the GeForce Experience overlay, which
defaults to Ctrl + Alt + M.

Ctrl + Alt + M is still defined as an alternative default,
so that existing workflows are not impacted.
2024-06-27 20:34:28 +02:00
kit 17c8e8b2b4 Fix find result current match count 2024-06-27 14:04:40 -04:00
Rémi Verschelde cae2f853dc
Merge pull request #93661 from passivestar/overview-label
Center the label in overview of script editor
2024-06-27 17:08:26 +02:00
Christian Kaiser 04f6435aa8 Fix AudioStreamPlayer icons, improve audio resource picker styling 2024-06-27 10:58:56 -03:00
passivestar 1a1d8a58ca Center the label in overview of script editor 2024-06-27 16:01:35 +04:00
Rémi Verschelde e018b17f97
Merge pull request #93639 from passivestar/rotation-gizmo
Improve viewport rotation gizmo drawing
2024-06-27 10:06:02 +02:00
Rémi Verschelde 35016d2184
Merge pull request #93533 from jsjtxietian/import-dock
Update import dock when selecting resource in resource panel
2024-06-27 10:05:56 +02:00
passivestar a9ef6cd418 Improve viewport rotation gizmo drawing 2024-06-26 23:33:24 +04:00
Rémi Verschelde d119e49902
Merge pull request #93627 from passivestar/inspector-unused-vboxes
Hide unused category vboxes in inspector
2024-06-26 18:15:24 +02:00
Rémi Verschelde 783c99d5e1
Merge pull request #86467 from KoBeWi/aliens_in_my_inspector
Always call `_can_handle()` before `_parse_property()`
2024-06-26 14:51:14 +02:00
Rémi Verschelde 54dbb17273
Merge pull request #85513 from KoBeWi/that_one_weird_plugin_that_uses_no_Resources
Save external data even without scene
2024-06-26 14:51:11 +02:00
Rémi Verschelde b0c7f45a72
Merge pull request #85228 from KoBeWi/don't_save_scene_when_saving_script_while_saving_scene
Don't insert newline while saving
2024-06-26 14:51:06 +02:00
Rémi Verschelde 869e33252d
Merge pull request #84164 from KoBeWi/slowcast_2d
Fix slow raycast editing
2024-06-26 14:51:03 +02:00
kobewi 5a3c7b41d8 Optimize get_path() in EditorFileSystemDirectory 2024-06-26 14:09:28 +02:00
passivestar 025159f57e Hide unused category vboxes in inspector 2024-06-26 16:02:22 +04:00
kobewi 57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
kobewi b70368b78a Don't insert newline while saving 2024-06-26 13:19:25 +02:00
kobewi f0da5cac7b Always call _can_handle() before _parse_property() 2024-06-26 13:10:08 +02:00
Hilderin 39369db029 Fix synchronization of global class name 2024-06-25 18:33:07 -04:00
passivestar 44e2991365 Fix TileSet property painter popup showing clear color 2024-06-26 01:37:44 +04:00
kobewi 5f695f0ab4 Rework global class hiding in addons 2024-06-25 12:38:27 +02:00
Rémi Verschelde 5d089e1a8e
Merge pull request #93518 from bruvzg/imp_fix
[Editor] Fix importers add-ons after 93238
2024-06-25 10:02:05 +02:00