Commit Graph

14283 Commits

Author SHA1 Message Date
Rémi Verschelde e5bacbc471
Merge pull request #84628 from KoBeWi/no_meta_only_path
Don't store shader edit path in metadata
2023-11-08 19:18:55 +01:00
kobewi 9c810ef061 Don't store shader edit path in metadata 2023-11-08 19:14:16 +01:00
kobewi 55f7d493ee Remove AnimatedSprite pointer when clearing editor 2023-11-08 18:09:42 +01:00
Yuri Sizov b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov e7dba3b064 Correctly set up shortcut context in the shader editor 2023-11-08 13:07:31 +01:00
Saracen 7559eb1667 Script path type support in editor:
Allow script path type hints to be used in drag and drop
and scene tree popup.
2023-11-08 00:18:40 +00:00
Juan Linietsky c430ff2396 Comment the shader template light function by default
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
2023-11-07 23:20:45 +01:00
Yuri Sizov 3e7f638d7b Merge pull request #84570 from clayjohn/editor-headless-scan
Scan the filesystem in the first frame when using headless mode
2023-11-07 12:54:41 +01:00
Yuri Sizov a956f2f21c Merge pull request #84551 from KoBeWi/manage_animations_like_a_proper_human_being
Change AnimationLibEditor's mixer to actual Mixer
2023-11-07 12:54:38 +01:00
clayjohn 95fbb2ecb2 Scan the filesystem in the first frame when using headless mode 2023-11-07 10:46:56 +01:00
kobewi 01bd005a1f Change AnimationLibEditor's mixer to actual Mixer 2023-11-06 23:27:44 +01:00
Nikita Krasnov c0a18e17ba Fix pressing Enter being ignored in "Create Shader" dialogue 2023-11-06 19:20:18 +03:00
Yuri Sizov 14cc639bc3 Merge pull request #81018 from jsjtxietian/return-use-friendly-info-in-scriptStackVariable-serialize
Fix `_get_debug_tooltip` crash if tooltip string is too large
2023-11-06 15:43:21 +01:00
Yuri Sizov fae8ace6fb Merge pull request #84361 from YuriSizov/editor-fix-sprite2d-regional-issues
Prevent crash and error spam related to Sprite2D with a region
2023-11-06 13:23:11 +01:00
Yuri Sizov 3c68ab679a Merge pull request #84271 from aaronfranke/gltf-compat-version
Implement glTF compat version system for files from older Godot versions
2023-11-06 13:23:07 +01:00
Yuri Sizov 8b11ae9cf5 Merge pull request #83596 from SaracenOne/node_copy_paste_fix
Fix ownership bugs in node copy and pasting.
2023-11-06 13:23:03 +01:00
Yuri Sizov a8bcbff59f Merge pull request #82133 from MewPurPur/svg-tweaks
Optimize and tweak some SVGs, improve consistency between icons, and fix broken masks in light mode
2023-11-06 13:22:59 +01:00
jsjtxietian 155d738163 Fix _get_debug_tooltip will crash if tooltip string is too large 2023-11-06 20:09:17 +08:00
Saracen 26576cc210 Fix ownership bugs in node copy and pasting. 2023-11-04 20:14:09 +00:00
MewPurPur 03d1830176 Optimize, tweak, improve consistency in SVG icons, and fix masks in light mode 2023-11-04 17:36:18 +02:00
Yuri Sizov 111a5e90da Prevent crash and error spam related to Sprite2D with a region 2023-11-04 13:03:28 +01:00
Aaron Franke 58076b9ccb
Implement glTF compat version system for files from older Godot versions 2023-11-03 12:07:25 -05:00
Yuri Sizov 5ee983188d Merge pull request #84404 from MewPurPur/engine-config-old-icon-convention
Fix engine configuration icons using old convention
2023-11-03 12:52:37 +01:00
Yuri Sizov 64705bc3af Merge pull request #84374 from AThousandShips/format_fix
Fix inverted condition when unwrapping lightmap
2023-11-03 12:52:28 +01:00
Yuri Sizov c929f79f99 Merge pull request #84282 from SaracenOne/animation_rename
Fix perform_node_renames handling of AnimationMixers track paths
2023-11-03 12:52:24 +01:00
Yuri Sizov 330d22e99a Merge pull request #84217 from SaracenOne/fix_filesystem_rename_crash
Fix file rename crash after toggling split mode.
2023-11-03 12:52:20 +01:00
Yuri Sizov 802813d8f9 Merge pull request #83036 from jsjtxietian/move-animation-slice-processing-to-_post_fix_animations
Move animation slice processing to `_post_fix_animations`
2023-11-03 12:52:08 +01:00
MewPurPur e0399689f4 Fix engine configuration icons using old convention 2023-11-03 12:50:12 +02:00
Saracen 4f0790a214 Fix perform_node_renames handling of AnimationMixers track paths 2023-11-02 21:38:32 +00:00
Saracen 7fea0cef4c Fix file rename crash after toggling split mode. 2023-11-02 21:29:01 +00:00
Yuri Sizov b733901e9e Merge pull request #84354 from RandomShaper/gdext_no_cache_doc
Polish & fix editor help cache generation
2023-11-02 20:34:22 +01:00
A Thousand Ships 2cb94fa362 Fix inverted condition when unwrapping lightmap 2023-11-02 18:33:58 +01:00
Pedro J. Estébanez a1d8fc1af9 Polish & fix editor help cache generation
- Isolated the generation of extensions's docs. They're now not cached and refreshed as needed.
- Removed superfluous sorting of the class list.
- Removed some superfluous/unused elements.
- Renamed some items for clarity.
2023-11-02 13:46:37 +01:00
Rémi Verschelde 44a54f4500
Merge pull request #84252 from clayjohn/ensure_tangents
Enhance checks and user experience around tangent arrays in meshes.
2023-11-02 09:11:32 +01:00
Rémi Verschelde 64bb27aefd
Merge pull request #83600 from jsjtxietian/make-translation-import-more-robust
Make translation importer skip not-supported lang tag, make it more robust
2023-11-02 09:11:00 +01:00
clayjohn d1043a5f93 Enhance checks and user experience around tangents.
Ensure `ensure_tangents` option actually creates tangent array. Even if it is just a dummy array.

Allow mesh to generate its own tangents when using compression. This allows users to compress meshes without tangents.

Warn users if they are trying to read from tangents without providing tangents.
2023-11-01 22:40:42 +01:00
Rémi Verschelde 98baac7172
Merge pull request #84200 from clayjohn/surface-upgrade-tool-rework
Overhaul the SurfaceUpgradeTool
2023-11-01 22:32:09 +01:00
Haoyu Qiu 3f00d713b8 Allow dragging editable children
But not allow dropping inside the scene tree editor.
2023-11-01 23:54:38 +08:00
clayjohn be386e1876 Overhaul the SurfaceUpgradeTool
This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore.

It also ensures that the popup can't be used by multiple threads at once

Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-11-01 15:32:54 +01:00
Rémi Verschelde b797f6cb83
Merge pull request #84302 from YuriSizov/editor-forget-about-file-dialogs-willya
Disconnect `EditorNode` from file dialogs on destruction
2023-11-01 15:13:18 +01:00
Rémi Verschelde 2d64e52b08
Merge pull request #84296 from bruvzg/ver_validate
[Export] Improve app / file version validation.
2023-11-01 15:12:07 +01:00
Rémi Verschelde 8a403e7432
Merge pull request #84291 from jsjtxietian/fix-import-default-save-failed
Fix press save in Import Defaults did not save the changed setting
2023-11-01 15:11:43 +01:00
Yuri Sizov 8c39a2d169 Disconnect `EditorNode` from file dialogs on destruction 2023-11-01 13:01:28 +01:00
bruvzg a0bd5f8568
[Export] Improve app / file version validation. 2023-11-01 11:25:44 +02:00
jsjtxietian 255db4df68 Fix press save in Import Defaults did not save the changed setting 2023-11-01 15:45:51 +08:00
Rémi Verschelde 8fc215893a
Merge pull request #84257 from KoBeWi/eradicate_folding_2-coiled_agony_returns_under_moonlight
Make remote inspector groups not foldable
2023-10-31 20:16:40 +01:00
Rémi Verschelde 7c2acfdf17
Merge pull request #84208 from YuriSizov/editor-animation-that-pops
Avoid popping up dialogs excessively in the Animation editor
2023-10-31 20:16:16 +01:00
Rémi Verschelde f1f92bdb30
Merge pull request #84049 from kleonc/node3d-editor-plugin-snapping
Fix some `Node3DEditor` snapping issues
2023-10-31 20:15:30 +01:00
kobewi a92ed50777 Make remote inspector groups not foldable 2023-10-31 17:29:53 +01:00
Rémi Verschelde 6271f91a8f
Merge pull request #84218 from SaracenOne/naming_conflict_crash
Fix crash on rename collision in thumbnail grid
2023-10-31 13:46:38 +01:00
Yuri Sizov 60355889f8 Avoid popping up dialogs excessively in the Animation editor 2023-10-31 11:54:02 +01:00
Saracen c640018b88 Fix crash on rename collision in thumbnail grid 2023-10-30 22:52:12 +00:00
Rémi Verschelde ec5bfbd176
Merge pull request #82707 from BrianMacIntosh/find-highlight-fix
Search terms are now highlighted when the bar opens with a selection.
2023-10-30 23:17:45 +01:00
Rémi Verschelde ca6b404739
Merge pull request #79725 from Calinou/editor-export-mode-clarify-heading
Improve headings for the export mode in the Export dialog
2023-10-30 23:16:54 +01:00
Brian MacIntosh 0d7db935aa Search terms are now highlighted when the bar opens with a selection.
This is achieved by triggering a search when the bar opens. This is slightly inefficient but cleanly updates everything that's dependent on the search and reduces code duplication.
2023-10-30 10:21:25 -07:00
Rémi Verschelde 8f0b742a9a
Merge pull request #83576 from raulsntos/fix-80883
Enable new addon after hiding ProjectSettings
2023-10-30 17:47:23 +01:00
Rémi Verschelde dcde5ba25a
Merge pull request #84129 from SaracenOne/better_warning_for_track_hint_fail
Add descriptive warning for animation track hint fails.
2023-10-30 16:27:03 +01:00
Rémi Verschelde 55fca13dc5
Merge pull request #82570 from 100gold/preprocessor_in_vshader_editor
Add preprocessor pass on visual shader when showing generated code
2023-10-30 16:25:51 +01:00
Rémi Verschelde a7c81f4275
Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-not-handling
Fix Filter Files shortcut input is not properly handled
2023-10-30 16:25:24 +01:00
kit a2674463fa fix dock visibility issues 2023-10-30 10:52:07 -04:00
Saracen 8db9884dd5 Add descriptive warning for animation track hint fails. 2023-10-30 14:34:15 +00:00
Rémi Verschelde 030dcedf93
Merge pull request #84170 from SaracenOne/update_anim_timeline_label
Fix AnimationTimeline time not updating when dragged.
2023-10-30 13:57:16 +01:00
Rémi Verschelde e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
Reimport bone attachment fixes
2023-10-30 10:18:00 +01:00
Saracen d9950e2370 Fix AnimationTimeline time not updating when dragged. 2023-10-30 01:59:54 +00:00
100gold 0486d40f14 Add preprocessor pass on visual shader when showing generated code 2023-10-29 19:12:08 +03:00
Rémi Verschelde b096174259
Merge pull request #84064 from jsjtxietian/fix-save-in-text-shader-editor-pass-through
Add save shortcut for text shader editor to prevent it propagating to scene
2023-10-28 18:35:21 +02:00
Rémi Verschelde dc3a643541
Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor
Fix animation track paths updated by scene dock
2023-10-28 18:34:10 +02:00
Rémi Verschelde e7a25b262c
Merge pull request #83370 from SaracenOne/unique_name_subscene
Remove toggling of unique names in subscenes
2023-10-28 18:33:42 +02:00
Jonathan Nicholl 1419eefcc6 Allow changing keys for imported AnimationLibraries in the editor 2023-10-28 08:35:01 -04:00
Rémi Verschelde ba1bd6fc15
Merge pull request #84077 from KoBeWi/this_path_is_valid_change_my_mind
Ignore path error for built-in scripts/shaders
2023-10-28 12:32:01 +02:00
Rémi Verschelde b6c941fe9c
Merge pull request #83822 from jsjtxietian/fix-can-not-uncomment-in-text-shader-editor
Fix unable to uncomment code in text shader editor
2023-10-28 12:31:14 +02:00
Rémi Verschelde fe64786a91
Merge pull request #83498 from SaracenOne/mesh_unwrap_rules
Mesh instance UV2 unwrapping improvements
2023-10-28 12:30:22 +02:00
Saracen e865bad06a Mesh instance UV2 unwrapping improvements:
Enforce foreign resource modification rules.
Add more helpful error handling for ArrayMesh unwrapping.
2023-10-28 03:04:15 +01:00
Saracen 29c2615352 Remove toggling of unique names in subscenes 2023-10-28 02:55:45 +01:00
kobewi a7fa34db1d Ignore path error for built-in scripts/shaders 2023-10-27 21:49:34 +02:00
Saracen 4b671eec0e Reimport bone attachment fixes:
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +01:00
aXu-AP d7e5c25e4a Fix UV editor not using texture transform 2023-10-27 22:33:37 +03:00
aXu-AP aa3568b8dd Fix 2D bone weight editor not accounting for offset
Skeleton was shown in wrong place in Polygon2D UV editor's bone painting mode.
2023-10-27 20:37:23 +03:00
jsjtxietian 775adc0a6d Add save shortcut for text shader editor to prevent it propagated to scene
when hit ctrl s in the shader editor
2023-10-28 00:53:03 +08:00
Rémi Verschelde b662d232a2
Merge pull request #84055 from smix8/navobstacle_editor
Fix NavigationObstacle3DEditor parenting error
2023-10-27 17:46:11 +02:00
Rémi Verschelde a725e847ea
Merge pull request #83868 from KoBeWi/−5_just_because
Remove margins from editor scrollbars
2023-10-27 17:45:20 +02:00
smix8 e8caa0aa92 Fix NavigationObstacle3DEditor parenting error
Fixes NavigationObstacle3DEditor parenting error.
2023-10-27 15:43:28 +02:00
Saracen 0e545d9e88 Unpress buttons in AnimationTree when switching to read-only mode. 2023-10-27 13:39:08 +01:00
Rémi Verschelde ba79e53dd0
Merge pull request #84048 from SaracenOne/extra_readonly_info
Add read-only info to resource embedded in other scenes.
2023-10-27 13:33:53 +02:00
Rémi Verschelde ac864d67d0
Merge pull request #84011 from YuriSizov/editor-limit-icon-sizes-in-more-hidden-places
Limit custom icons size in various editor widgets
2023-10-27 13:33:03 +02:00
Saracen ada1f66fc1 Add read-only info to resource embedded in other scenes. 2023-10-27 12:01:22 +01:00
kleonc 74a35526e0 Fix some Node3DEditor snapping issues 2023-10-27 13:00:49 +02:00
Rémi Verschelde dd74ffde95
Merge pull request #84022 from SaracenOne/validate_renames
Add foreign validation warning for rename actions.
2023-10-27 11:39:20 +02:00
Rémi Verschelde d88ef223e3
Merge pull request #82853 from KoBeWi/line_surgery
Prioritize points in polygon editor hover
2023-10-27 11:36:09 +02:00
Rémi Verschelde 8919d1c2b5
Merge pull request #82806 from Vilcrow/fix-ensure-selected-visible
Fix checking the visibility condition of selected file in the Godot editor's dock
2023-10-27 11:35:40 +02:00
Saracen 5deff6c2dd Add foreign validation warning for rename actions. 2023-10-26 22:14:48 +01:00
Yuri Sizov 6e20c78c20 Limit custom icons size in various editor widgets 2023-10-26 17:56:09 +02:00
kit 473c209fcd Only update EditorSceneTabs tabs when necessary 2023-10-26 11:13:39 -04:00
kobewi 7cffb30254 Prioritize points in polygon editor hover 2023-10-26 16:03:55 +02:00
Rémi Verschelde 80e5484a82
Merge pull request #83941 from Jordyfel/hashset-not-vector
Use Hashset for dependency list when moving
2023-10-26 16:01:21 +02:00
Rémi Verschelde 4f138db264
Merge pull request #83764 from timothyqiu/suffix-only
Fix infinite loop when importing 3D object named "-colonly"
2023-10-26 16:00:08 +02:00
Rémi Verschelde 34b1c0e40b
Merge pull request #83487 from KoBeWi/crash_that_does_not_exist
Prevent crash when creating custom file tooltip
2023-10-26 15:59:19 +02:00
Rémi Verschelde 346459e9fb
Merge pull request #83986 from SaracenOne/skeleton_bones_renamed_check
Add method check for `_notify_skeleton_bones_renamed`.
2023-10-26 12:10:32 +02:00
Saracen d0e5bff542 Add method check for _notify_skeleton_bones_renamed. 2023-10-26 10:22:59 +01:00
Rémi Verschelde 53a894e520
Merge pull request #83964 from SaracenOne/skeleton_reimport_crashfix
Fix crash when reimporting with Skeleton3D selected.
2023-10-26 09:00:45 +02:00
Rémi Verschelde 27679dbfa4
Merge pull request #83937 from Jordyfel/potential-crash-on-move
Fix potential crash on failed move
2023-10-26 08:59:10 +02:00
Rémi Verschelde 9f20a4a391
Merge pull request #81510 from garychia/unedit_created_script
SceneTreeDock: Avoid changing the currently edited object when attaching a script
2023-10-26 08:57:01 +02:00
S.V.I. Vilcrow 1ec2272e0b Fix checking the visibility condition of selected file in the Godot editor's dock. 2023-10-25 23:13:18 +03:00
Saracen ed083a9fbe Fix crash when reimporting with Skeleton3D selected. 2023-10-25 21:10:57 +01:00
Jordyfel 50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
Jordyfel 85144f0cd1 Fix potential crash on failed move. 2023-10-25 14:52:34 +03:00
kobewi 294ce2d2a7 Fix animation track paths updated by scene dock 2023-10-25 12:34:50 +02:00
Rémi Verschelde 074297d945
Merge pull request #83745 from quirkylemon/clamped-description-text
Clamp the height of description text for property selectors
2023-10-25 10:29:33 +02:00
Rémi Verschelde cd46addfca
Merge pull request #83597 from SaracenOne/duplicate_foreign_nodes
Support duplication of foreign nodes.
2023-10-25 10:28:45 +02:00
Rémi Verschelde f021d33940
Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change
Reset SDFGI when changing editor scene tabs
2023-10-25 10:27:03 +02:00
Rémi Verschelde 261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde bc5d5978ea
Merge pull request #83695 from YuriSizov/core-lock-and-key
Improve threading in ClassDB and EditorHelp
2023-10-24 10:54:19 +02:00
Rémi Verschelde f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn 8f9cd4e1e3 Some more fixes for compressed meshes
This cleans up a few more cases of uint32_t->uint64_t

Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
jsjtxietian 961381cad5 Fix unable to uncomment code in text shader editor 2023-10-24 11:23:59 +08:00
kobewi a3172ae8c5 Remove margins from editor scrollbars 2023-10-24 02:06:23 +02:00
Rémi Verschelde 50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
clayjohn 318ef8461f Implementation of tool to automatically upgrade and re-save meshes 2023-10-23 22:39:48 +02:00
QuirkyLemon faccc8e225 Clamps the height of description text for property selectors 2023-10-23 10:54:24 -05:00
Rémi Verschelde 5e8bf6addf
Merge pull request #83815 from timothyqiu/as
Fix "as" capitalization in editor strings
2023-10-23 12:43:15 +02:00
Rémi Verschelde fe45e4ec7c
Merge pull request #83790 from OppositeNor/fix_tileset_out_of_screen
Fix TileSet painting options appear out of screen
2023-10-23 12:42:52 +02:00
Rémi Verschelde 943b7419cb
Merge pull request #83776 from SaracenOne/bezier_track_scroll
Add vertical scrolling to bézier track editor.
2023-10-23 12:41:17 +02:00
Rémi Verschelde e2dc96b66b
Merge pull request #83637 from kitbdev/tab-drag-fix
Fix `TabBar` and `TabContainer` dragging issues
2023-10-23 12:40:54 +02:00
Rémi Verschelde d08d3e95c8
Merge pull request #83507 from timothyqiu/abt-close
Readd close button for nodes in `AnimationNodeBlendTree` editor
2023-10-23 12:40:30 +02:00
Rémi Verschelde e19acaab47
Merge pull request #82486 from timothyqiu/the-node-who-lived
Fix "Some nodes are referenced by animation tracks" when deleting instance
2023-10-23 12:39:15 +02:00
Haoyu Qiu 2413952a4c Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
Haoyu Qiu 920e53cacb Readd close button for nodes in AnimationNodeBlendTree editor 2023-10-23 11:11:51 +08:00
kit 701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
OppositeNor 8f26cdcaef Fix tileset out of screen 2023-10-22 13:39:14 -04:00
Saracen 79f9d230b8 Add vertical scrolling to bézier track editor. 2023-10-22 13:51:12 +01:00
Rémi Verschelde 6bf936c4cc
Merge pull request #82667 from kleonc/canvas-item-editor-drag-moving-transforms-fix
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-22 12:11:28 +02:00
Haoyu Qiu c19bf7cda9 Fix infinite loop when importing 3D object named "-colonly" 2023-10-22 11:31:28 +08:00
风青山 90768f1f7f Fix unexpected behaviors of using Duplicate To on folders
Fix folder not being copied when empty.
Fix Keep Both would generate wrong paths when copying folders.
2023-10-22 06:22:38 +08:00
BlueCube3310 67a3ef6aca Optimize Path3DGizmo mesh generation 2023-10-21 19:03:57 +02:00
Guilherme 7a76d5e6ea Fix wrong shader rename
Co-authored-by: BrunoArmondBraga <abraga3547bruno@gmail.com>
2023-10-20 22:40:41 -03:00
Yuri Sizov 9b03fb36f9 Improve threading in ClassDB and EditorHelp 2023-10-20 22:14:04 +02:00
Yuri Sizov cd31407cb3 Clean up some Editor, OpenXR, VideoStream code
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
Rémi Verschelde 365507fcf3
Merge pull request #83659 from aXu-AP/uv-edit-transform-points-undo
Fix Polygon2D undo on transforming vertices
2023-10-20 15:13:26 +02:00
Rémi Verschelde 68a183a2d9
Merge pull request #83626 from YuriSizov/control-less-is-more-as-in-less-excessive-notifications-is-more-performance
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-20 15:12:11 +02:00
Rémi Verschelde 15955e5d9e
Merge pull request #83512 from zaevi/fix_remove_from_floating_dock
Editor: Fix `remove_control_from_dock` fails when dock is floating.
2023-10-20 15:08:40 +02:00
aXu-AP 76f81cfc21 Fix Polygon2D undo on transforming vertices
Fix: Action not committed to history when transforming all points in UV editor's Points mode.
2023-10-20 11:59:09 +03:00
jsjtxietian 0099791fc0 Make translation importer skip not-supported lang tag
Also give better warning.
2023-10-20 16:17:29 +08:00
Yuri Sizov 215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
Rémi Verschelde 2714a738f8
Merge pull request #83562 from YuriSizov/core-our-vessel-is-not-seaworthy
Fix StringName leaks in GDExtension, core, and editor themes
2023-10-18 21:33:16 +02:00
Raul Santos 7b34fa8dd2
Enable new addon after hiding ProjectSettings
- Enabling newly created addons can show a warning dialog, doing so before hiding the `ProjectSettingsEditor` dialog causes rendering glitches.
- Remove unused `PuginConfigDialog` in `EditorNode`. The one actually being used is an instance in `EditorPluginSettings`.
2023-10-18 20:20:46 +02:00
Saracen 9d6f570c28 Support duplication of foreign nodes. 2023-10-18 17:00:47 +01:00
Yuri Sizov 582ed157b5 Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
Rémi Verschelde 7f884b4e00
Merge pull request #82537 from KoBeWi/the_files_are_back_on_the_menu
Don't remove favorite files in EditorFileDialog
2023-10-18 16:55:06 +02:00
Rémi Verschelde f7da96add3
Merge pull request #83534 from SaracenOne/blend_tree_auto_disconnect
Automatic reconnection of nodes in blend tree.
2023-10-18 16:55:02 +02:00
Rémi Verschelde 5fd3354655
Merge pull request #81643 from Rindbee/defer-rebuild-the-animations-tree-in-SpriteFramesEditor
Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
2023-10-18 16:54:40 +02:00
Saracen 65016c393f Automatic reconnection of nodes in blend tree. 2023-10-18 03:19:02 +01:00
kobewi 825a18e980 Don't remove favorite files in EditorFileDialog 2023-10-18 02:06:01 +02:00
风青山 2642c6851f Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
Previously, clicking the LMB while renaming an animation could cause
`SpriteFramesEditor::_update_library(false)` to be called during
`Tree::propagate_mouse_event()`. This may cause a crash.

We can defer updates to the editor interface to avoid calling
`Tree::create_item()` at the wrong time.

Enables `SpriteFramesEditor::_select_animation()` to be able to undo/redo
2023-10-18 06:46:03 +08:00
Rémi Verschelde e06d09228b
Merge pull request #83251 from Rindbee/fix-current_edited_scene-wrong-move
Fix saving wrong edited scene state when switching scene tabs
2023-10-18 00:01:24 +02:00
Rémi Verschelde 060816c3a4
Merge pull request #82858 from KoBeWi/read_between_the_comments
Provide translation strings for folder colors
2023-10-18 00:01:00 +02:00
Zae acf0d395c8 Editor: Fix `remove_control_from_dock` fails when dock is floating. 2023-10-18 01:14:26 +08:00
风青山 225a5e225f Fix saving wrong edited scene state when switching scene tabs
When creating a new scene, the scene tab will actually switch to the newly created one.
Also worth noting that switching scene tabs saves state (by `save_edited_scene_state`).

When trying New Scene again, the previously empty scene tab will be removed.

So the correct logic is: switch the tab save state first, and then remove the previous
empty scene tab. To prevent `current_edited_scene` from being incorrect when saving state.
2023-10-17 22:52:44 +08:00
Rémi Verschelde 30f2a6d611
Merge pull request #83501 from AThousandShips/tabs_shortcut
Fix shortcut input for `EditorSceneTabs`
2023-10-17 16:13:16 +02:00
A Thousand Ships a1e47c3a87 Fix shortcut input for `EditorSceneTabs` 2023-10-17 15:49:53 +02:00
kobewi ef4c214703 Prevent crash when creating custom file tooltip 2023-10-17 11:39:15 +02:00
kobewi d9afa1dd58 Fix close button in FindReplaceBar 2023-10-16 21:51:37 +02:00
Rémi Verschelde 8ac05d3cb6
Merge pull request #83447 from raulsntos/editor-iconography-2
Set `icon_max_width` in the ConnectionsDock tree
2023-10-16 18:45:38 +02:00
Raul Santos 38f1df15f0
Set icon_max_width in the ConnectionsDock tree 2023-10-16 18:04:08 +02:00
Rémi Verschelde a60fc7f7c8
Merge pull request #83382 from Lunarisnia/fix/diff-comment-delimiter
Fix multiple comment delimiter break toggle comment shortcut
2023-10-16 14:43:10 +02:00
Rémi Verschelde 391897bc44
Merge pull request #83335 from KoBeWi/focusing_search_power
Fix FindReplaceBar focus problems
2023-10-16 14:42:47 +02:00
Rémi Verschelde 3d9ce123fa
Merge pull request #83386 from SaracenOne/make_local_inherited
Disallow 'Make Local' command on inherited nodes.
2023-10-16 13:00:59 +02:00
Rémi Verschelde 0258fa4db9
Merge pull request #83137 from jsjtxietian/close-shader-file-in-visual-editor-when-delete-file
Close shader in Shader Editor tab when deleting shader file in FileSystem panel
2023-10-16 12:59:49 +02:00
jsjtxietian 15e66ccb9b Close shader in Shader Editor tab when deleting shader file in FileSystem panel 2023-10-16 18:50:56 +08:00
Pedro J. Estébanez 5671e47d20 Fix onion skinning internals activating audio/method/animation tracks 2023-10-16 11:47:14 +02:00
Lunarisnia 85d592dbf0 Fix multiple comment delimiter break toggle comment shortcut 2023-10-16 16:43:49 +07:00
kobewi c09a43abd7 Fix FindReplaceBar focus problems 2023-10-16 11:12:49 +02:00
Rémi Verschelde 7211c03ba5
Merge pull request #83402 from YeldhamDev/edit_transitions_hide
Disable "Edit Transitions..." item if no animations are present
2023-10-16 10:43:02 +02:00
Rémi Verschelde 81f4953c3a
Merge pull request #83263 from KoBeWi/invalid_node﹖oh_no…_anyway
Don't try updating wrong NodePaths in resources
2023-10-16 10:40:36 +02:00
Rémi Verschelde 50620c7361
Merge pull request #82937 from Calinou/editor-primitivemesh-unwrap-uv2
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
2023-10-16 10:39:23 +02:00
Rémi Verschelde c2d410a19e
Merge pull request #82868 from SaracenOne/multi_session_debugger_fixes
Fix debugger behaviour with multi-session debugging
2023-10-16 10:38:58 +02:00
Rémi Verschelde e897a46a5f
Merge pull request #82627 from kleonc/animation-editor-audio-clip-offset-sliders-limit-to-length
Limit animation audio clip inspector offset sliders to clip length
2023-10-16 10:38:08 +02:00
trollodel 9ae48c72b4 Keep focus on floating window when showing ProgressDialog 2023-10-15 22:13:13 +02:00
Michael Alexsander 2102d09812
Disable "Edit Transitions..." item if no animations are present 2023-10-15 12:28:04 -03:00
Saracen 0f36040321 Disallow 'Make Local' command on inherited nodes. 2023-10-15 13:35:19 +01:00
detomon 46253bd9e9 Fix creating and updating plugin with dot in folder name 2023-10-14 14:36:16 +02:00
Rémi Verschelde fc6d6b2c00
Merge pull request #82381 from dervus/issue-81916
Fix grid snapping for box shape gizmos
2023-10-13 22:16:39 +02:00
Vladimir Zapparov 088cf59e7a Fix grid snapping for box shape gizmos
"Extruding" box face (i.e. moving it without holding Alt key) will now
always snap new box size exactly to the nearest snap step.
2023-10-13 17:34:59 +02:00
kobewi a5c984412c Don't try updating wrong NodePaths in resources 2023-10-13 13:31:13 +02:00
Rémi Verschelde 51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg 9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde 37ee293be8
Merge pull request #83244 from KoBeWi/tile_map_is_now_tile_set_and_vice_versa
Swap TileMap and TileSet buttons
2023-10-13 11:47:55 +02:00
Rémi Verschelde f6ff4159a7
Merge pull request #83233 from timothyqiu/babel
Disable port name auto translation in Visual Shader editor
2023-10-13 11:47:08 +02:00
Rémi Verschelde cbb95bc8ab
Merge pull request #83211 from clayjohn/cleanup-mesh-stuff
Cleanup instances of using uint32_t for mesh formats
2023-10-13 11:46:20 +02:00
Rémi Verschelde f9c0c608d4
Merge pull request #83210 from alfredbaudisch/manager-search-box-enter
Project Manager: Open project when "Enter" is pressed when the search box is focused
2023-10-13 11:45:56 +02:00
Rémi Verschelde 94a8d37d54
Merge pull request #83177 from timothyqiu/the-theme-identity
Don't auto translate theme type list
2023-10-13 11:44:22 +02:00
Rémi Verschelde 230bdda872
Merge pull request #82742 from kitbdev/empty-dock-layout
Fix loading floating dock layout
2023-10-13 11:43:35 +02:00
kobewi 291be2c66c Swap TileMap and TileSet 2023-10-13 09:55:24 +02:00
Alfred Reinold Baudisch 0c584ddde1 Handle "Enter" when the search box is focused 2023-10-13 08:54:35 +02:00
Haoyu Qiu 56f47cc129 Disable port name auto translation in Visual Shader editor 2023-10-13 11:07:05 +08:00
Clay acb65377cd Cleanup instances of using uint32_t for mesh formats
And tidy up some leftovers from the attribute compression PR
2023-10-12 22:01:41 +02:00
Haoyu Qiu 26b21f110a Don't auto translate theme type list 2023-10-12 10:04:53 +08:00
Rémi Verschelde 25fa5eadd5
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
Fix external editor hot reload for GDScript
2023-10-11 22:38:42 +02:00
Rémi Verschelde efc0b08371
Merge pull request #82832 from bruvzg/oidn_external_exe
Re-add optional OIDN denoise as an external executable.
2023-10-11 22:38:18 +02:00
Christoph Taucher 2929993575 Prevent the internal Script Editor from reloading
when the external Editor is active in the settings.

This prevents a crash from different race conditions
from edititing files in the external editor while the internal editor
tries to reload open file tabs.

Some conditions that cause the crash where:
* Syntax highlighting (gdscript_highlighter.cpp, syntax_highlighter.cpp)
* Code analysis (code_edit.cpp)
* ... and more
2023-10-11 21:41:09 +02:00
bruvzg 899e56de5d
Re-add optional OIDN denoise as an external executable. 2023-10-11 19:52:18 +03:00
kobewi 41fa6c32b4 Disable update spinner when debug redraw is active 2023-10-11 13:21:29 +02:00
Rémi Verschelde 4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Rémi Verschelde b36e6dc9e9
Merge pull request #83101 from joao-pedro-braz/fix-find-in-files-selection-offset
Fix highlight rect in "Whole search" being slightly offseted
2023-10-10 22:51:17 +02:00
Rémi Verschelde 87460bdc3c
Merge pull request #83094 from dalexeev/editor-fix-some-editor-help-tooltip-issues
Editor: Fix some issues with `EditorHelpTooltip`
2023-10-10 22:50:05 +02:00
Danil Alexeev f56532c577
Editor: Fix some issues with `EditorHelpTooltip` 2023-10-10 20:02:47 +03:00
Rémi Verschelde fc64dfedfb
Merge pull request #80817 from garychia/reparent_node
Avoid creating any useless undo action when dragging nodes in place
2023-10-10 15:06:06 +02:00
João Pedro Braz 7945ca9378 Fix highlight in Search panel being offseted
This commit fixes the match highlight in the Find In Files
result panel being slightly offseted.
2023-10-10 09:08:54 -03:00
Rémi Verschelde d80ce0c52a
Merge pull request #83093 from groud/fix_polygon_editor_undo_redo
Fixes undo/redo in tileset polygon editor
2023-10-10 12:34:46 +02:00
Gilles Roudière 8b608f3e6e Fixes undo/redo in tileset polygon editor 2023-10-10 10:33:05 +02:00
Rémi Verschelde fb6dc8c630
Merge pull request #83076 from SaracenOne/make_rest_fixer_tracks_imported
Set new SkeletonRestFixer tracks as imported
2023-10-10 09:12:42 +02:00
风青山 203f3e700b Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong results
Limit the maxsplit to `8` to get complete `deps`.

`deps` caches the return value of `ResourceLoader::get_dependencies()`,
which is also separated by "::".
"::" is quite popular as a splitter.
2023-10-10 10:51:01 +08:00
Saracen 96c3d0e73e Set new RestFixer tracks as imported 2023-10-09 23:43:37 +01:00
Rémi Verschelde 0e547bccd5
Merge pull request #83024 from SaracenOne/dependency_menu_fix
Fix dependency menu not showing up if scene failed to load.
2023-10-09 23:23:59 +02:00
Rémi Verschelde 98287fe607
Merge pull request #82075 from VedatGunel/fix-filesystem-rename-crash
Fix several issues with renaming in FileSystem dock
2023-10-09 23:22:47 +02:00
Rémi Verschelde 71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Vedat Gunel ecb9ecee54 Fix several issues with renaming in FileSystem dock 2023-10-09 23:18:27 +03:00
Rémi Verschelde a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde a7fcde4dab
Merge pull request #82940 from Calinou/editor-tooltip-metadata
Tweak metadata property tooltip to avoid being misleading
2023-10-09 15:34:45 +02:00
Rémi Verschelde 15d08c6adb
Merge pull request #82924 from SaracenOne/rmb_breakpoint_menu_fix
Fix right-click menu position for the debugger breakpoint tree.
2023-10-09 15:34:15 +02:00
Rémi Verschelde dffd320421
Merge pull request #82907 from mihe/gdext-failed-modal
Remove I/O error popup when failing to load/unload extension
2023-10-09 15:33:50 +02:00
Rémi Verschelde 7513ae6d06
Merge pull request #81812 from MewPurPur/zoomies
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
jsjtxietian 3a85e4bbd5 Move animation slice processing to _post_fix_animations 2023-10-09 18:58:55 +08:00
bruvzg 97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
Saracen c0e872c05b Fix dependency menu not showing up if scene failed to load. 2023-10-09 03:15:46 +01:00
Danil Alexeev de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
A Thousand Ships f18aa00e85 Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-10-08 17:23:33 +02:00
Omar Shehata c25a2d832b Fix external editor hot reload 2023-10-07 22:14:54 -04:00
MewPurPur 44d782681c Incorporate min and max zoom limits into the EditorZoomWidget 2023-10-07 20:41:59 +03:00
RealMadvicius e7a35d1521 Fix crash when clicking on "Interpolation Mode" with nonexistent node path
issue reference [https://github.com/godotengine/godot/issues/81769]
#81769 AnimationPlayer: Editor crashes when clicking on "Interpolation Mode" with nonexistent node path

- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction

> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);

Which then prevents the crash
2023-10-07 11:34:02 +02:00
Hugo Locurcio eb824dc6a5
Tweak metadata property tooltip to avoid being misleading 2023-10-07 03:08:16 +02:00
Hugo Locurcio ac723b3e44
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
This makes it easier to discover the UV2 generation functionality
on primitive meshes.
2023-10-07 02:18:55 +02:00
Saracen 3700ce7318 Fix right-click menu position for the debugger breakpoint tree. 2023-10-06 19:47:19 +01:00
Saracen 3defc17646 Fix debugger behaviour with multi-session debugging:
Fixes script editor debug menu on sessions other than 1
Fixes breakpoint toggle from menu in sessions other than 1
Removes execution display when switching to non-breaked sessions
2023-10-06 19:20:37 +01:00
Rémi Verschelde 62ca46cea4
Merge pull request #82913 from timothyqiu/toasters
Fix garbled text in editor toasters
2023-10-06 16:51:01 +02:00
Rémi Verschelde 49e2bd9d5b
Merge pull request #81523 from KoBeWi/epic_self_roast
Allow contextual plugins to persist temporarily
2023-10-06 16:50:53 +02:00
Rémi Verschelde 7b999ee074
Merge pull request #81284 from YeldhamDev/this_one_was_in_the_backlog_for_a_while
Show doc tooltips when hovering properties in the theme editor
2023-10-06 16:50:48 +02:00
kobewi a6de7a8a3f Allow contextual plugins to persist temporarily 2023-10-06 15:58:50 +02:00
Haoyu Qiu 3006394a69 Fix garbled text in editor toasters 2023-10-06 21:38:34 +08:00
Mikael Hermansson 1a80508d0f Remove I/O error popup when failing to load/unload extension 2023-10-06 13:57:53 +02:00
Rémi Verschelde fba341ce44
Merge pull request #82901 from kleonc/sprite-base-3d-gizmo-plugin
Make gizmo plugin handle `SpriteBase3D` instead of `Sprite3D`
2023-10-06 12:53:13 +02:00
Rémi Verschelde 373c4b22d3
Fix various typos with codespell
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
kleonc db6a8956b2 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-10-06 11:03:44 +02:00
jsjtxietian b0ccd5c84f Prompt require editor restart to user when gizmo color changed 2023-10-06 15:02:03 +08:00
Rémi Verschelde 4c799d44d0
Merge pull request #82875 from SaracenOne/disconnect_button_disable
Disable disconnect button for inherited signals
2023-10-05 22:51:00 +02:00
Rémi Verschelde f02695cc04
Merge pull request #81138 from clayjohn/attribute-compression
Vertex and attribute compression
2023-10-05 22:48:55 +02:00
Rémi Verschelde 642479db1e
Merge pull request #79872 from dalexeev/sprite-frames-editor-2
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
2023-10-05 22:48:04 +02:00
Rémi Verschelde 3cf1bc0a24
Merge pull request #79692 from dalexeev/sprite-frames-editor
SpriteFrames Editor: Fix FPS applied to two animations when switching animation
2023-10-05 22:47:37 +02:00
Saracen 054934fde3 Disable disconnect button for inherited signals 2023-10-05 19:10:51 +01:00
clayjohn 51ed3aef63 Vertex and attribute compression to reduce the size of the vertex format.
This allows Godot to automatically compress meshes to save a lot of bandwidth.

In general, this requires no interaction from the user and should result in
no noticable quality loss.

This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.

Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
kobewi 47adf88ed0 Provide translation strings for folder colors 2023-10-05 17:21:48 +02:00