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
Daniel Lowe
67a5932a4f
Update AnimationPlayer in real-time when keyframe properties change
2024-08-26 07:19:01 -04: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
Yahkub-R
a54c6ce42d
Fix crash when re-importing model with AnimationPlayer panel open and node selected
2024-08-19 10:31:50 -04: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
Mikael Hermansson
351f454a94
Allow keying properties with multiple nodes selected
2024-08-19 14:05:33 +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
aaronp64
4d0e2ee47d
Improve time to close scene with many 3D gizmos
...
Changed EditorNode3DGizmoPlugin::current_gizmos from List to HashSet, to avoid having to iterate through all gizmos when ~EditorNode3DGizmo unregisters itself.
2024-08-18 19:47:19 -04: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
Rémi Verschelde
d6175a43da
Merge pull request #92576 from aaronfranke/shader-lang-editors
...
Make shader language editors inherit the same base class
2024-08-16 23:44:57 +02:00
BlueCube3310
e0f30d30e2
Improve layered texture preview
2024-08-16 18:20:55 +02:00
Rémi Verschelde
f01e052162
Merge pull request #95549 from timothyqiu/split-translation-server
...
Split `TranslationServer` into its own file
2024-08-16 14:36:16 +02:00
Rémi Verschelde
0f9925c0f9
Merge pull request #95542 from KoBeWi/go_bind_yourself
...
Remove empty `bind_methods()`
2024-08-16 14:35:51 +02:00
Rémi Verschelde
1c43f931ae
Merge pull request #95444 from YeldhamDev/pot_gen_fix
...
Fix incorrect parsing of nested nodes when generating the POT
2024-08-16 14:34:43 +02:00
Rémi Verschelde
a3904585bc
Merge pull request #95440 from Calinou/tileset-editor-tweak-no-tile-source-message
...
Tweak missing tile source message in the TileSet editor
2024-08-16 14:34:37 +02:00
Rémi Verschelde
45342d06a6
Merge pull request #95420 from TokisanGames/fix-crash-selecting-notdescendant
...
Fix crash by ensuring selected node is a descendant of the edited scene
2024-08-16 14:34:15 +02:00
Rémi Verschelde
60b0b5cd42
Merge pull request #95337 from kleonc/tile_set_editor_fix_transposed_polygons_editing
...
Fix polygon drawing for transposed tiles in `TileSet` editor
2024-08-16 14:33:37 +02:00
Rémi Verschelde
8f6116d3f4
Merge pull request #94904 from bruvzg/tile_poly_gestures
...
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures.
2024-08-16 14:32:45 +02:00
Rémi Verschelde
f02e89bd04
Merge pull request #93869 from MajorMcDoom/ortho-grids
...
Make viewport grid visible on all three planes in ortho camera view
2024-08-16 14:32:06 +02:00
Rémi Verschelde
8766361279
Merge pull request #95581 from Naros/remove-print
...
Remove superfluous `print_line` call
2024-08-16 10:36:51 +02:00
Rémi Verschelde
3ba9f4304e
Merge pull request #95402 from MajorMcDoom/rotation-gizmo-fix
...
Correct rotation gizmo plane math for off-center perspective view
2024-08-16 10:35:51 +02:00
Rémi Verschelde
12eb1436f4
Merge pull request #92734 from lawnjelly/faster_editor_grid4
...
Optimize Editor `_init_grid()`
2024-08-16 10:33:53 +02:00
Aaron Franke
99e997ae15
Make shader language editors inherit the same base class
2024-08-15 15:12:39 -07:00
Chris Cranford
b1421a0d98
Remove superfluous `print_line` call
2024-08-15 14:42:51 -04:00
Yuri Rubinsky
df61dca5ba
Change `VisualShaderNodeVec4Constant` type to vec4
2024-08-15 10:49:34 +03:00
Haoyu Qiu
7343dc3a5d
Split TranslationServer into its own file
2024-08-15 15:00:47 +08:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
A Thousand Ships
4fe0d0ee86
[Editor] Fix `AnimationTrackEditor::timeline_changed` signal
...
Signal was declared with two arguments, emitted with both two and three
2024-08-13 15:09:53 +02:00
Cory Petkovsek
b1a45d9487
Ensure selected node is a descendant of the edited scene
2024-08-13 12:08:47 +07:00
Michael Alexsander
84c5403578
Fix incorrect parsing of nested nodes when generating the POT
2024-08-12 18:05:58 -03:00
Rémi Verschelde
29a0e51b87
Merge pull request #95400 from AThousandShips/anim_signal_fix
...
[Editor] Fix missing bind for animation editor callback
2024-08-12 22:42:08 +02:00
Hugo Locurcio
14dda6a4b9
Tweak missing tile source message in the TileSet editor
...
This also renames the Tiles tab in the TileSet bottom panel
to Tile Sources to make it more explicit (and avoid using
the same name as the Tiles tab in the TileMap editor).
2024-08-12 21:41:50 +02:00
Rémi Verschelde
47d0bdd558
Merge pull request #95405 from TokageItLab/fix-double-seeking
...
Prevent to seek doubly on AnimationPlayerEditor
2024-08-12 18:18:15 +02:00
Silc Lizard (Tokage) Renew
81399ae9ba
Prevent to seek doubly on AnimationPlayerEditor
2024-08-13 00:49:53 +09:00
Zi Ye
1fc8255355
Corrected rotation gizmo plane math for off-center perspective view.
2024-08-11 14:19:23 -05:00
A Thousand Ships
7eed651f38
[Editor] Fix missing bind for animation editor callback
...
`timeline_changed` signal was connected to a method with three arguments
but provides two.
2024-08-11 19:07:39 +02:00
kleonc
3dfac1644d
Fix transposed tiles drawing in GenericTilePolygonEditor
2024-08-09 19:26:09 +02:00
kleonc
6895f6f8cc
Fix TileAtlasView bounds checks for transposed tiles
2024-08-09 19:26:02 +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
jsjtxietian
78dc310103
Fix Pressing Escape doesn't exit freelook in the 3D editor
2024-08-07 11:11:28 +08:00
kobewi
e2c03469fb
Close expanded tile editor when inspector updates
2024-08-02 13:43:30 +02: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
0d1c388991
Fix some legacy code
2024-08-01 12:08:14 +02:00
kit
06b17a4d2f
Fix goto line issues in code editor
2024-07-31 10:34:10 -04: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
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
bruvzg
cbcc8fab73
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures.
2024-07-29 11:41:15 +03:00
Yuri Rubinsky
5893b38ddd
Fix expanded output ports disconnection on updating in visual shader
2024-07-28 15:55:18 +03: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
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
Yuri Rubinsky
02a6f3944a
Fix incorrect passing of parameter to visual shader preview
2024-07-25 11:54:22 +03: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
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
Michael Alexsander
fe4bdaf5b5
Parse `auto_translate` when generating a POT file
2024-07-22 10:00:09 -03: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
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
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
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
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
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
Mikael Hermansson
08ef14a037
Fix animation library copy-paste not preserving resource reference
2024-07-16 11:34:44 +02:00
Silc Lizard (Tokage) Renew
98dbd869c5
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-16 14:49:25 +09:00
Mikael Hermansson
c9e0532bc2
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-15 13:14:57 +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
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
kit
ad8f065f4a
Fix request_save_previous_state signal type
2024-07-07 19:12:30 -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
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
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
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
kit
fc16465d17
Fix dropping on selection in script editor
2024-07-04 19:42:38 -04: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
kobewi
681769e2c9
Fix undoredo handling in some dialogs
2024-07-04 14:17:47 +02: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
Hugo Locurcio
3eb8b0ac8c
Add Markdown syntax highlighting to the script editor
2024-07-02 20:06:33 +02: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
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
patwork
31629744f8
Fix division by zero in aspect ratio calculation
2024-06-30 02:18:57 +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
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
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
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
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
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
passivestar
1a1d8a58ca
Center the label in overview of script editor
2024-06-27 16:01:35 +04:00
passivestar
a9ef6cd418
Improve viewport rotation gizmo drawing
2024-06-26 23:33:24 +04: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
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
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
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
Rémi Verschelde
f597f24a07
Merge pull request #93521 from nblackburn/popupmenu-pot-gen
...
Include "PopupMenu" labels in POT gen
2024-06-25 09:19:53 +02:00
matheusmdx
f746632369
Fix snapping lines don't disappearing after drag anchors
2024-06-23 21:05:33 -03:00
Nathaniel Blackburn
648d5a8525
include popupmenu labels in pot gen
2024-06-23 20:59:17 +01:00
bruvzg
2fdf24375d
[Editor] Fix importers add-ons after 93238
2024-06-23 21:12:00 +03:00
kobewi
230a4cb63f
Store TileMapLayer selection in scene's history
2024-06-22 18:42:48 +02:00
Rémi Verschelde
4a9dc72d16
Merge pull request #93361 from passivestar/viewport-buttons-styles
...
Add missing style overrides for viewport overlay buttons
2024-06-21 10:14:21 +02:00
passivestar
83078715ca
Add missing style overrides for viewport overlay buttons
2024-06-20 22:28:45 +04:00
Cory Petkovsek
1780f28407
Fix crash when drawing a selection box on an empty scene with certain plugins
2024-06-21 00:18:34 +07:00
Rémi Verschelde
acb9a4e6ad
Merge pull request #93385 from Chaosus/vs_fix_updating
...
Fix visual shader not being updated when switching tabs
2024-06-20 16:18:59 +02:00
Yuri Rubinsky
3bbbedc144
Fix visual shader not being updated when switching tabs
2024-06-20 13:37:16 +03:00
Manny-OnGit
8a44cf0342
fixed issue #93043 , ruler tool prevents new nodes from being added with right click.
2024-06-19 10:51:46 -07:00
Rémi Verschelde
4949e96b0b
Merge pull request #91845 from ryevdokimov/disable-freelook-when-drag-and-drop
...
Disable viewports inputs when dragging and dropping into the viewport
2024-06-19 10:53:17 +02:00
Rémi Verschelde
a50b535988
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
...
Fix Can't reopen signals panel immediately after connecting a signal
2024-06-19 10:10:14 +02:00
A Thousand Ships
fbb879debd
[Scene] Add `SceneStringNames::text/value_changed`
2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add `SceneStringNames::confirmed`
2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add `SceneStringNames::item_selected`
2024-06-19 09:39:05 +02:00
Hilderin
64ba2cf3a9
Fix Can't reopen signals panel immediately after connecting a signal #92996
2024-06-18 18:24:40 -04:00
A Thousand Ships
d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)`
2024-06-18 17:24:27 +02:00
Rémi Verschelde
76a8fa6fed
Merge pull request #93292 from rune-scape/singleton-cleanup
...
Fix missing cleanup and null checks for various singletons
2024-06-18 14:09:01 +02:00
Rémi Verschelde
2a470143ef
Merge pull request #93255 from jsjtxietian/atlas-default
...
Prevent generating preview for zero sized texture
2024-06-18 14:08:48 +02:00
rune-scape
6adcb1373a
fix missing cleanup and null checks for various singletons
2024-06-18 01:05:30 -07:00
jsjtxietian
3027b49943
Prevent generating preview for zero sized texture
2024-06-18 16:04:10 +08:00
Rémi Verschelde
e2fc6d38cb
Merge pull request #92926 from alula/patch-2
...
Make texture filtering in TileAtlasView consistent
2024-06-17 17:27:12 +02:00
alula
e591bb0288
Make texture filtering in TileAtlasView consistent
...
Co-authored-by: Gilles Roudière <gilles.roudiere@gmail.com>
2024-06-17 16:56:32 +02:00
Rémi Verschelde
170af05c80
Merge pull request #93219 from Chaosus/vs_fix_varyings
...
Fix bugs in visual shader varyings
2024-06-17 13:30:20 +02:00
Rémi Verschelde
bb8fe430fe
Merge pull request #90098 from viksl/fix-instant-rotation-and-return-wrapping
...
Allow wrapping for begin rotate transformation to bring it in line with Blender.
2024-06-17 10:57:57 +02:00
Yuri Rubinsky
537316098f
Fix bugs in visual shader varyings
2024-06-16 16:58:46 +03:00
Yuri Rubinsky
a7d5e2f0d9
Add missing TTR's for EditorProgress
2024-06-14 10:52:38 +03:00
Rémi Verschelde
680e489189
Merge pull request #93087 from KoBeWi/path_to_less_bugs
...
Allow cancelling actions in Path2D editor
2024-06-13 17:19:30 +02:00
lawnjelly
e71b3a75e4
Optimize Editor `_init_grid()`
...
Use static `LocalVectors` instead of `Vectors` for temporaries.
2024-06-13 11:51:32 +01:00
Hilderin
4575ccbad9
Fix Crash when trying to undo SpriteFrames animation rename #93079
2024-06-12 21:42:49 -04:00
kobewi
85a8c3e71a
Allow cancelling actions in Path2D editor
2024-06-12 15:22:50 +02:00
Gilles Roudière
10c2ce15da
Fix tile polygon editor grid and missing update
2024-06-11 19:35:03 +02:00
Rémi Verschelde
1e0015ac64
Merge pull request #92994 from smix8/navmesh_2d_clear
...
Fix NavigationRegion2D editor plugin clear button not updating debug visuals
2024-06-11 16:59:38 +02:00
Rémi Verschelde
430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
...
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Yuri Rubinsky
c2d0f3bafb
Allow drag & drop Mesh to create MeshEmitter in visual shaders
2024-06-11 11:27:24 +03:00
Chris Cranford
8577340501
Expose several EngineDebugger methods and signals as plugin callbacks
2024-06-10 19:46:23 -04:00
smix8
14bed692bf
Fix NavigationRegion2D clear button not updating debug visuals
...
Fixes that NavigationRegion2D editor plugin clear button did not update the debug visuals.
2024-06-10 19:36:21 +02:00
Rémi Verschelde
3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
...
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Chris Cranford
beef0f687c
Expose `update_docs_from_script` method
2024-06-08 16:45:49 -04:00
Silc Lizard (Tokage) Renew
bea47d877b
Fix seeking Animation immediate after playback for Discrete track
2024-06-08 22:09:37 +09:00
Silc Lizard (Tokage) Renew
4f6fb8ee81
Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-06-05 05:44:24 +09:00
Rémi Verschelde
92ea322802
Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
...
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
A Thousand Ships
0f72b15bc2
Fix some incorrect uses of `String` over `StringName`
...
These were accepting `SNAME` assignments
2024-06-03 13:42:31 +02:00
smix8
3fae26277a
Add confirm dialog for render mesh to navigation mesh conversion
...
Adds confirm dialog for render mesh to navigation mesh conversion that lists all the requirement for the pathfinding.
2024-06-02 19:09:54 +02:00
bruvzg
5168647530
Use current mouse button state instead of saved values.
2024-05-31 15:50:14 +03:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9
Use `CoreStringNames::normal` in more places
2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add `SceneStringNames::panel`
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
kobewi
a345160ab3
Fix wrong usage of parameters_base_path StringName
2024-05-30 12:03:43 +02:00
Rémi Verschelde
32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
...
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
Rémi Verschelde
aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
...
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
...
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Rémi Verschelde
a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
...
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00
Rémi Verschelde
6c7ca019d7
Merge pull request #92473 from passivestar/animation-disabled-controls
...
Fix animation player controls being enabled when no player is selected
2024-05-29 11:20:08 +02:00
Rémi Verschelde
4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
...
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
passivestar
2eaeee59d4
Fix animation player controls being enabled when no player is selected
2024-05-29 13:02:31 +04:00
matheusmdx
18cdb3c0d7
Fix error after create a new animation in an empty AnimationPlayer
2024-05-28 19:14:00 -03:00
Rémi Verschelde
1446722d23
Merge pull request #92442 from pkowal1982/sprite_frames
...
Select text in SpriteFramesEditor spin boxes on focus
2024-05-28 17:48:45 +02:00
Rémi Verschelde
b8f3c5e2ab
Merge pull request #92427 from AThousandShips/bind_go_away
...
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-28 15:50:01 +02:00
Rémi Verschelde
f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
...
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
Rémi Verschelde
25b17bd245
Merge pull request #92188 from SaracenOne/ownerless_node_select
...
Disallow selection of ownerless nodes
2024-05-28 15:48:54 +02:00
Rémi Verschelde
f7b9cdcef2
Merge pull request #90849 from AThousandShips/tile_edit_fix
...
[Editor] Fix crash when editing TileMap
2024-05-28 15:48:30 +02:00
Rémi Verschelde
f9dc62b265
Merge pull request #89806 from timothyqiu/smart-undo
...
Disable shader editor's undo/redo menu items when they do nothing
2024-05-28 15:48:20 +02:00
Saracen
596026a1ee
Disallows selection of ownerless nodes:
...
Attempts to select first node owned by the edited scene instead.
2024-05-28 11:13:40 +01:00
Paweł
18243c5b7a
Select text in SpriteFramesEditor spin boxes on focus
2024-05-27 21:50:15 +02:00
A Thousand Ships
f9901761be
[Editor] Fix crash when editing TileMap
2024-05-27 15:22:37 +02:00
A Thousand Ships
4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-27 13:29:57 +02:00
kobewi
d927d41f89
Optimize usage of position icon in 2D editor
2024-05-26 20:08:59 +02:00
Robert Yevdokimov
14f6c816ba
Offset drag instantiated scenes that result in a collision by its bounds to prevent overlap
...
Co-Authored-By: Robbie Cooper <cooperra@users.noreply.github.com>
2024-05-25 12:39:21 -04:00
Gilles Roudière
85eac45513
Display custom data name instead of indices in TileData inspector
2024-05-25 17:21:31 +02:00
Hugo Locurcio
60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
...
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
Hugo Locurcio
57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
...
Restarting particle animation frequently is often done in the VFX
tweaking process.
This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
Rémi Verschelde
408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_ 🤔
...
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde
e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
...
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
kobewi
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
kobewi
6559bb68e6
Remove some TileMap dependencies from TileMapLayer
2024-05-21 11:32:14 +02:00
Rémi Verschelde
9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
...
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde
ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
...
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
kobewi
e70ca3bf5a
Fix tile polygon grid not covering whole tile
2024-05-20 20:16:06 +02:00
Rémi Verschelde
40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
...
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde
45f6aaeb10
Merge pull request #91887 from minionprocyk/master
...
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Haoyu Qiu
becc98162e
Fix error when duplicating visual shader node inside a Frame
2024-05-20 15:56:16 +08:00
Haoyu Qiu
e5c321448e
Create AudioStreamPlayer when dropping AudioStream
...
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Rémi Verschelde
b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
...
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde
9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
...
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde
096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
...
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Nodragem
8e0f0c6edb
change default behaviour when drag-and-drop to 2d and 3d editor
...
correct formatting with clang-formatter
US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde
805d619382
Merge pull request #91872 from aaronp64/edit_navigation_obstacle
...
Allow editing `NavigationObstacle2D` shape vertices
2024-05-15 12:09:42 +02:00
Gaktan
cafa64cd27
Add option to open online doc for selected native class in script editor
2024-05-14 21:44:46 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Rémi Verschelde
3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
...
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Rémi Verschelde
bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
...
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
Rémi Verschelde
e58eb6a267
Merge pull request #91905 from groud/fix_patterns_being_needlessly_reorganized
...
Fix TileMap selection pattern being needlessly reorganized
2024-05-14 12:06:58 +02:00
Magian
8a92615ba0
Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/".
2024-05-14 15:32:47 +08:00
Danil Alexeev
5a5b18c2fc
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 10:23:14 +03:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Yuri Rubinsky
56026e6c76
Fix errors on pressing autoplay in sprite frames editor
2024-05-13 22:39:05 +03:00
Rémi Verschelde
194c940e72
Merge pull request #91497 from magian1127/4.0fixShaderHighlighting
...
Fix shader highlighting the interruption in `color_region` caused by `disabled_branch_regions`.
2024-05-13 17:32:02 +02:00
Gilles Roudière
b0cd6edceb
Fix TileMap selection pattern being needlessly reorganized
2024-05-13 14:34:33 +02:00
Rémi Verschelde
dcd6db8680
Merge pull request #90534 from Geometror/vs-reroute-node
...
[VisualShader] Add reroute node and improve port drawing
2024-05-13 12:05:25 +02:00
Hendrik Brucker
62776842df
[VisualShader] Add reroute node and improve port drawing
2024-05-13 03:26:01 +02:00
Peter Procyk
82c2a74646
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-12 19:55:27 -04:00
Robert Yevdokimov
824d21b441
Disable viewport inputs when dragging and dropping into the viewport
2024-05-12 10:02:39 -04:00
aaronp64
3b30c65880
Allow editing NavigationObstacle2D shape
...
Add _get_polygon and _set_polygon overrides for NavigationObstacle2DEditor, so AbstractPolygon2DEditor can access the vertex information.
Fixes #91795
2024-05-12 08:40:43 -04:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
768bd0e97d
Merge pull request #91793 from KoBeWi/a_theme_has_many_variations
...
Fallback to default theme for variation items
2024-05-11 12:38:24 +02:00
Rémi Verschelde
0ffa6e2039
Merge pull request #65258 from RedMser/expaaaaand
...
Toggle control expand flag directly via top bar
2024-05-11 12:38:04 +02:00
RedMser
2af78a5e86
Toggle control expand flag directly via top bar
2024-05-10 17:04:14 +02:00
kobewi
d7bedcdf43
Fallback to default theme for variation items
2024-05-10 13:16:29 +02:00
Rémi Verschelde
e11796384c
Merge pull request #91777 from KoBeWi/HISTORY_MISMATCH_PLEASE_INSERT_VALID_HISTORY
...
Fix Sprite2D editor history mismatch
2024-05-10 10:48:48 +02:00
Rémi Verschelde
84f6a3de31
Merge pull request #91732 from Naputt1/fix-2d-editor-selection
...
Fix 2d editor selection persisting after application loses focus.
2024-05-10 09:56:00 +02:00
kobewi
ea04fc7cde
Fix Sprite2D editor history mismatch
2024-05-09 22:12:55 +02:00
naputt
9e196b7d8c
fix 2d editor selection
2024-05-08 19:34:17 +01:00
Hugo Locurcio
e52c9cd9f1
Tweak appearance of 3D editor gizmo icons
...
- Use alpha scissor to resolve transparency sorting issues with gizmo
icons relative to other transparent materials in the scene.
This also makes gizmos visible in `screen_texture`, which means
gizmos can now be seen through refractive materials.
Lastly, this reduces the amount of artifacts visible around gizmo
outlines (although they are still present at times).
- Make icons darker when not selected to be less intrusive
(and easier to distinguish when selected).
2024-05-08 17:13:14 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
Rémi Verschelde
1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
...
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde
0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
...
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive `String::containsn`
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace `find` with `contains/has` where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
0494b37a0c
Merge pull request #91226 from Calinou/editor-gpuparticles3d-simplify-gizmo
...
Simplify the GPUParticles3D editor gizmo to improve readability
2024-05-07 16:49:38 +02:00
Rémi Verschelde
594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
...
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde
ba6f840970
Merge pull request #89248 from KoBeWi/store_no_store
...
Don't store values when loading them
2024-05-07 16:49:26 +02:00
Rémi Verschelde
68bd282c50
Merge pull request #81906 from the-sink/dominant-script-default
...
Set `open_dominant_script_on_scene_change` to off by default
2024-05-07 16:49:07 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
...
Using 2.2.7.dev217+g10c2abcf.
Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
...
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
jsjtxietian
cff1111359
Make native shader source visualizer can highlight uint suffix
2024-05-07 14:18:48 +08:00
kobewi
c344e593d0
Add MultiNodeEdit support to MeshInstance3D editor
2024-05-06 17:40:16 +02:00
Rémi Verschelde
1069d7b7c6
Merge pull request #88343 from Riteo/warped-mouse-float
...
Handle warped mouse motion as floating point
2024-05-06 15:14:46 +02:00
Haoyu Qiu
75eacba5cd
Add Camera3D preview in Inspector
2024-05-05 16:15:49 +08:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
jsjtxietian
b851514b10
Fix uint's suffix is not highlighted in text shader editor
2024-05-03 21:45:53 +08:00
Magian
c538b30021
Fix shader highlighting the interruption in color_region caused by disabled_branch_regions.
2024-05-03 12:49:39 +08:00
Aiden Storey
b4c1634b52
Implement trim_final_newlines functionality
2024-05-02 22:57:34 -04:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
...
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
Rémi Verschelde
de00cfbc01
Merge pull request #90892 from Chaosus/vs_fix_expression_port_expand
...
Prevent expanding output port in visual shader expression
2024-05-01 09:54:57 +02:00
Rémi Verschelde
e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
...
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Haoyu Qiu
1e20612940
Allow setting editor dock tabs to icon only
2024-04-30 09:34:14 +08:00
Rémi Verschelde
78f03f8e12
Merge pull request #91252 from timothyqiu/control-category
...
Only add warning label for Layout group in Control category
2024-04-29 10:10:35 +02:00
Rémi Verschelde
4b2245ffe1
Merge pull request #91238 from timothyqiu/interpolation-tooltip
...
Add text to icon-only interpolation OptionButton in blend space editor
2024-04-29 10:10:26 +02:00
Rémi Verschelde
13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
...
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde
9286ac7aa5
Merge pull request #90161 from magian1127/4.0sTip
...
Implement tooltips for shader uniform in the inspector.
2024-04-29 10:09:35 +02:00
Rémi Verschelde
c205f02165
Merge pull request #90050 from TokageItLab/add-tips-detection
...
Add tips detection to auto mapping in bone mapper
2024-04-29 10:09:32 +02:00
Christian Kaiser
09f01d611c
Fix editor tooltip flicker caused by _tree_changed
2024-04-27 21:11:45 -03:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins
2024-04-27 11:59:58 -07:00
Silc Lizard (Tokage) Renew
9c3a1c00c4
Add tips detection to bone mapper
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-04-28 02:24:41 +09:00
Haoyu Qiu
bd716a693a
Only add warning label for Layout group in Control category
2024-04-27 21:56:24 +08:00
Haoyu Qiu
8b2f95ffc1
Add text to icon-only interpolation OptionButton
2024-04-27 11:01:41 +08:00
Hugo Locurcio
cb05b49c09
Simplify the GPUParticles3D editor gizmo to improve readability
...
- Remove handles as users should use the Generate Visibility AABB
option whenever possible, so manual resizing isn't needed often.
(For particles that move quickly and have Local Coords disabled,
Extra Cull Margin can be increased in the GeometryInstance3D
properties in the inspector.)
- Remove translucent filled part of the gizmo to be more consistent
with GeometryInstance3D's recently introduced Custom AABB gizmo.
- Remove center marker as it can visually obstruct particles.
This paves the way for future emission shape gizmos which will
feature handles.
2024-04-26 22:29:26 +02:00
kit
773a473807
Overhaul multiple caret editing in TextEdit.
...
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit
154f727c7a
Overhaul TextEdit selection.
...
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Rémi Verschelde
caca54af2c
Merge pull request #79918 from KoBeWi/what_is_this_thing
...
Add tooltips for tile source types
2024-04-26 15:13:01 +02:00
Rémi Verschelde
69a94c5e27
Merge pull request #77069 from KoBeWi/turning_tooltips_into_music_player_BECAUSE_WHY_NOT
...
Add tooltip plugin for AudioStream
2024-04-26 15:12:54 +02:00
Rémi Verschelde
7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
...
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
kobewi
2cac59fbfa
Add tooltips for tile source types
2024-04-26 14:38:45 +02:00
Magian
e3a7c751f2
Implement tooltips for shader uniform in the inspector.
...
using regular expressions
2024-04-26 17:48:11 +08:00
kobewi
f8cd3bbc36
Add temporary pivot for rotating multiple 2D nodes
2024-04-26 11:03:47 +02:00
kobewi
3a1246c198
Store line change in script navigation history
2024-04-25 23:22:47 +02:00
Rémi Verschelde
5a14db7554
Merge pull request #86627 from ajreckof/add-static-body-creation-for-all-colision-shape-creations
...
Add static body creation equivalent for all collision shape sibling creations
2024-04-25 17:12:31 +02:00
ajreckof
b84f66c5df
Rework MeshInstance3d collision shape creation into a subMenu and add all static body options
...
Apply suggestions from code review
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-25 15:34:58 +02:00
kleonc
0c8275b4f7
Fix Path3D tilt gizmo raycasting against local plane
2024-04-24 16:02:01 +02:00
Rémi Verschelde
a4fbe4c01f
Merge pull request #91081 from KoBeWi/closing_faster_than_light
...
Further speed up closing multiple scripts
2024-04-24 09:59:56 +02:00
Rémi Verschelde
8b7917f685
Merge pull request #91073 from KoBeWi/irritating_bounds
...
Remove `uv_editor_bounds` editor setting
2024-04-24 09:59:44 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
...
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
149023335d
Merge pull request #90817 from KoBeWi/there_is_one_pattern
...
Reuse single erase pattern in tile editor
2024-04-24 09:59:17 +02:00
kobewi
fd3ed998ce
Further speed up closing multiple scripts
2024-04-23 23:33:01 +02:00
kobewi
6f7da2f5e4
Remove uv_editor_bounds editor setting
2024-04-23 19:13:22 +02:00
Rémi Verschelde
fb3c3ace62
Merge pull request #90153 from rburing/clipper2_electric_boogaloo
...
Replace Clipper1 library by Clipper2 library
2024-04-22 12:51:46 +02:00
Hugo Locurcio
b1a2394b3b
Use same colors for editor and running project for collision/path debug
...
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.
This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
Ricardo Buring
8a28f816d0
Replace Clipper1 library by Clipper2 library
2024-04-20 13:37:59 +02:00
Fredia Huya-Kouadio
ede88cf59d
Fix loading GDExtension dependencies on Android
2024-04-19 07:55:08 -07:00
Rémi Verschelde
1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
...
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde
55842a502c
Merge pull request #89058 from dalexeev/editor-help-bit-deprecated-experimental
...
Editor: Display deprecated/experimental messages in tooltips
2024-04-19 16:27:06 +02:00
Lyuma
bb9674c1b1
Set animation step from importers. Increase default step from 10 to 30 FPS.
2024-04-19 03:02:20 -07:00
Yuri Rubinsky
56d843724e
Prevent expanding output port in visual shader expression
2024-04-19 11:49:10 +03:00
Bogdan Inculet
8caa1b8783
Add Gizmo to display 3D custom AABB
2024-04-19 02:31:30 +03:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips
2024-04-18 14:32:04 +03:00
Rémi Verschelde
f6ba06a8d7
Merge pull request #90815 from KoBeWi/2_objects_1_editor
...
Avoid double editing when clicking AnimatedSprite
2024-04-18 12:24:53 +02:00
kobewi
6b69ae8dd0
Reuse single erase pattern in tile editor
2024-04-17 20:43:00 +02:00
kobewi
e36301e418
Avoid double editing when clicking AnimatedSprite
2024-04-17 19:51:42 +02:00
Yuri Rubinsky
ac77219d2b
Fix incorrect behavior at expanding an output port in visual shader node
2024-04-17 13:36:40 +03:00
Rémi Verschelde
0473f291a7
Merge pull request #90709 from kleonc/tile-set-editor-atlas-with-separation-rect-drawing
...
Fix selection rect drawing in `TileSet` editor when create/remove tiles with separation
2024-04-17 10:58:49 +02:00
Rémi Verschelde
517d7cfd52
Merge pull request #90566 from Rindbee/make-the-load-scene-open-in-current-scene-tab-if-it-is-empty
...
Make the loading scene open in the current scene tab if the current scene is empty
2024-04-17 10:58:39 +02:00
Rémi Verschelde
84457f66bb
Merge pull request #90189 from Naros/expose-goto-help
...
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-17 10:58:32 +02:00
Chris Cranford
d8f1287bcf
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-16 19:32:33 -04:00
风青山
b5157e0686
Make the loading scene open in the current scene tab if the current scene is empty
2024-04-16 23:04:25 +08:00
jsjtxietian
b97d995664
Adjust orthographic camera gizmo with respect to "keep_aspect" setting
2024-04-16 12:50:00 +08:00
kobewi
1fce8d8a91
Add tooltip plugin for AudioStream
2024-04-15 22:14:21 +02:00
kleonc
2dfc4f4487
Fix TileSet editor create/remove tiles selection rect drawing
2024-04-15 19:03:19 +02:00
jsjtxietian
be0dc52718
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-04-15 19:48:41 +08:00
Adam Scott
38d8abea12
Improve UX when saving newer files on disk
2024-04-14 11:36:07 -04:00
kobewi
64eff14a46
Prevent crash when dropping Resource that can't load
2024-04-14 15:26:53 +02:00
Aaron Franke
6dd4a68797
Reorganize some code to have 2D things grouped together
2024-04-13 02:56:50 -07:00
Rémi Verschelde
dae51097c5
Merge pull request #90583 from groud/fix_heap-use-after-free_error
...
Fix heap-use-after-free error in TileMapLayerEditor
2024-04-13 11:30:38 +02:00
Rémi Verschelde
2a0fcc4c7b
Merge pull request #88926 from samsface/fix_animation_player_error_dialog
...
Fix animation player error dialog focus
2024-04-13 11:30:18 +02:00
sam
943aeb4573
fix animation error player error focus
2024-04-12 22:36:30 +01:00
Gilles Roudière
bb6a1cb5a8
Fix heap-use-after-free error in TileMapLayerEditor
2024-04-12 17:56:28 +02:00
Rémi Verschelde
30e71782af
Merge pull request #90559 from Rindbee/fix-crash-when-drag-scene-file-to-screen
...
Fix crash when dragging scene files to 2D/3D screen
2024-04-12 11:17:05 +02:00
Rémi Verschelde
5eadb88596
Merge pull request #90183 from stevenjt/fix-gizmo-on-top-material-option
...
Fix gizmo on top material option having no effect
2024-04-12 11:16:41 +02:00
Rémi Verschelde
a95893caef
Merge pull request #89754 from KoBeWi/bottom_feeder
...
Fix SpriteFrames editor visibility problems
2024-04-12 11:16:37 +02:00
风青山
4ff5326959
Fix crash when dragging scene files to 2D/3D screen
...
The crash usually occurs when there is no scene root node.
2024-04-12 13:10:02 +08:00
Rémi Verschelde
78fade3809
Merge pull request #89874 from jsjtxietian/path2d
...
Fix Path2D's add new point's UndoRedo bug
2024-04-09 22:25:18 +02:00
Rémi Verschelde
dfcf803724
Merge pull request #90255 from Jabberdrake/bugfix-new
...
Fix 3d axes flickering in the negative direction when extremely zoomed out
2024-04-09 10:42:35 +02:00
Rémi Verschelde
dcf17cbb11
Merge pull request #89931 from timothyqiu/relax
...
Relax grid parameter constraints in texture region editor
2024-04-09 10:42:32 +02:00
Miguel Coelho
a53841021c
Fixes 3D axes flickering in the negative direction
...
When zooming out in the 3d node editor view, the negative half
of all 3d axes starts flickering upon moving the camera. To fix this,
the logic surrounding 3d transform "scaled" and "translated" calls has
been altered so as to account for negative distance values.
Fixes #89215 .
2024-04-09 10:38:22 +02:00
Rémi Verschelde
429bf0281c
Merge pull request #89810 from Geometror/fix-79417
...
[VisualShader] Remove invalid graph connections when ports are removed
2024-04-08 18:42:30 +02:00
Hendrik Brucker
0b9b479ba7
[VisualShader] Remove invalid graph connections when ports are removed
...
Co-authored-by: EddieBreeg <eddiebreeg0@protonmail.com>
2024-04-08 15:31:27 +02:00
Rémi Verschelde
f202ebb495
Merge pull request #90102 from themancalledjakob/fix-drag-drop-shadermaterial
...
Allow drag and dropping ShaderMaterial in 3D viewport
2024-04-08 11:20:59 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
...
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Rémi Verschelde
fe25b18432
Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
...
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
Rémi Verschelde
f6a78f83aa
Merge pull request #90207 from groud/fix_no_cached_rect
...
Fix "no cached rect" errors in TileMapLayer editor
2024-04-04 17:09:26 +02:00
Rémi Verschelde
4d7c87b7be
Merge pull request #90204 from groud/fix_highlighting_update_on_disable
...
Correctly update TileMapLayer highlighting when disabling it
2024-04-04 17:09:23 +02:00
Gilles Roudière
c928273c6c
Fixes "no cached rect" errors in TileMapLayer editor
2024-04-04 16:28:31 +02:00
Gilles Roudière
256a6713f2
Correctly update TileMapLayer highlighting when disabling it
2024-04-04 15:25:42 +02:00
Hendrik Brucker
a81561cbd9
Add GraphFrame and integrate it in VisualShader
2024-04-04 15:11:00 +02:00
Rémi Verschelde
4329ccb6e6
Merge pull request #90019 from fire/avoid-bone-map-infinite-loop
...
Fixed loop condition in bone mapping
2024-04-04 14:36:47 +02:00
Rémi Verschelde
299d23aa08
Merge pull request #89987 from Calinou/editor-asset-library-rename-official-support-level
...
Rename Official support level to Featured in the editor asset library
2024-04-04 14:35:51 +02:00
Rémi Verschelde
8c935c8410
Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr
...
Editor: Disable auto-translation of titles in `AssetLib`.
2024-04-04 14:35:47 +02:00
Rémi Verschelde
b77ac0a2b3
Merge pull request #89933 from jsjtxietian/path3d-remove
...
Support "clear points" function in Path3D topmenu bar
2024-04-04 14:35:27 +02:00
Rémi Verschelde
8516304b82
Merge pull request #89847 from GreenCrowDev/missing-bezier-handles
...
UX and stability improvements for `Path3D` node
2024-04-04 14:31:49 +02:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
...
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
...
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde
b5369ee3b3
Merge pull request #89017 from kitbdev/add-close-docks
...
Allow docks to be closed and opened
2024-04-04 14:31:11 +02:00
Rémi Verschelde
2c65bf0d69
Merge pull request #88761 from eugene87222/fix-asset-lib-layout
...
Fix broken layout of asset library page
2024-04-04 14:30:58 +02:00
Rémi Verschelde
e302fb2167
Merge pull request #85386 from RedMser/scene-tree-editor-improvements
...
Improve SceneTreeEditor usability
2024-04-04 14:30:38 +02:00
Eugene Yang
c5cab60b90
Fix broken layout of asset library page
2024-04-04 11:39:47 +08:00
Steven Thompson
9b1a1d2813
Fix gizmo on top material option having no effect
...
Update get_material function in EditorNode3DGizmoPlugin so that it
enables the disable depth test flag on duplicate versions of the gizmo
materials if the flag is not already set and the gizmo is set to use the
'x-ray' visibility state.
2024-04-03 21:29:51 +01:00
Gilles Roudière
3cd4b2859c
Expose TileMapLayer
2024-04-03 11:02:34 +02:00
themancalledjakob
d90d5eb3c1
allow drag and dropping ShaderMaterial in 3D viewport
...
Fixes #90075
2024-04-01 15:52:22 +02:00
viksl
df71600d2b
Blender's rotation does allow wrapping the original implementation of this behaviour in Godot disabled it, this commit brings it in line with Blender's functionality.
2024-04-01 15:13:13 +02:00
RedMser
9cd30208d6
Improve SceneTreeEditor usability
...
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Haoyu Qiu
479b7afa8e
Add context support for editor property name i18n
2024-03-31 18:40:14 +08:00
A Thousand Ships
334449df70
[Animation] Expose `SkeletonProfile.set/is_required`
2024-03-30 20:57:55 +01:00
kit
860bff926e
Allow docks to be closed
2024-03-29 22:03:59 -04:00
K. S. Ernest (iFire) Lee
15f1a0fba3
Fixed loop condition in bone mapping
...
Corrected the for-loop condition in the auto_mapping_process function. Previously, it was checking if children.size() is non-zero, which resulted in an infinite loop
2024-03-29 07:22:17 -07:00
Hugo Locurcio
1e4c7c8a57
Rename Official support level to Featured in the editor asset library
...
This paves the way for integrating hand-picked high-quality assets
to be displayed in the project manager when accepting the
"you don't have any projects yet" dialog.
2024-03-28 18:40:32 +01:00
Zae
361f693adc
Editor: Disable auto-translation of titles in AssetLib.
2024-03-28 20:39:43 +08:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor.
2024-03-28 11:53:03 +02:00
Rémi Verschelde
86415f0245
Merge pull request #89963 from timothyqiu/auto-translation
...
Fix unexpected auto-translation of more editor components
2024-03-28 10:47:42 +01:00
Haoyu Qiu
f298aaa956
Fix unexpected auto-translation of more editor components
2024-03-28 10:50:57 +08:00
jsjtxietian
34eff85014
Support “clear points” function in Path3D editor
2024-03-27 12:40:30 +08:00
Haoyu Qiu
151d7b10e0
Relax grid parameter constraints in texture region editor
2024-03-27 11:56:28 +08:00
Alex Drozd
fcb0b8d0bf
Refactor check for overriden methods in inner classes
2024-03-26 22:14:57 +01:00
Rémi Verschelde
3fa6ec7285
Merge pull request #89901 from jsjtxietian/path3d
...
Fix Path3D picking working incorrectly when viewport is in half resolution
2024-03-26 13:45:50 +01:00
Rémi Verschelde
4dec783017
Merge pull request #89545 from brno32/override-gutter-icon-inner-class-method
...
Fix missing gutter icon for inner class method overrides
2024-03-26 13:45:18 +01:00
Rémi Verschelde
19a50127e5
Merge pull request #88690 from MajorMcDoom/color-picker-fix
...
Fix undo/redo behavior of ColorPicker and add ability to cancel/confirm color selection
2024-03-26 13:45:06 +01:00
Rémi Verschelde
198d0b6bc6
Merge pull request #86479 from YeldhamDev/you_arent_built-in,_sod_off!
...
Fix scene parser reading non-built-in scripts for POT generation
2024-03-26 13:44:56 +01:00
Rémi Verschelde
bec4de9237
Merge pull request #86143 from YeldhamDev/ttr_here,_rtr_there
...
Stop using `RTR()` inside the "editor" folder
2024-03-26 13:44:47 +01:00
jsjtxietian
20f4a5d03a
Fix path3d's pick works incorrectly when viewport is in half resolution
2024-03-26 17:24:41 +08:00
jsjtxietian
09a6b5a655
Fix Path2D's add new point's UndoRedo bug
2024-03-26 12:38:34 +08:00
Alex Drozd
1d93a1fbb8
Fix missing gutter icon for inner class method overrides
2024-03-25 22:39:33 +01:00
matricola787
5c83d14698
UX and stability improvements for Path3D node
2024-03-25 16:51:37 +01:00
Rémi Verschelde
ad59b7a70a
Merge pull request #89837 from chrisl8/tooltip_updates_for_debug_menu
...
Extremely minor tooltip updates for Debug menu.
2024-03-25 11:18:46 +01:00
Rémi Verschelde
c4aa1078fb
Merge pull request #88465 from AeioMuch/search_results_button
...
[Editor] Hide Search Results by default and show it on first search.
2024-03-25 11:18:35 +01:00
Zi Ye
d827b34ea8
Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
2024-03-24 15:12:11 -05:00
Danil Alexeev
eab05558c4
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-03-24 21:26:18 +03:00
Rémi Verschelde
05372773e1
Merge pull request #89599 from timothyqiu/vegetate
...
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
Christen Lofland
f108149267
Extremely minor tooltip updates for Debug menu.
2024-03-23 21:48:01 -05:00
Rémi Verschelde
9293cedaa6
Merge pull request #89823 from YeldhamDev/variation,_not_notification
...
Remove pointless `_notification()` function in `EditorPropertyOTVariation`
2024-03-24 01:24:00 +01:00
Rémi Verschelde
1999b661d0
Merge pull request #89799 from timothyqiu/line-numbers
...
Translate "Line N" as a whole
2024-03-24 01:23:47 +01:00
Rémi Verschelde
391eaf2a7a
Merge pull request #89732 from azuloo/animation-player-pin-fix
...
Fix AnimationPlayer pin behavior
2024-03-24 01:23:04 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde
33cca7c65c
Merge pull request #88997 from jsjtxietian/parallax
...
Disable lock and group buttons when selected item is not CanvasItem
2024-03-24 01:14:35 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
...
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
...
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Michael Alexsander
9f56287d96
Remove pointless `_notification()` function in `EditorPropertyOTVariation`
2024-03-23 17:10:57 -03:00
Haoyu Qiu
5a687e9e2c
Disable shader editor's undo/redo menu items when they do nothing
2024-03-23 21:23:24 +08:00
Haoyu Qiu
9dadeac658
Translate "Line N" as a whole
2024-03-23 18:39:01 +08:00
kobewi
969bfeae4c
Fix SpriteFrames editor visibility problems
2024-03-21 16:35:22 +01:00
azuloo
5c6ca5fc09
Fix AnimationPlayer pin behavior
2024-03-21 08:42:33 +02:00
jsjtxietian
816812ee6c
Disable lock and group buttons when selected item can't be locked or grouped
2024-03-21 13:02:34 +08:00
Silc Lizard (Tokage) Renew
6dd410854c
Rework AnimationNode process for retrieving the semantic time info
2024-03-20 22:52:26 +09:00
A Thousand Ships
79ba22a73f
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-20 13:47:42 +01:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
VolTer
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
Haoyu Qiu
8cd1ebbd6d
Fix unexpected auto translation of Tree content
2024-03-18 09:31:00 +08:00
AeioMuch
5cf6f3c779
Hide Search Results by default. Show it on first search and push it at the end. Add a close button to hide it back. Also switch to Script Editor if a searched line is clicked.
2024-03-16 20:42:05 +01:00
Rémi Verschelde
006f5bc11c
Merge pull request #89437 from jsjtxietian/help-label
...
Fix help label will be partly outside the view area at 150% editor scale
2024-03-13 18:41:50 +01:00
Rémi Verschelde
734bd3c8c4
Merge pull request #89434 from jsjtxietian/center-view
...
Fix center view button appears outside the GenericTilePolygonEditor
2024-03-13 18:41:46 +01:00
jsjtxietian
856e071762
Fix help label will be partly outside the view area at 150% editor scale
2024-03-13 17:50:02 +08:00
jsjtxietian
f59c147d1f
Fix center view button appears outside the GenericTilePolygonEditor
2024-03-13 12:46:14 +08:00
Thaddeus Crews
3b3e2374c9
clang-tidy: Enforce `modernize-use-nullptr`
2024-03-12 10:59:53 -05:00
Hugo Locurcio
72002a77de
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces
2024-03-09 18:03:01 +01:00
Rémi Verschelde
e9ca51ce87
Merge pull request #89292 from Chaosus/vs_fix_crash
...
Fix possible crash when converting a node to other in visual shader
2024-03-09 00:52:35 +01:00
Rémi Verschelde
47941d49ac
Merge pull request #89286 from Kiisu-Master/fix-pot-generation
...
Fix packed scene translation parser missing strings.
2024-03-09 00:52:32 +01:00
Kiisu_Master
8446084a20
Fix packed scene translation parser missing strings.
2024-03-08 20:43:19 +02:00
Yuri Rubinsky
d9292ea51e
Fix possible crash when converting a node to other in visual shader
2024-03-08 21:28:05 +03:00
Rémi Verschelde
a658621cc5
Merge pull request #89264 from ryevdokimov/don't-update-snap-every-scan
...
Move `snap_controls_to_pixels` from process to projects settings changed method
2024-03-08 13:09:46 +01:00
Rémi Verschelde
6db28c9fb7
Merge pull request #89204 from luevano/fix-cyclic-dep-on-drop
...
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-08 13:09:37 +01:00
Rémi Verschelde
2c0797b257
Merge pull request #87161 from ryevdokimov/do-not-commit
...
Do not commit transforms and handles if no changes were made
2024-03-08 13:09:10 +01:00
Robert Yevdokimov
f99de3f024
Move `snap_controls_to_pixels` from process to projects settings changed method
2024-03-07 16:21:23 -05:00
David Luevano Alvarado
71426d0f5c
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-07 12:20:49 -06:00
kobewi
4e88fb87b6
Don't store values when loading them
2024-03-07 15:01:12 +01:00
Rémi Verschelde
26a6f810d2
Merge pull request #87886 from ryevdokimov/don't-use-physics-process
...
Do not use `NOTIFICATION_PHYSICS_PROCESS` for 2D Editor
2024-03-07 10:04:31 +01:00
Rémi Verschelde
9d8e267131
Merge pull request #87989 from ryevdokimov/fix-editor-tool-tooltips
...
Show modifier key functionality on all the editor tools
2024-03-07 00:23:49 +01:00
Rémi Verschelde
72a31722fd
Merge pull request #89132 from jsjtxietian/lock-update
...
Update lock and group button state when selection changed in CanvasItemEditor
2024-03-06 09:50:23 +01:00
jsjtxietian
b047206619
Update lock and group button state when selection changed
2024-03-06 10:24:18 +08:00
Rémi Verschelde
1b2e0b32d7
Merge pull request #89200 from KoBeWi/e
...
Fix AssetLibrary not going online when clicking button
2024-03-05 23:44:49 +01:00
Rémi Verschelde
0975e2941c
Merge pull request #88413 from LeulMulugeta/dont_reset_select_frames
...
Remember frames when selecting `SpriteFrame` frames
2024-03-05 23:44:33 +01:00
Rémi Verschelde
4bb219321e
Merge pull request #88081 from Calinou/editor-add-bottom-panel-shortcuts
...
Add editor shortcuts to toggle bottom panel visibility
2024-03-05 23:44:21 +01:00
kobewi
6caa24b1b8
Fix AssetLibrary not going online when clicking button
2024-03-05 21:27:08 +01:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
...
Default shortcuts use the first or second letter of each word.
This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde
c3daa041e0
Merge pull request #89177 from luevano/match-89126-3D
...
Match #89126 for 3D: check for `Resource` type instead of extension
2024-03-05 14:55:32 +01:00
Rémi Verschelde
6399fae16d
Merge pull request #88951 from Geometror/vs-prop-ed-fixes
...
Make editing properties more intuitive in VisualShader
2024-03-05 14:55:21 +01:00
Leul Mulugeta
effad7be0c
Remember frames when selecting SpriteFrame frames
2024-03-05 16:50:06 +03:00
Hendrik Brucker
d32e0f808c
Make editing properties more intuitive in VisualShader
2024-03-05 13:27:33 +01:00
David Luevano Alvarado
a918c7c5fe
Match #89126 for 3D: check `Resource` type instead of extension
2024-03-05 06:08:35 -06:00
Rémi Verschelde
c4a46e00f8
Merge pull request #89126 from luevano/fix-89093-followup
...
Fix editor crash when unsupported `Resource` is dropped in scene
2024-03-04 20:43:49 +01:00
Rémi Verschelde
4320d53a2b
Merge pull request #84907 from miv391/fix-gutter-error
...
Do not bother with line colors if `line_number_gutter` is not yet calculated
2024-03-04 20:43:30 +01:00
David Luevano Alvarado
c0467aa1f9
Fix editor crash when unsupported `Resource` is dropped in scene
2024-03-04 10:06:05 -06:00
Rémi Verschelde
95085cdcdb
Merge pull request #89121 from KoBeWi/replace_node_type
...
Fix undo action names for node replacement
2024-03-04 13:34:35 +01:00
Rémi Verschelde
1a9c0ee5fe
Merge pull request #87391 from markdibarry/new_node_parallax_2d
...
Add new Parallax2D node
2024-03-04 13:33:09 +01:00
Rémi Verschelde
8eb08522b3
Merge pull request #85494 from Hobitus/Allow-multi-selection-of-frames-in-the-SpriteFrames-animation-editor
...
Add multi-selection for `SpriteFramesEditor`
2024-03-04 13:32:44 +01:00
markdibarry
a62870956a
Add new Parallax2D node
2024-03-03 15:46:40 -05:00
kobewi
c1cce6bb69
Fix undo action names for node replacement
2024-03-03 19:09:25 +01:00
Mika Viskari
0fbc857e3f
Do not call _validate_script if editor is not enabled
2024-03-01 19:48:48 +02:00
kobewi
24b210d1c8
Fix update_property() in particle material editor
2024-03-01 16:03:53 +01:00
Dominic Marier
8faba242a4
Added multi-selection for sprite_frame_editor
...
use multi-selection for copy/paste
move up or down
frame duration set while multi-selected
2024-02-29 20:01:00 -05:00
Rémi Verschelde
c84188b694
Merge pull request #88980 from Calinou/visualshader-remainder-add-percent-sign
...
Add percent (`%`) sign to Remainder node name in visual shaders
2024-02-29 13:55:01 +01:00
Rémi Verschelde
16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
...
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Hugo Locurcio
07c4baded7
Add percent (`%`) sign to Remainder node name in visual shaders
...
This makes the node easier to search in the Create New Node dialog.
2024-02-28 20:39:12 +01:00
smix8
10e8f3698b
Auto-bake edited NavigationPolygons in the Editor on a timer
...
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
Michael Alexsander
c7fb8579fe
Stop using `RTR()` inside the "editor" folder
2024-02-27 16:03:28 -03:00
Rémi Verschelde
8f3e2a6113
Merge pull request #88912 from AThousandShips/tile_drag_fix
...
[TileSet] Fix crash when deleting dragged polygon point
2024-02-27 16:37:10 +01:00
Rémi Verschelde
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
...
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
A Thousand Ships
fe203d7003
Prevent threading problems in `TileMap`
2024-02-27 15:38:25 +01:00
A Thousand Ships
0ba7463803
[TileSet] Fix crash when deleting dragged polygon point
2024-02-27 15:16:27 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde
6d8ca17139
Merge pull request #88829 from ryevdokimov/institate_message-2d
...
Show instantiating or inherit message when using drag to instantiate in 2D
2024-02-27 10:18:17 +01:00
Rémi Verschelde
6ed4a279d9
Merge pull request #88774 from ryevdokimov/instantiating-message
...
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-27 10:17:55 +01:00
Rémi Verschelde
e770a38d00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
...
Fix the text editor theme not being applied on editor start
2024-02-27 10:17:47 +01:00
Robert Yevdokimov
8875ff0a14
Show instantiating or inherit message when using to drag to instantiate in 2D
2024-02-27 01:09:13 -05:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
Rémi Verschelde
abe73c3db0
Merge pull request #88675 from MajorMcDoom/script-editor-redundancy
...
Remove some redundant method calls from ScriptEditor
2024-02-26 10:48:57 +01:00
Rémi Verschelde
63bde2feff
Merge pull request #88589 from RandomShaper/gl_preview_liveunlock
...
Rework viewport capture in preview generation
2024-02-26 10:48:44 +01:00
Zi Ye
ea401f9853
Fixed the text editor theme not being applied on editor start.
2024-02-25 14:42:48 -06:00
Robert Yevdokimov
967d03ac5c
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-24 13:58:23 -05:00
Rémi Verschelde
fd788d7df9
Merge pull request #88584 from ryevdokimov/hide_grid_per_viewport
...
Add ability to hide grid per viewport
2024-02-23 22:19:01 +01:00
Rémi Verschelde
4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
...
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
Robert Yevdokimov
df431542c3
Add ability to hide grid per viewport
2024-02-23 10:25:29 -05:00
Mounir Tohami
7884d63281
Fix PopupMenu doesn't respect it's ScrollContainer's margins
2024-02-23 15:51:47 +02:00
Rémi Verschelde
42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
...
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
Rémi Verschelde
031ca87d83
Merge pull request #87901 from pohy/feat/use-subgizmos-for-path3d-position-editing
...
Use subgizmos for Path3D position editing and declutter the UI
2024-02-22 23:34:26 +01:00
Rémi Verschelde
213c835cde
Merge pull request #85017 from Geometror/vs-redesign
...
Redesign the graph editor for visual shaders
2024-02-22 23:34:19 +01:00
pohy
6efff2cd06
Use subgizmos instead of handles for Path3D curve points
2024-02-22 22:33:34 +01:00
Hendrik Brucker
02a33b67a8
Redesign the graph editor for visual shaders
2024-02-22 20:40:09 +01:00
Zi Ye
943f6aa113
Removed some redundant calls from ScriptEditor.
2024-02-22 12:13:48 -06:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
Rémi Verschelde
2f58db935e
Merge pull request #88645 from KoBeWi/ 🤦♂️ 🤦♂️ 🤦♂️
...
Fix 3D editor project settings update
2024-02-22 14:39:18 +01:00
Zi Ye
9281c441f6
Improved text editor status bar and zooming UX.
2024-02-21 17:33:16 -06:00
kobewi
3a8fdc0bac
Fix 3D editor project settings update
2024-02-21 20:20:52 +01:00
Saracen
98d9c9c573
Make AnimationPlayerEditor read-only edit rules more permissive.
2024-02-21 15:17:56 +01:00
Pedro J. Estébanez
91f0a65fc9
Rework viewport capture in preview generation
2024-02-21 10:44:21 +01:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 -05:00
Rémi Verschelde
9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
...
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
Rémi Verschelde
6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
...
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
CookieBadger
47dba6bc56
use ED_IS_SHORTCUT macro instead of matches_event
2024-02-19 13:16:06 +01:00
Silc Lizard (Tokage) Renew
772a753960
Fix some animation state corruptions on activate and reset on save
2024-02-19 13:04:22 +09:00
Rémi Verschelde
36b88cbb8a
Merge pull request #86694 from KoBeWi/deugly_the_text
...
Tweak tile atlas help label positions
2024-02-19 00:07:37 +01:00
A Thousand Ships
dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs
2024-02-17 17:09:17 +01:00
Rémi Verschelde
2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
...
Rework the auto translation system
2024-02-17 15:54:31 +01:00
Rémi Verschelde
c28493ad04
Merge pull request #88275 from passivestar/slider-abort
...
Allow aborting `SpinSlider` value changes
2024-02-17 00:23:26 +01:00
Matt Enad
5b5de0e167
Add hover highlight to main editor buttons
...
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 -05:00
Arman Elgudzhyan
ec6518d9cd
Custom ("visiblity") AABB support for CPUParticles
...
- Improves performance by reducing time spent on AABB generation.
- Also adds an option to generate the AABB manually in the CPUParticles3D dropdown.
2024-02-15 22:37:07 -08:00
passivestar
5689dbc209
Allow to abort `SpinSlider` value changes
2024-02-16 07:54:35 +04:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
Rémi Verschelde
09df8f4a56
Merge pull request #87952 from paulloz/dotnet/byebye-signal-callback-generation
...
Disable signal callback generation in C#
2024-02-15 15:44:55 +01:00
Rémi Verschelde
994dd21c02
Merge pull request #84356 from viksl/drag_and_drop_2d_selection
...
Select newly added nodes on drag and drop in 2D viewport
2024-02-15 15:44:29 +01:00
Rémi Verschelde
55dd98e4f8
Merge pull request #84347 from viksl/drag_and_drop_3d_selection
...
Select newly added nodes on drag and drop in 3D viewport
2024-02-15 15:44:25 +01:00
Riteo
759a32eb0c
Handle warped mouse motion as floating point
...
Fixes certain issues where sub-pixel motions would get discarded while
the mouse is captured, such as when free look is enabled in the editor
(at least when turned on while holding right click).
Very slightly compat breaking, as actual public APIs are changed,
although with "compatible" types (Point2i->Point2).
2024-02-14 22:37:51 +01:00
viksl
dc60c01e56
Select newly added nodes on drag and drop in 2D viewport
2024-02-14 20:03:00 +01:00
Rémi Verschelde
a1cc37966c
Merge pull request #87126 from ryevdokimov/fix-84424(2)
...
Fix position and basis of 3D Scenes instantiated via drag and drop
2024-02-14 14:07:58 +01:00
Paul Joannon
9fa2355cef
Disable signal callback generation in C#
2024-02-14 13:26:45 +01:00
Rémi Verschelde
c5050f9772
Merge pull request #88229 from ckaiser/feature/asset_library_ux_cleanup
...
Asset Library author link, description popup size and UX details
2024-02-14 10:59:49 +01:00
Christian Kaiser
38ac946af7
Asset Library author link, description popup size and UX details
2024-02-14 06:01:10 -03:00
Rémi Verschelde
81184941bc
Merge pull request #88290 from Calinou/tilemap-editor-tweak-no-source-message
...
Tweak TileMap editor's missing source message to use "bottom panel" term
2024-02-13 23:43:46 +01:00
Rémi Verschelde
ab54569912
Merge pull request #63529 from KoBeWi/fake_features_v2
...
Allow to set custom feature tags for testing
2024-02-13 23:43:03 +01:00
Robert Yevdokimov
be0104a129
Fix position and basis of 3D Scenes instantiated via drag and drop
2024-02-13 12:43:22 -05:00
Hugo Locurcio
53dce9a84e
Tweak TileMap editor's missing source message to use "bottom panel" term
...
This term is used throughout the editor (including EditorPlugin)
as these bottom panels are technically not tabs.
2024-02-13 18:27:42 +01:00
kobewi
1b2c7bfe77
Allow to set custom feature tags for testing
2024-02-13 17:38:45 +01:00
Rémi Verschelde
e0b1e79251
Merge pull request #88279 from kleonc/editor-plugins-2d3d-drag-drop-transform-calculation-fix
...
Fix `CanvasItem`/`Node3D` editor plugin drag drop transform calculation
2024-02-13 17:24:28 +01:00
Rémi Verschelde
48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
...
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
Rémi Verschelde
eb77418075
Merge pull request #87006 from AThousandShips/frame_fix
...
Fix member names of `AudioFrame` to match extension
2024-02-13 17:23:37 +01:00
Rémi Verschelde
32b0834609
Merge pull request #84763 from KoBeWi/all-knowing_theme_editor
...
Fetch theme editor items from ThemeDB
2024-02-13 17:23:07 +01:00
A Thousand Ships
d8b29efe66
Fix member names of `AudioFrame` to match extension
2024-02-13 15:37:09 +01:00
kleonc
c0a1b4f32d
Fix CanvasItem/Node3D editor plugin drag drop transform calculation
2024-02-13 13:52:37 +01:00
Rémi Verschelde
dfe226b933
Merge pull request #88270 from TokageItLab/avoid-near-far
...
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 11:25:24 +01:00
Rémi Verschelde
fbe8a1dfa2
Merge pull request #88269 from MajorMcDoom/live-debug-local-transform
...
Fix an edge case bug in drag-and-drop Node3D spawning.
2024-02-13 11:25:20 +01:00
Rémi Verschelde
76170379b3
Merge pull request #86633 from rune-scape/regression-79882
...
Fix possible crash (use after free) in ScriptTextEditor
2024-02-13 11:24:51 +01:00
Rémi Verschelde
391a8e5327
Merge pull request #85868 from KoBeWi/knowyourtiles
...
Add descriptions for tile properties
2024-02-13 11:24:42 +01:00
Silc Lizard (Tokage) Renew
67e38709fd
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 18:53:21 +09:00
Zi Ye
123dbdb4af
Fixed an edge case bug in drag-and-drop Node3D spawning.
2024-02-12 22:29:31 -06:00
Robert Yevdokimov
f2f3f17de8
Do not commit transforms and handles if no changes were made
2024-02-12 16:20:08 -05:00
Rémi Verschelde
687f840354
Merge pull request #87379 from groud/change_tilemap_editor_to_tilemaplayer_editor
...
Change TileMapEditor to TileMapLayerEditor
2024-02-12 13:34:04 +01:00
Rémi Verschelde
966a3ffbba
Merge pull request #86659 from MajorMcDoom/live-debug-local-transform
...
Improved synchronization of Transforms during live debug sessions
2024-02-12 13:33:35 +01:00
Gilles Roudière
5a999d67ec
Change TileMapEditor to TileMapLayerEditor
2024-02-12 10:11:45 +01:00
Rémi Verschelde
b457a30311
Merge pull request #87628 from YuriSizov/assets-bigger-better-errors
...
Improve error reporting in the asset library and in related types
2024-02-09 18:09:16 +01:00
A Thousand Ships
684752e75b
Replace error checks against `size` with `is_empty`
2024-02-09 12:50:15 +01:00
Rémi Verschelde
a1e1002ba4
Merge pull request #88084 from ckaiser/feature/use_indeterminate_progressbar
...
Use indeterminate progressbars for editor downloads (export templates & assets)
2024-02-09 12:35:53 +01:00
Rémi Verschelde
1774c17b64
Merge pull request #87625 from YuriSizov/editor-lightweight-script-previews
...
Generate script resource preview without parsing
2024-02-09 12:34:36 +01:00
Christian Kaiser
edcb581627
Use indeterminate progressbars for downloads (export templates & assets)
2024-02-08 11:08:11 -03:00
Rémi Verschelde
4a30fe5e7c
Merge pull request #86564 from Giwayume/feature/canvas-item-shader-custom-data
...
Support CUSTOM shader attributes in 2D
2024-02-08 10:53:24 +01:00
Rémi Verschelde
0ebda8e0f4
Merge pull request #65753 from KoBeWi/run_1000000_instances
...
Add a dialog to customize run instances
2024-02-08 10:53:06 +01:00
Rémi Verschelde
eac2091345
Merge pull request #87923 from smix8/meshlib_export_recursive
...
Make MeshLibrary export do recursive depth-search for MeshInstance3D nodes
2024-02-07 11:00:55 +01:00
Robert Yevdokimov
433c22fb6f
Show modifier key functionality on all the editor tools
2024-02-05 15:20:27 -05:00
kobewi
5ab9e50461
Add a dialog to customize run instances
2024-02-05 19:07:31 +01:00
Rémi Verschelde
710c56e6b1
Merge pull request #87948 from ryevdokimov/always-default-to-region-select
...
Fix new region select with selection when over geometry
2024-02-05 14:54:10 +01:00
Rémi Verschelde
64cee8a99f
Merge pull request #87922 from ryevdokimov/all-tools-can-select-regression-2
...
Fix a regression when multiple nodes are selected and drag transform is attempted w/o gizmo
2024-02-05 14:51:48 +01:00
Rémi Verschelde
474d9b7e2e
Merge pull request #87771 from jsjtxietian/region-mismatch
...
Fix `TextureRegionEditor::_pan_callback` deferred called with only one argument
2024-02-05 14:49:45 +01:00
Rémi Verschelde
07655a0e11
Merge pull request #87623 from Calinou/editor-scene-drag-and-drop-tweak-modifier
...
Change scene drag-and-drop modifier behavior in the 2D and 3D editors
2024-02-05 14:49:21 +01:00
Rémi Verschelde
e096be85c4
Merge pull request #87125 from ryevdokimov/fix-removing-preview-nodes-on-ui-cancel
...
Clear drag preview nodes on `NOTIFICATION_DRAG_END`
2024-02-05 14:48:56 +01:00
Robert Yevdokimov
6718a9e4cf
Fix bug that translates node during region select over geometry by always defaulting to region select
2024-02-04 13:34:18 -05:00
jsjtxietian
d06c526fb0
Fix `TextureRegionEditor::_pan_callback` deferred called with only one arg
2024-02-04 12:10:05 +08:00
smix8
4d0c21c131
Make MeshLibrary export do recursive depth-search for MeshInstance3D nodes
...
Makes MeshLibrary export do recursive depth-search for MeshInstance3D nodes.
2024-02-04 04:00:38 +01:00
Robert Yevdokimov
677bd9783a
Fix a regression when multiple nodes are selected. and drag transform is attempted w/o gizmo
2024-02-03 21:45:08 -05:00
Robert Yevdokimov
6aee6c1fdd
Clear drag preview material on `NOTIFICATION_DRAG_END`
2024-02-03 18:56:53 -05:00
Robert Yevdokimov
7a2c386e28
Clear drag preview nodes on `NOTIFICATION_DRAG_END`
2024-02-03 18:50:33 -05:00
Rémi Verschelde
f69aa5e649
Merge pull request #87887 from jtakakura/fix-unintentional-translation-in-animation-tree
...
Fix unintentional translations in AnimationTree
2024-02-03 23:21:24 +01:00
Rémi Verschelde
607a3b2409
Merge pull request #87631 from ryevdokimov/decouple-message-from-framerate
...
Make viewport message dependent on framerate not physics step
2024-02-03 23:19:50 +01:00
Robert Yevdokimov
88b1103b44
Do not use physics process for 2D editor
2024-02-02 21:50:56 -05:00
Junji Takakura
dcf4d82fb5
Fix unintentional translations in AnimationTree
2024-02-03 10:49:04 +09:00
viksl
93334eb6d0
Select nodes on drag and drop in 3D viewport
2024-02-02 23:03:21 +01:00
Robert Yevdokimov
17e9fd06ce
Make viewport message dependent on framerate not physics step
2024-02-02 14:47:30 -05:00
Robbie Cooper
30914c0434
Fix bounding boxes
...
Each time an AABB is rotated, it gets bigger. That means opposite rotations don't cancel out.
The previous implementation repeatedly rotates children AABBs as it climbs up the tree. This often resulted in selection boxes looking bigger than their contents.
This implementation calculates and applies a single final transformation to each AABB before it is merged with the others. After merging, there are no additional rotations, so AABBs remain accurate.
Co-Authored-By: Robert Yevdokimov <105675984+ryevdokimov@users.noreply.github.com>
2024-02-02 07:59:47 -05:00
Rémi Verschelde
7f5079f7c8
Merge pull request #87757 from hakro/vampire-origins
...
Do not reflect the origin lines in a mirror
2024-02-02 12:03:35 +01:00
kobewi
e86750dcaa
Fetch theme editor items from ThemeDB
2024-01-31 13:17:11 +01:00
Rémi Verschelde
a3d50f7714
Merge pull request #87769 from ryevdokimov/fix-all-tools-can-select-regression
...
Fix a regression that breaks gizmo transforming when 'View Gizmos' is off
2024-01-31 10:56:30 +01:00
Robert Yevdokimov
87d97fe7d8
Fix a regression in #86804 that breaks gizmos transforming when 'View Gizmos' is off
2024-01-30 22:31:52 -05:00
Hugo Locurcio
253ad63005
Clarify the FOV setting in the 3D editor camera is vertical FOV
2024-01-31 01:20:21 +01:00
Hakim
59c75b074a
Do not reflect the origin lines in a mirror
2024-01-30 22:57:02 +01:00
Yuri Sizov
28e8a4c0ee
Replace empty list dialog with an integrated panel
2024-01-30 17:52:25 +01:00
Yuri Sizov
4d97c33503
Add a network mode setting to bring the editor offline
...
This PR also adds default font styles for RichTextLabels
in the editor, and improves the introduction dialog
when you don't have any local projects available.
The offline mode is implemented in the asset library
plugin, alongside some code improvements.
2024-01-30 17:52:08 +01:00
Rémi Verschelde
9ab5cedef6
Merge pull request #87712 from akien-mga/revert-gdscript-uid-annotations-for-now
...
Revert "Add UID support to GDScript files" (for now)
2024-01-29 21:34:59 +01:00
kit
a6af442b05
Apply TextEdit IME on most actions
2024-01-29 15:07:19 -05:00
Rémi Verschelde
745f8e112f
Revert "Add UID support to GDScript files"
...
This reverts commit c7f68a27ec .
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
2024-01-29 21:00:26 +01:00
Hugo Locurcio
085629a7c9
Extend minimum/maximum zoom level of TextureRegion editor
...
This also applies a similar change to the SpriteFrames editor.
2024-01-29 14:58:40 +01:00
Rémi Verschelde
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
...
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +01:00
Rémi Verschelde
75d2cf3075
Merge pull request #87616 from ryevdokimov/cancel-transformation-2d
...
Add cancel transformation shortcut to 2D to match 3D
2024-01-29 13:17:33 +01:00
A Thousand Ships
15369fdb1d
Remove unnecessary `this->` expressions
2024-01-29 09:59:18 +01:00
Hugo Locurcio
04a930d9a6
Disable multi-window buttons instead of hiding them when support is unavailable
...
This is more explicit as for why this functionality isn't available
depending on editor settings and current platform.
This also exposes a `EditorInterface.is_multi_window_enabled()` method
so that editor plugins can easily query whether the editor is able and
expected to create multiple windows.
2024-01-27 19:38:39 +01:00
Yuri Sizov
815038962f
Improve error reporting in the asset library and in related types
...
This also makes errors related to asset image loading
verbose-only, because, frankly, users can't do much about
those errors. Spamming them with error messages
about some assets on the frontend being broken
is pointless.
2024-01-26 20:33:22 +01:00
Yuri Sizov
9c919ea285
Generate script resource preview without parsing
2024-01-26 19:04:10 +01:00
Hugo Locurcio
341ca31be8
Change scene drag-and-drop modifier behavior in the 2D and 3D editors
...
Behavior is now consistent across 2D and 3D editors.
- By default, drag-and-dropping adds the scene as a child of the selected
node. Hold Alt when releasing the mouse to add the scene as a child
of the root node, or Shift to add the scene as a sibling of the selected
node.
- To choose a different node type in the 2D editor when drag-and-dropping
a texture resource, hold Alt + Shift (instead of just Alt).
- If multiple nodes are selected, only the first one is taken into account.
This was previously the behavior in 2D, but not in 3D (an error dialog
appeared instead). This makes the UI more forgiving.
2024-01-26 18:05:58 +01:00
Robert Yevdokimov
d9057c8b56
Add cancel transformation shortcut to 2D
2024-01-26 08:30:13 -05:00
Rémi Verschelde
c26a338430
Merge pull request #87356 from jsjtxietian/connection-error
...
Check if the ref shader is valid in visual shader's `_update_option_menu`
2024-01-26 11:44:13 +01:00
jsjtxietian
ff089f8cea
Check is the ref shader valid in visual shader's update_option_menu
2024-01-25 11:54:23 +08:00
Giwayume
bb83c4adec
Add custom shader attributes to Canvas Item Shaders
2024-01-23 14:36:39 -05:00
Adam Scott
12c84836b7
Make the text editor consistent with the script editor
2024-01-23 11:27:00 -05:00
Yuri Sizov
b5f033476c
Merge pull request #87470 from AThousandShips/tile_thread_fix
...
[Editor] Fix threading problems with `TileMap` preview
2024-01-22 20:39:32 +01:00
Yuri Sizov
8f51117445
Merge pull request #87343 from ryevdokimov/fix-2d-top-level-2
...
Update the viewport if CanvasItem top level is changed
2024-01-22 20:39:11 +01:00
Yuri Sizov
feb1157276
Merge pull request #83510 from Geometror/vs-connection-ops
...
Add connection related functionality to VisualShader (deleting, dropping/inserting a node)
2024-01-22 20:38:30 +01:00
Robert Yevdokimov
3bed6b1cb0
Update the viewport if CanvasItem top level is changed
2024-01-22 13:10:54 -05:00
A Thousand Ships
dbcd82ba67
[Editor] Fix threading problems with `TileMap` preview
2024-01-22 13:44:36 +01:00
Hendrik Brucker
f59419bfe0
Add connection-related VisualShader operations
...
- Insert a node in a connection
- Drop an unconnected node on a connection to insert it
- Delete a connection
2024-01-19 11:38:59 +01:00
Robert Yevdokimov
ecc8493e17
Remove unused prev_rot variable
2024-01-18 11:24:22 -05:00
Rémi Verschelde
33f3511241
Merge pull request #87293 from YuriSizov/editor-theme-a-rehashed-follow-up
...
Improve editor theme generation after the refactor
2024-01-18 16:34:50 +01:00
Rémi Verschelde
d3003c48b3
Merge pull request #67132 from KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it-
...
Add UID support to GDScript files
2024-01-18 16:33:14 +01:00
kobewi
c7f68a27ec
Add UID support to GDScript files
2024-01-17 22:30:56 +01:00
Yuri Sizov
c027aecc2e
Merge pull request #86676 from rune-scape/sparse-script-reload
...
GDScript: Hot-reload changed scripts only
2024-01-17 18:52:54 +01:00
Yuri Sizov
45eedba1fa
Improve editor theme generation after the refactor
2024-01-17 15:16:53 +01:00
Yuri Sizov
635b8a1474
Split theme generation logic into several subroutines
...
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.
Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.
In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.
This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
Rémi Verschelde
039379d272
Merge pull request #84193 from kitbdev/dock-manager-extract
...
Extract `EditorDockManager` from `EditorNode`
2024-01-16 10:35:11 +01:00
kit
2323f040e9
Extract editor dock manager
2024-01-15 15:15:42 -05:00
Rémi Verschelde
fe76b61743
Merge pull request #87160 from kleonc/tilemap-fix-debug-drawing-truncations-to-ints
...
Fix some `TileMap` debug drawing truncating to ints
2024-01-15 13:31:04 +01:00
Rémi Verschelde
fa3477f2be
Merge pull request #86878 from YeldhamDev/tabcontainer_pot_generation
...
Parse the names of children of `TabContainer`s on POT generation
2024-01-15 13:25:49 +01:00
kleonc
baa5504700
Fix some TileMap debug drawing truncating to ints
2024-01-14 02:02:46 +01:00
Rémi Verschelde
a3765274fb
Merge pull request #87048 from Mickeon/scene-string-names-are-a-mess
...
Use SceneStringNames in Skeleton3DEditorPlugin
2024-01-11 17:42:14 +01:00
Rémi Verschelde
880c12004b
Merge pull request #86881 from AThousandShips/gizmo_fix
...
[Editor] Add missing virtual bind to `EditorNode3DGizmo(Plugin)`
2024-01-11 17:39:48 +01:00
Rémi Verschelde
48936690af
Merge pull request #86736 from Illauriel/rename-add-lib
...
Add icon, tooltip, rename button in AnimationLibraryEditor for clarity.
2024-01-11 17:38:59 +01:00
Rémi Verschelde
9e967ebdf9
Merge pull request #86583 from reduz/lightmapper-dda-fix
...
Tiny fix for lightmapper DDA
2024-01-11 17:37:45 +01:00
Rémi Verschelde
087a397477
Merge pull request #86301 from KoBeWi/deferred_cleanup
...
Update deferred calls to use Callables
2024-01-11 17:36:29 +01:00
Illauriel
184b74c93f
Add icon, tooltip, rename button in AnimationLibraryEditor for clarity.
2024-01-11 05:50:29 +01:00
Micky
3354273c9f
Use SceneStringNames in Skeleton3DEditorPlugin
2024-01-10 18:17:58 +01:00
aXu-AP
5bdb5f5c37
Improve UV editor zoom behavior
...
Scrolling focuses towards mouse like in canvas editor.
Center view on opening.
Adjust scroll area to include polygons larger than texture.
Change zoom slider to EditorZoomWidget.
2024-01-10 13:27:20 +02:00
Juan Linietsky
caef2be758
Tiny fix for lightmapper DDA
...
- Ensures only one axis advances at a time
- This fixes extremely corner cases where the DDA may skip over geometry
2024-01-10 10:39:56 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Sofox
3614aa971d
Made tooltip on TileSet Paint Button give more information when disabled.
2024-01-09 15:09:19 +00:00
Rémi Verschelde
ee42c9e7ef
Merge pull request #82498 from aXu-AP/docs-double-navigation
...
Fix opening docs writing extra navigation history
2024-01-09 15:30:38 +01:00
SaracenOne
cb8a743e18
Fix behavior of 'Editable Children' toggle.
...
Prevents losing nodes owned by the edited scene when
toggling editable_children off on an instanced scene,
and makes the toggle compatible with undo-redo.
2024-01-09 13:34:38 +01:00
Silc Lizard (Tokage) Renew
a51958a2a0
Remove Object pointer/solve types conflict in AnimationTrackCache
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-08 21:48:19 +09:00
Rémi Verschelde
35da70f953
Merge pull request #86933 from alessandrofama/drop-texture-scene-history
...
Fix 2D viewport texture drop issue with global history registration
2024-01-08 12:01:55 +01:00
Rémi Verschelde
4aa8e87e50
Merge pull request #86805 from ryevdokimov/clear-nodes-on-ui-cancel-2d
...
Allow `ui_cancel` to unselect all nodes in all edit modes in 2D, matching 3D behavior
2024-01-08 11:56:43 +01:00
Rémi Verschelde
f46465ba14
Merge pull request #86804 from ryevdokimov/allow-all-modes-to-select
...
Allow all editor modes to select nodes in the viewport
2024-01-08 11:56:19 +01:00
Rémi Verschelde
dd487ebb0b
Merge pull request #86568 from jsjtxietian/fix-infinite-loop-tile
...
Fix potential infinite loop when calculating tile editor zoom level
2024-01-08 11:55:30 +01:00
Rémi Verschelde
53d47a389c
Merge pull request #86542 from KoBeWi/merge_split_action
...
Improve Path2D editing
2024-01-08 11:54:42 +01:00
Alessandro Famà
4ea5c1ff2a
Fix issue with dropping texture in 2D viewport causing incorrect global history registration
...
This fix addresses an issue where dropping a texture onto the 2D viewport in a scene without a root node incorrectly registers the action in the global history. Subsequently undoing and redoing this action in another scene results in the newly created node replacing the root of the current scene.
Fixes #86826 .
2024-01-07 21:54:44 +01:00
A Thousand Ships
c794ce195b
[Editor] Add missing virtual bind to `EditorNode3DGizmo(Plugin)`
...
Method `_begin_handle_action` was not bound
2024-01-06 17:27:50 +01:00
Michael Alexsander
7b8c0b3a34
Parse the names of children of `TabContainer`s on POT generation
2024-01-06 10:52:44 -03:00
jsjtxietian
42c672afd6
Fix infinite loop when calculating zoom level if tile_size * max_zoom < default
2024-01-06 16:11:26 +08:00
Zi Ye
97f9dbda81
Changed various editor transform operations to be committed in local instead of global space. Fixed a couple of bugs when syncing transforms to debug instance.
2024-01-05 17:07:20 -06:00
kobewi
f41b2c2ec4
Improve Path2D editing
2024-01-05 22:34:31 +01:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Robert Yevdokimov
ff03a32323
Allow all editor modes to select nodes in the viewport
2024-01-05 10:07:34 -05:00
Rémi Verschelde
dc5b57ea44
Merge pull request #81325 from AttackButton/path_2d_editor_plugin-clear_points
...
Add a button to clear curve points in the Path2D editor
2024-01-05 12:02:41 +01:00
Rémi Verschelde
d1b7c60afc
Merge pull request #77712 from nklbdev/Fix_lossless_formats_in_PortableCompressedTexture2D
...
Fix lossless formats in PortableCompressedTexture2D
2024-01-05 12:02:14 +01:00
Rémi Verschelde
85e999dc5e
Merge pull request #64908 from marcinn/lightmap-gi-texel-scale
...
Add `texel_scale` property to LightmapGI
2024-01-05 12:01:49 +01:00
Robert Yevdokimov
06f586e890
Allow ui_cancel to unselect all nodes in 2D, matching 3D behavior
2024-01-04 18:07:31 -05:00
nklbdev
47d991678d
Fix lossless formats in PortableCompressedTexture2D
...
Update scene/resources/portable_compressed_texture.cpp
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-05 00:11:01 +05:00
Aaron Franke
9753a35c76
Move 3D scene import classes to their own folder
2024-01-04 11:02:49 -06:00
Rémi Verschelde
8a716e3275
Merge pull request #84353 from aXu-AP/sprite2d-plugin-zoom
...
Add zoom controls to Sprite2DPlugin converter preview
2024-01-04 16:40:05 +01:00
Rémi Verschelde
0cdb530c18
Merge pull request #83895 from clayjohn/origin-lines
...
Use screen-aligned quads for origin lines to avoid issues on NVidia
2024-01-04 16:39:42 +01:00
Rémi Verschelde
5eb22a317d
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
...
Add automatic translation of items to ItemList
2024-01-04 16:39:36 +01:00
Rémi Verschelde
52ab49ef1a
Merge pull request #83503 from YeldhamDev/grab_all_the_animations!
...
Allow to load multiple animation/libraries at once in the animation manager
2024-01-04 16:39:30 +01:00
Rémi Verschelde
0010096356
Merge pull request #83109 from Calinou/script-editor-add-more-toggle-comment-shortcuts
...
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
2024-01-04 16:39:10 +01:00
Rémi Verschelde
0d18a945ca
Merge pull request #76654 from TokageItLab/improve-filter-util-anim-tree
...
Add useful functions to `FilterEdit` in `AnimationBlendTreeEditor`
2024-01-04 16:38:32 +01:00
Rémi Verschelde
94f72a72e2
Merge pull request #75005 from J-N-Witch/add-position-gizmo-toggle
...
Add option to toggle visibility of Position gizmos in 2D editor, organize existing options
2024-01-04 16:38:24 +01:00
Marcin Nowak
eea2ad4019
Add texel_scale property to LightmapGI
2024-01-04 16:24:19 +01:00
Rémi Verschelde
3224e47af8
Merge pull request #84486 from jcostello/jcostello/fix-material-drop
...
Fix material drag and drop
2024-01-04 14:25:52 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde
11d1844e66
Merge pull request #85869 from paulloz/dotnet-warning-out-of-date-properties
...
.NET: Add a warning in the inspector when properties might be out of sync
2024-01-03 15:43:41 +01:00
Rémi Verschelde
54b83bd705
Merge pull request #84788 from Cerno-b/fix-description-text-for-grouping
...
Clarify description of "group selected"
2024-01-03 15:42:50 +01:00
rune-scape
cde478bda6
Hot-reload only changed scripts
2024-01-02 17:56:52 -08:00
kobewi
779d731940
Handle built-in shaders when closing scene
2024-01-02 16:00:11 +01:00
kobewi
e534dbf53a
Improve saving of built-in resources
2024-01-02 12:53:18 +01:00
kobewi
3058a4926f
Tweak tile atlas help label positions
2024-01-01 20:35:50 +01:00
rune-scape
a938359cd3
Fix possible crash in script_text_editor.cpp
2023-12-29 18:05:58 -08:00
Michael Alexsander
27ec41e91a
Fix scene parser reading non-built-in scripts for POT generation
2023-12-23 21:18:18 -03:00
Paul Joannon
0818d015db
Inspector ⚠️ when C# props might be out of date
2023-12-22 23:27:13 +01:00
Yuri Sizov
980d55198c
Merge pull request #86387 from jsjtxietian/fix-tile-set
...
Fix `UndoRedo history mismatch` when creating a new tile atlas
2023-12-22 17:20:08 +01:00
jsjtxietian
1217d7d678
Fix `UndoRedo history mismatch` when creating a new tile atlas
2023-12-21 17:25:21 +08:00
Yuri Sizov
bc6be82f5a
Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
...
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
kobewi
ce9fec9b4d
Improve editing of min/max particle properties
2023-12-20 06:31:08 +01:00
Yuri Sizov
e18659c69d
Merge pull request #82872 from jsjtxietian/require-editor-restart-when-csg-gizmo-color-changed
...
Prompt require editor restart to user when gizmo color changed
2023-12-19 20:32:20 +01:00
Yuri Sizov
ead01d0ca4
Merge pull request #85527 from fdstevex/master
...
Fix for Cmd-B shortcut conflict on macOS
2023-12-19 13:02:14 +01:00
Yuri Sizov
1c0be67952
Merge pull request #85452 from BleedingXiko/tilemap-typo
...
Fix typo in TileMap editor tooltip
2023-12-19 13:01:54 +01:00
Yuri Sizov
2552821f06
Merge pull request #86044 from KoBeWi/can't_add_if_can't_add
...
Disable Add button when theme item name is empty
2023-12-18 18:18:09 +01:00
Yuri Sizov
5c848174a3
Merge pull request #84898 from rsubtil/fix_dap_breakpoints_closed_scripts
...
Fix DAP breakpoints being cleared on closed scripts
2023-12-18 18:17:46 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Yuri Sizov
a6c0c90058
Merge pull request #86066 from Wiltof/tilemapPaint
...
Reset TileMap editor `drag_type` when the toolbar mode is not selected
2023-12-14 17:38:57 +01:00
Yuri Sizov
203c8c31d3
Merge pull request #85071 from Rubonnek/remove-unnecessary-assignments
...
Remove unnecessary assignments
2023-12-14 17:38:34 +01:00
Yuri Sizov
8f33b4e83a
Merge pull request #84882 from Invertex/select-instance-asset
...
Add "Show In FileSystem" to the Scene hierarchy right-click
2023-12-14 17:38:30 +01:00
Yuri Sizov
daddb2b469
Merge pull request #84754 from aXu-AP/sprite2dplugin-rect
...
Add region rect and frames support to Sprite2DPlugin converter
2023-12-14 17:38:19 +01:00
wilto938
5a3de5bc30
Reset TileMap editor `drag_type` by using the _stop_dragging() function when the toolbar mode is not selected
2023-12-14 11:58:36 +01:00
Gilles Roudière
18fe0bd025
Move tile transforms handling cache to TileData
2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Invertex
59787683a9
Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
...
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)
Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2023-12-13 07:43:39 -08:00
Rémi Verschelde
8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
...
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +01:00
kobewi
fc7cdd5c37
Disable Add button when theme item name is empty
2023-12-11 22:21:36 +01:00
Yuri Sizov
959c166866
Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize
...
Optimize Path3DGizmo Mesh Generation
2023-12-08 16:58:08 +01:00
kobewi
6e31c413b6
Add descriptions for tile properties
2023-12-07 16:57:34 +01:00
aXu-AP
a45db4d616
Fix UV editor not showing polygon correctly
...
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.
2023-12-05 15:38:37 +02:00
Rémi Verschelde
6c7d43822c
Merge pull request #85745 from YuriSizov/editor-obey-the-theme-overlord
...
Fix theme application in various editor dialogs
2023-12-04 23:21:58 +01:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
...
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +01:00
Rémi Verschelde
beb454c528
Merge pull request #85087 from EelisOtsamo/fix_scene_drag_and_drop
...
Fix issue with 3D scene drag and drop preview node
2023-12-04 23:10:01 +01:00
Rémi Verschelde
764e468066
Merge pull request #84933 from Calinou/editor-multimesh-populate-fix-node-type
...
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
2023-12-04 23:07:58 +01:00
Rémi Verschelde
8b3ba7e074
Merge pull request #84891 from Calinou/editor-particles-generate-emission-fix-node-type
...
Only allow MeshInstance3D-based nodes in particles emission shape node selector
2023-12-04 23:07:34 +01:00
Rémi Verschelde
9108445eca
Merge pull request #84076 from aXu-AP/uv-editor-texture-transform
...
Fix UV editor not using texture transform
2023-12-04 23:00:54 +01:00
Yuri Sizov
01888ae7ab
Fix theme application in various editor dialogs
...
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.
2023-12-04 13:18:48 +01:00
Steve Tibbett
86db8f921d
Fix for Cmd-B conflict on macOS, where Cmd-B was
...
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05:00
BleedingXiko
971b0a7bda
fix typo in tile_map_editor.cpp
2023-11-27 16:40:38 -08:00
Aaron Franke
a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name
2023-11-26 22:59:01 -06:00
oeelis
834ccb9698
Fix issue with 3D scene drag and drop preview node
2023-11-24 15:44:51 +02:00
Yuri Sizov
bc1949d797
Correctly check scripts that must inherit `EditorPlugin`
...
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +01:00
Rémi Verschelde
a34814b0b6
Merge pull request #85205 from jsjtxietian/grab-focus
...
Set some window in visual shader editor to be exclusive
2023-11-22 13:59:50 +01:00
Rémi Verschelde
ca245295ae
Merge pull request #85193 from TokageItLab/fix-seek-mixer
...
Fix seeking bug in AnimationPlayerEditor
2023-11-22 13:59:45 +01:00
jsjtxietian
b7ba667dcf
Set some window in visual shader editor to be exclusive
2023-11-22 17:58:18 +08:00
Silc Lizard (Tokage) Renew
21833f3dfd
Fix seeking bug in AnimationPlayerEditor
2023-11-22 06:43:26 +09:00
Hugo Locurcio
c6a16b176e
Only allow MeshInstance3D-based nodes in particles emission shape node selector
...
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
2023-11-19 11:22:51 +01:00
Pedro J. Estébanez
fe4850c0d0
Use mingw-std-threads in MinGW builds
2023-11-18 11:56:05 +01:00
Yuri Sizov
0f5a14c397
Make script/shader editor save shortcuts unique again
2023-11-15 14:10:12 +01:00
Hugo Locurcio
dc3194f668
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
2023-11-15 12:24:11 +01:00
Ricardo Subtil
760ff2e933
Fix DAP breakpoints being cleared on closed scripts
2023-11-14 16:51:38 +00:00
kobewi
da55c06322
Save scene when saving built-in resource
2023-11-13 16:34:17 +01:00
Rémi Verschelde
3e23755d24
Merge pull request #83430 from RandomShaper/fix_onion_audio
...
Fix onion skinning internals activating audio/method/animation tracks
2023-11-12 16:56:30 +01:00
Cerno_b
9a684cf199
Clarify description of "group selected"
2023-11-12 10:53:44 +01:00
aXu-AP
cb88108d9f
Readd rect support for Sprite2DPlugin converter
...
Readds support for rects for sprite to mesh/polygon converter.
Adds support for conversion from animation frame.
Fixes converter not taking offset into account.
Fixes 1 pixel shift when converting flipped sprites.
2023-11-12 11:49:37 +02:00
Rémi Verschelde
4e867b5835
Merge pull request #84762 from timothyqiu/snap-mode
...
Fix texture region editor not selecting restored snap mode
2023-11-11 23:06:24 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
...
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Haoyu Qiu
64fb22e17b
Fix texture region editor not selecting restored snap mode
2023-11-12 01:41:51 +08:00
Yuri Sizov
e90ea87b42
Abort threaded preview generators on exit
2023-11-10 15:31:43 +01:00
Rémi Verschelde
dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
...
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Rémi Verschelde
38c3e5aae9
Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
...
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-09 20:04:40 +02:00
Rémi Verschelde
d1381bbca2
Merge pull request #84625 from KoBeWi/yeet_sprite_node()
...
Remove AnimatedSprite pointer when clearing editor
2023-11-09 11:48:12 +01:00
Rémi Verschelde
26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
...
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
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
aXu-AP
1ee4aa11b6
Add zoom controls to Sprite2DPlugin
2023-11-07 20:30:33 +02:00
Michael Alexsander
0f37ee8e9a
Allow to load multiple animation/libraries at once in the animation manager
2023-11-07 11:00:45 -03:00
kobewi
01bd005a1f
Change AnimationLibEditor's mixer to actual Mixer
2023-11-06 23:27:44 +01:00
Juan Manuel Costello
aa2522edcd
Fix material drop
2023-11-06 12:57:19 -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
jsjtxietian
155d738163
Fix _get_debug_tooltip will crash if tooltip string is too large
2023-11-06 20:09:17 +08:00
Yuri Sizov
111a5e90da
Prevent crash and error spam related to Sprite2D with a region
2023-11-04 13:03:28 +01:00
A Thousand Ships
2cb94fa362
Fix inverted condition when unwrapping lightmap
2023-11-02 18:33:58 +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
Yuri Sizov
60355889f8
Avoid popping up dialogs excessively in the Animation editor
2023-10-31 11:54:02 +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
Saracen
d9950e2370
Fix AnimationTimeline time not updating when dragged.
2023-10-30 01:59:54 +00:00
kobewi
b3e829eaf3
Fix slow raycast editing
2023-10-29 22:05:32 +01: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
Jonathan Nicholl
1419eefcc6
Allow changing keys for imported AnimationLibraries in the editor
2023-10-28 08:35:01 -04: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
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
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
kleonc
74a35526e0
Fix some Node3DEditor snapping issues
2023-10-27 13:00:49 +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
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
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
J. N. Witch
d832f62a01
Introduce a "Gizmos" submenu for toggling visibility of gizmos in 2D editor
...
instead of standalone checkboxes like "Show Group And Lock Gizmos".
Add option to toggle visibility of Position gizmos.
2023-10-25 12:41:37 +00:00
clayjohn
5591f289d7
Uses screen-aligned quads for origin lines to avoid issues on NVidia
...
While we are add it, use alpha-antialised lines to make them look nice
2023-10-24 18:02:36 +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
DennisManaa
1a1c542836
Implement automatic translation for ItemList
2023-10-23 10:14:08 +02:00
Haoyu Qiu
920e53cacb
Readd close button for nodes in AnimationNodeBlendTree editor
2023-10-23 11:11:51 +08:00
OppositeNor
8f26cdcaef
Fix tileset out of screen
2023-10-22 13:39:14 -04: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
BlueCube3310
67a3ef6aca
Optimize Path3DGizmo mesh generation
2023-10-21 19:03:57 +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
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
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
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
Saracen
65016c393f
Automatic reconnection of nodes in blend tree.
2023-10-18 03:19:02 +01: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
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
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
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
Michael Alexsander
2102d09812
Disable "Edit Transitions..." item if no animations are present
2023-10-15 12:28:04 -03: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
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
kobewi
291be2c66c
Swap TileMap and TileSet
2023-10-13 09:55:24 +02:00
Haoyu Qiu
56f47cc129
Disable port name auto translation in Visual Shader editor
2023-10-13 11:07:05 +08: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
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
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
Hugo Locurcio
936ad63709
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
...
This complements the existing Ctrl + K and Ctrl + / shortcuts.
2023-10-10 17:18:38 +02: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
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
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
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
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
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
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
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
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
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
kobewi
5d85551ab3
Fix unsaved changes not getting discarded
2023-10-05 14:03:02 +02:00
kobewi
09b30be86d
Add vararg call() method to C++ Callable
2023-10-05 11:35:29 +02:00
Michael Alexsander
34e6b86134
Show doc tooltips when hovering properties in the theme editor
2023-10-04 11:53:08 -03:00
kleonc
6f941cd8e3
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-04 15:44:34 +02:00
Rémi Verschelde
5680d729f2
Merge pull request #80939 from RandomShaper/fix_onion
...
Revive onion skinning
2023-10-04 15:33:25 +02:00
Rémi Verschelde
f5696c311c
Merge pull request #82728 from KoBeWi/king_icong
...
Fix node icons appearing too big in some cases
2023-10-03 17:27:53 +02:00
Pedro J. Estébanez
071d8e5c9c
Revive onion skinning
...
This also reverts commit 6bbc3cbf04 .
2023-10-03 16:52:25 +02:00
kobewi
52b62921b0
Fix node icons appearing too big in some cases
2023-10-03 15:56:13 +02:00
AttackButton
93cccda827
Add a button to clear curve points in the Path2D editor
2023-10-03 09:33:38 -03:00
Yaohua Xiong
ce4f64524f
Improve Path3D gizmo usability
...
Allow change tilt gizmo color and size in editor setting
2023-10-03 09:43:24 +08:00
Rémi Verschelde
57a6813bb8
Merge pull request #81582 from YuriSizov/graph-toolbarniceness
...
Make `GraphEdit` toolbar more customizable
2023-10-02 15:18:42 +02:00
Rémi Verschelde
2d6cee48f6
Merge pull request #80555 from GrammAcc/fix-80507
...
AssetLib: Fix long plugin names breaking the UI
2023-10-02 15:18:38 +02:00
Yuri Sizov
b07c664af9
Make `GraphEdit` toolbar more customizable
...
Also adds a semi-transparent background
to make the toolbar stand out in front of nodes.
2023-10-02 13:43:08 +02:00
Rémi Verschelde
1d6f37f80c
Merge pull request #82573 from Chaosus/fix_animationtree_crash
...
Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
2023-10-02 13:16:35 +02:00
Rémi Verschelde
bc118b36ac
Merge pull request #82370 from YuriSizov/graphs-request-rename-close-delete-please
...
Rename close requests to delete requests in `GraphEdit`
2023-10-02 13:16:28 +02:00
GrammAcc
d63a88bef1
AssetLib: Fix long plugin names breaking the UI
...
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.
I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.
I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.
I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.
2023-09-30 18:16:39 -05:00
Yuri Rubinsky
8980211c08
Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
2023-09-30 09:53:12 +03:00
Silc Lizard (Tokage) Renew
afe25937e4
Add useful functions to FilterEdit in AnimationBlendTreeEditor
2023-09-30 03:01:16 +09:00
Rémi Verschelde
55ba576c58
Merge pull request #81688 from Chaosus/vs_custom_dropdown_list_props
...
Implement drop-down list properties to the custom visual shader nodes
2023-09-29 19:45:54 +02:00
Rémi Verschelde
94377f50b2
Merge pull request #80813 from TokageItLab/rework-animation-manager
...
Implement `AnimationMixer` as a base class of `AnimationPlayer` and `AnimationTree`
2023-09-29 10:20:16 +02:00
Yuri Roubinski
4575cc0c6f
Implement drop-down list properties to the custom visual shader nodes
2023-09-29 10:55:05 +03:00
Silc Lizard (Tokage) Renew
1b95827d3e
Implement AnimationManager the base class of AnimationPlayer/Tree
2023-09-29 08:23:57 +09:00
aXu-AP
0506d6f192
Fix opening docs writing extra navigation history
...
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.
2023-09-29 00:03:18 +03:00
Yuri Sizov
0b7ff759f9
Merge pull request #82465 from smix8/tilemap_navmesh_bake_4.x
...
Update TileMap to use new navigation polygon baking
2023-09-28 20:04:33 +02:00
Yuri Sizov
7c23d4082b
Merge pull request #82391 from warriormaster12/improve-skeleton_ik3D
...
Fix `SkeletonIK3D` editor preview when changing active node
2023-09-28 20:04:30 +02:00
Yuri Sizov
f2ab40cd4d
Merge pull request #81708 from JoNax97/drop-resource-with-variable
...
Create a field when Ctrl-dropping a resource into the code editor
2023-09-28 20:04:07 +02:00
smix8
27267b62cb
Update TileMap to use new navigation polygon baking
...
Updates TileMap to use new navigation polygon baking.
2023-09-28 10:35:47 +02:00
warriormaster12
ddf93f3f59
Make SkeletonIk3D node usable
2023-09-28 07:38:50 +03:00
Joaquin Muñiz
a93c19f373
create a constant when dropping a resource into the code editor while CRTL is held, and fix some inconsistencies
2023-09-27 14:37:00 -03:00
Yuri Sizov
5e3229b7ed
Fix leak when closing theme editor preview tabs
2023-09-27 15:29:20 +02:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
...
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
kobewi
e30e84d77a
Fix submenus deleted accidentally
2023-09-26 16:47:33 +02:00
Yuri Sizov
378ab38b1f
Rename close requests to delete requests in `GraphEdit`
2023-09-26 16:41:39 +02:00
Rémi Verschelde
2c8c7b95aa
Merge pull request #82313 from AThousandShips/null_check_servers
...
[Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-26 13:45:31 +02:00
Rémi Verschelde
10cf3d0524
Merge pull request #81843 from TokageItLab/improve-automapping
...
Improve retarget auto-mapping algorithm
2023-09-26 08:22:11 +02:00
Rémi Verschelde
7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
...
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
PucklaMotzer09
d2e651f403
Add Duplicate Lines shortcut to CodeTextEditor
...
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
smix8
0ee7e3102b
Add 2D navigation mesh baking
...
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
A Thousand Ships
fdd3d36c6d
[Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-25 18:45:30 +02:00
Rémi Verschelde
fcbc50ec14
Merge pull request #82302 from MewPurPur/alt-font-icon
...
Add Font and Mesh icons that aren't grayed out
2023-09-25 18:38:29 +02:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
...
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
MewPurPur
fb030beac5
Add white Font and Mesh icons
2023-09-25 17:29:14 +03:00
Dario
057367bf4f
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
...
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
Rémi Verschelde
37d5e1e0e3
Merge pull request #82210 from YuriSizov/editor-animation-uiux-cleanup
...
Fix theme access and improve UX in AnimationTree editor
2023-09-24 23:36:33 +02:00
Rémi Verschelde
810021c7cd
Merge pull request #82181 from Chaosus/curve_fix_crash
...
Fix CurveEdit crash when dragging the curve if it is null
2023-09-24 23:34:58 +02:00
Rémi Verschelde
04317bc784
Merge pull request #82171 from timothyqiu/sep-leak
...
Fix leak when calling `remove_control_from_menu_panel`
2023-09-24 23:34:35 +02:00
Rémi Verschelde
6d8b33f5d4
Merge pull request #82131 from jsjtxietian/fix-skeleton-editor-deleted-in-wrong-container
...
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 23:33:42 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
...
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
jsjtxietian
2679118d51
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 11:28:46 +08:00
Haoyu Qiu
2d67ce4e60
Fix leak when calling remove_control_from_menu_panel
2023-09-24 08:35:45 +08:00
Yuri Sizov
b351cffddf
Fix theme access and improve UX in AnimationTree editor
2023-09-23 21:47:27 +02:00
Yuri Rubinsky
6d9e4e9704
Fix CurveEdit crash when dragging the curve if it is null
2023-09-23 11:44:54 +03:00
DennisManaa
f248420a2b
made visual shader ports expandable by default if there is only one output port and it's of any vector type
...
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
MewPurPur
7b86969719
Overhaul the Gradient Editor
2023-09-21 15:55:28 +03:00
kobewi
07a00cf822
Don't allow transforming scene tiles
2023-09-20 14:10:21 +02:00
Rémi Verschelde
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
...
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde
b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
...
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
kobewi
3f43044a40
Make UIDs clickable in the script editor
2023-09-19 15:59:03 +02:00
Gilles Roudière
83f1e31483
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-19 15:12:03 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
the-sink
524e7acfc3
Set `open_dominant_script_on_scene_change` to off by default
2023-09-19 01:22:29 -07:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
...
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
...
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
...
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Silc Lizard (Tokage) Renew
c1c4a09527
Improve retarget auto-mapping algorithm
2023-09-18 12:51:15 +09:00
MewPurPur
c094631ba0
Fix grayed out paint icons
2023-09-17 19:23:28 +03:00
A Thousand Ships
8d7a2c615c
Make editor camera speed indicator use `m/s` and `m`
2023-09-17 18:04:58 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
...
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00
Rémi Verschelde
cdef53df1e
Merge pull request #81705 from AThousandShips/null_check_editor
...
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-16 21:24:53 +02:00
Rémi Verschelde
91dee347ad
Merge pull request #81609 from AThousandShips/gizmo_fix
...
Fix local 3D translation editing
2023-09-16 21:24:06 +02:00
Rémi Verschelde
7ca579cb27
Merge pull request #81554 from Calinou/editor-gizmos-add-decal
...
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
2023-09-16 21:22:54 +02:00
kobewi
447a4b6bcf
Fix rotated 2D movement gizmo
2023-09-16 19:26:20 +02:00
A Thousand Ships
dae27d1311
Fix local 3D translation editing
2023-09-16 11:11:54 +02:00
Hugo Locurcio
5345cf3e75
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
...
- Tweak CPUParticles3D editor gizmo icon to use the same outline
color as other gizmo icons. Make the internal icon easier to see
by using an orange color instead of gray.
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-09-15 20:44:45 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
2febb246e1
Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
...
Hide animation toolbar above the viewport correctly when switching scenes
2023-09-15 19:48:23 +02:00
Yuri Sizov
df6cd37a69
Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
...
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
Yuri Sizov
508a758eab
Merge pull request #75303 from Calinou/3d-gizmos-only-selected
...
Show visual-oriented 3D node gizmos only when selected
2023-09-15 19:48:10 +02:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
jsjtxietian
0113e6961d
Hide animation tool correctly when switching scenes
2023-09-15 10:48:26 +08:00
Hugo Locurcio
1024ba0c0d
Show visual-oriented 3D node gizmos only when selected
...
Affected nodes:
- DirectionalLight3D, OmniLight3D, SpotLight3D
- ReflectionProbe
- LightmapGI
- VoxelGI
- GPUParticles3D (but not collision/attractor nodes)
- AudioStreamPlayer3D
This reduces visual clutter in the editor with 3D scenes.
2023-09-15 01:59:49 +02:00
Rémi Verschelde
5a74ce9a56
Merge pull request #81557 from YuriSizov/editor-toolbars-divided
...
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-14 23:40:33 +02:00
Yuri Sizov
f542dffb39
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-13 13:04:55 +02:00
kobewi
015953a3d9
Add helper for 3D gizmos and unify box
2023-09-12 18:08:02 +02:00
Haoyu Qiu
b8b0339549
Improve undo action names
...
* Avoid concating strings manually for better i18n and easy l10n
* Use `vformat` when possible
* Use separate strings if the changing part is only a few hardcoded strings
* Don't put a period at the end of the name
2023-09-12 18:53:50 +08:00
Rémi Verschelde
3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
...
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
...
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
John Gabriel
984eb96c43
Allow configuring primary line X/Ys separately
2023-09-12 10:24:07 +01:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
...
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Jean-Michel Bernard
67dce301aa
Add code region folding to CodeEdit
2023-09-11 18:36:40 +02:00
Dario
7dfb854556
Propagate error correctly when max texture size for lightmaps is too small.
...
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453 .
2023-09-11 09:14:39 -03:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Yuri Sizov
639aba4ee1
Improve handling of archives when installing assets
2023-09-08 20:45:49 +02:00
Hendrik Brucker
5afe78bd9c
Clean up/refactor GraphNode and make it more flexible
...
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
074931a3aa
Merge pull request #81410 from bitsawer/fix_shader_include_reload
...
Fix shader text editor include file reloading
2023-09-07 16:32:54 +02:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
...
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
bitsawer
d50595c0e9
Fix shader text editor include file reloading
2023-09-07 14:35:26 +03:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
fc01e2e7f6
Add a theme preview switcher to the 2D viewport
...
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +02:00
Yuri Sizov
512182f147
Add theme contexts to various parts of the editor
...
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.
- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.
Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.
This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +02:00
Yuri Sizov
3c63dce3cd
Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
...
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
Fredia Huya-Kouadio
8cc7739197
Godot Android plugin re-architecture
2023-09-03 17:04:10 -07:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
07035466e8
Merge pull request #81189 from jsjtxietian/Fix-press-space-when-enter-editor-layout-name-will-confirm-save
...
Use `ui_text_submit` instead of `ui_accept` to confirm and close text prompts
2023-09-02 14:30:12 +02:00
jsjtxietian
ba41910967
Use ui_text_submit to confirm and close text prompts
...
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor
2023-09-01 12:23:30 +08:00
jsjtxietian
cfd7dfd985
Fix a crash when built-in script is not saved and have syntax error
...
When built-in script is not saved, it has empty path, and origin
code assumes error with empty path is a depended_error but that's
not always the case.
Also add protection before access list index 0.
2023-08-30 17:45:58 +08:00
Rémi Verschelde
3417f34a37
Merge pull request #80529 from KoBeWi/unfortunate_fix_is_unfortunate 🤦♂️
...
Fix TileSet not disappearing on deselecting TileMap
2023-08-29 12:43:10 +02:00
Rémi Verschelde
1ffc24e19e
Merge pull request #80124 from Calinou/3d-editor-frame-time-initialize-fps
...
Initialize View Frame Time estimates to match 120 FPS
2023-08-29 12:42:16 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
...
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
Hugo Locurcio
15b31f0891
Initialize View Frame Time estimates to match 120 FPS
...
This prevents the estimation from being extremely high (close to 100,000 FPS)
until enough time has passed to display an accurate estimation.
2023-08-28 17:25:56 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
Rémi Verschelde
6636ccc3ea
Merge pull request #80943 from rakkarage/tileset-atlas-merge-rgb8
...
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-28 15:04:16 +02:00
Rémi Verschelde
bcbe1fd5e0
Merge pull request #80754 from KoBeWi/TileSetImprovementsCollectionSource
...
Improve scene tiles workflow
2023-08-28 15:03:26 +02:00
Rémi Verschelde
a7ded904de
Merge pull request #79678 from thiagola92/auto_create_tilesets_for_multiple_atlas
...
Auto create tile for multiple atlases
2023-08-28 15:02:37 +02:00
Rémi Verschelde
2d42357464
Merge pull request #77316 from rakkarage/tileset_atlas_merge
...
Include animation frames in tile atlas merge.
2023-08-28 15:01:24 +02:00
Juan Linietsky
407b16ab00
Debug CanvasItem redraw
...
I wanted to add this tool for years and always forget. This command line option:
```
$ godot.exe -e --debug-canvas-item-redraw
```
Allows to see when a canvas item is redrawn. This helps find out if something
in the UI is refreshing in a way it should not. Examples as such:
* Signals causing more of the UI to redraw.
* Container resizing causes more UI elements to redraw.
* Something using a timer is redrawing all time time, which can go unnoticed.
To my surprise, the editor UI is redrawing very efficiently. There is some
weird stuff with the scene tabs, redrawing when the inspector changes but most
things for the most part are fine.
2023-08-28 12:53:56 +02:00
Rémi Verschelde
00d1fafc77
Merge pull request #81022 from YuriSizov/editor-run-scripts-valid-and-toasty
...
Improve warnings when running scripts in the editor
2023-08-28 12:08:37 +02:00
Rémi Verschelde
8f07644867
Merge pull request #81011 from 21dhruvp/remove-meta-array
...
Added checks to remove meta arrays when creating and undoing guides
2023-08-28 12:07:03 +02:00