Commit Graph

6105 Commits

Author SHA1 Message Date
Rémi Verschelde
e98aaf1caa
Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +02:00
Rémi Verschelde
3e23f56c72
Merge pull request #94288 from KoBeWi/cursed_code
Allow box selecting over CanvasItems when Shift is held
2024-08-28 00:12:02 +02:00
Rémi Verschelde
9f70823eec
Merge pull request #94012 from KoBeWi/reload_everything_to_update_one_line
Allow live reloading of built-in scripts
2024-08-28 00:11:53 +02:00
Rémi Verschelde
18895b8aac
Merge pull request #93017 from Chaosus/vs_mesh_emitter_drag_and_drop
Allow drag & drop Mesh to create MeshEmitter in visual shaders
2024-08-28 00:11:01 +02:00
Rémi Verschelde
48645f3d70
Merge pull request #87793 from ryevdokimov/hide-transform-gizmo
Add ability to hide editor transform gizmo
2024-08-28 00:10:32 +02:00
Rémi Verschelde
109203d472
Merge pull request #85331 from RobProductions/customize-navigation-controls
Add full customization of 3D navigation controls
2024-08-28 00:10:19 +02:00
Rémi Verschelde
d35bee9cdd
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00
Rémi Verschelde
ae241abde7
Merge pull request #95259 from kleonc/polygon2d_uv_editor_fix_zoomed_snapping
Fix snapping when zoomed in `Polygon2D` UV editor
2024-08-27 17:52:33 +02:00
kleonc
1b7626f391 Fix snapping when zoomed in Polygon2D UV editor 2024-08-27 17:01:41 +02:00
Rémi Verschelde
23a0dac7d8
Merge pull request #96136 from SaracenOne/auto_mapper_fix
Prevent automapper throwing obscure error.
2024-08-27 16:55:19 +02:00
Rémi Verschelde
61f2a33353
Merge pull request #96007 from kitbdev/fix-external-script-reloading
Fix script overwriting with external editor
2024-08-27 16:55:11 +02:00
Rémi Verschelde
9dfc41568a
Merge pull request #95984 from timothyqiu/what-identifier
Add `String.is_valid_unicode_identifier()`
2024-08-27 16:55:06 +02:00
Rémi Verschelde
1b29f8bbaa
Merge pull request #95738 from SomeRanDev/shader_editor_context_menu
Add a context menu for the shader editor file list
2024-08-27 16:54:58 +02:00
Rémi Verschelde
21bcff00e9
Merge pull request #95126 from Chaosus/shader_cubemap_fix
Allow setting a cubemap as default parameter to shader
2024-08-27 16:54:50 +02:00
Chaosus
db251a3f99 Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
Chaosus
f538376c3b Add CLIP_SPACE_FAR built-in to spatial shader 2024-08-27 08:48:46 +03:00
Robert Borghese
8a087c7ec4 Add context menu for shader editor list 2024-08-27 01:18:03 -04:00
Haoyu Qiu
8bf4ecc026 Add String.is_valid_unicode_identifier()
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
Saracen
3caba6e4fb Prevent automapper throwing obscure error.
Add check to prevent the skeleton auto-mapper throwing a cryptic
error when neither a head or neck bone could initially be detected.
2024-08-26 23:45:03 +01:00
Rémi Verschelde
0125b0eb03
Merge pull request #94215 from Chaosus/vs_preview_and_param_list
Add a material preview to visual shader editor
2024-08-26 23:28:46 +02:00
Rémi Verschelde
056bc6f279
Merge pull request #92540 from BlueCube3310/layered-texture-info
Improve layered texture preview
2024-08-26 23:28:19 +02:00
Rémi Verschelde
ac5a528620
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
Fix some legacy code
2024-08-26 23:28:14 +02:00
Rémi Verschelde
347700cd95
Merge pull request #83443 from Chaosus/vs_fix_input_sorting
Fix visual shader inputs to follow the alphabet order
2024-08-26 23:28:04 +02:00
Rémi Verschelde
002847f29c
Merge pull request #95958 from bruvzg/no_spec_ttr
Remove spaces and punctuation from the beginning of translatable strings.
2024-08-26 22:45:42 +02:00
Rémi Verschelde
4d353063f5
Merge pull request #95475 from TheSofox/sprite-sheet-guess-feature
Enable `SpriteFramesEditor` to "guess" the amount of rows and columns of a sprite sheet when loading it for the first time
2024-08-26 22:45:23 +02:00
Sofox
eccd1452fa Enable SpriteFramesEditor to guess the amount of rows and columns of a sprite sheet when loading it for the first time 2024-08-26 20:48:04 +01:00
Rémi Verschelde
abce2babe1
Merge pull request #94429 from mihe/animation-res-ref
Fix animation library copy-paste not preserving resource reference
2024-08-26 10:51:31 +02:00
Rémi Verschelde
04f6321ecc
Merge pull request #91166 from raulsntos/gdextension/loader
GDExtension: Implement `GDExtensionLoader` concept
2024-08-26 10:51:21 +02:00
Rémi Verschelde
e63e8453da
Merge pull request #84063 from jsjtxietian/add-shortcuts-for-text-shader-editor
Add several shortcuts for text shader editor
2024-08-26 10:51:07 +02:00
jsjtxietian
5d7f87603d Add several shortcuts for text shader editor 2024-08-26 11:38:58 +08:00
Rémi Verschelde
5beb4ee691
Merge pull request #92684 from smix8/mesh_conv_dialog
Add confirm dialog for render mesh to navigation mesh conversion
2024-08-25 22:24:10 +02:00
kit
23927c3d9b Fix script overwriting with external editor 2024-08-23 16:34:24 -04:00
bruvzg
fba7ad8c7b
Remove spaces and punctuation from the beginning of translatable strings. 2024-08-22 20:51:13 +03:00
Raul Santos
4dd6e8eca5
GDExtension: Implement GDExtensionLoader concept
- Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized.
- Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`.
- `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`.
- `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
2024-08-22 05:29:11 +02:00
Rémi Verschelde
9396e058f5
Merge pull request #95874 from tetrapod00/remember-view-grid
Remember "View Grid" (per-viewport) setting between editor sessions
2024-08-22 00:10:43 +02:00
Rémi Verschelde
091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
tetrapod00
080acd7246 Remember "View Grid" (per-viewport) setting between editor sessions 2024-08-20 15:59:07 -07:00
Yuri Rubinsky
eef236db63 Fix visual shader inputs to follow the alphabet order 2024-08-20 20:51:47 +03:00
aaronp64
7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Rémi Verschelde
26e87f4fbd
Merge pull request #95687 from aryan-11825114/fix-small-graph-editor-pins
Fix small graph editor pins at higher display scales
2024-08-20 10:02:18 +02:00
Rémi Verschelde
93fe5c6598
Merge pull request #94553 from juanjp600/gizmo-bvh
Fix gizmos without visible geometry not being selectable
2024-08-19 16:05:11 +02:00
Rémi Verschelde
80933392f3
Merge pull request #87135 from ryevdokimov/do-not-apply-material-on-ui-cancel
Clear drag preview material on `NOTIFICATION_DRAG_END`
2024-08-19 16:04:28 +02:00
oeelis
bf9fdc5b96
Ignore locked nodes when click selecting in 3d editor
When selecting 3d nodes with a single click, the node closest to the
camera is selected. If the closest node was locked, it would block the
selection, even when there was unlocked nodes behind the locked node.

This PR replaces the `_select_ray` method call used to find the closest
node with the similar `_find_items_at_pos` method, which can skip any
locked nodes.

Fixes #84764
2024-08-19 14:56:02 +02:00
A Thousand Ships
0c3b975ada
Fix compilation issues caused by far identifier
Breaks some builds on Win due to macro use of this name
2024-08-19 11:13:56 +02:00
aryan-11825114
3f7efd2291 Fix small graph editor pins at higher display scales 2024-08-17 15:01:05 +05:30
Yuri Rubinsky
f202a3d24e Add a material preview to visual shader editor 2024-08-17 08:27:54 +03:00
Rémi Verschelde
c430c775ca
Merge pull request #95258 from kleonc/polygon2d_uv_editor_fix_leaf_bone_drawing
Fix drawing leaf `Bone2D` in `Polygon2D` UV editor
2024-08-17 00:46:41 +02:00
Rémi Verschelde
9bb86dfa4a
Merge pull request #95249 from KoBeWi/pluginector
Fix usage of `add_inspector_plugin()`
2024-08-17 00:46:35 +02:00
Rémi Verschelde
a7200cedbc
Merge pull request #95154 from jsjtxietian/quit-freelook
Fix Pressing Escape doesn't exit freelook in the 3D editor
2024-08-17 00:45:57 +02:00
Rémi Verschelde
195a174864
Merge pull request #90690 from jsjtxietian/camera-aspect
Adjust orthographic camera gizmo with respect to `keep_aspect` setting
2024-08-17 00:45:34 +02:00