Commit graph

11652 commits

Author SHA1 Message Date
Yuri Rubinsky
a7027b9927 Fix changing of visual shader mode 2022-12-09 11:02:07 +03:00
Rémi Verschelde
2d02cb67ee
Merge pull request #69661 from Mickeon/fix-editor-cannot-disconnect-signal
Fix unable to disconnect signal in Editor once created
2022-12-09 07:34:29 +01:00
kobewi
f764db1bdd Add remote history to EditorUndoRedoManager 2022-12-08 15:06:29 +01:00
Micky
885f2a4eca Fix unable to disconnect signal in Editor once created
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-12-08 13:36:48 +01:00
Yuri Rubinsky
12ab5731ab
Merge pull request #69738 from Chaosus/vs_custom_nodes 2022-12-08 14:13:05 +03:00
Yuri Rubinsky
ab17f197f0 Make custom visual shader nodes automatically updates from script 2022-12-08 12:55:23 +03:00
Haoyu Qiu
af3ef844d9 Update tile source icons when editor theme changes 2022-12-08 17:21:37 +08:00
Rémi Verschelde
204715ae95
Merge pull request #69617 from MewPurPur/this-darn-pixel
Fix fringe issues with shortcuts not behaving as expected for multi-carets
2022-12-08 09:52:13 +01:00
VolTer
94416e41c5 Fix various fringe issues with multi-carets and selections 2022-12-07 20:54:48 +01:00
Mikael Hermansson
8c108177d7 Add feature tags to signify engine float precision 2022-12-07 16:13:17 +01:00
Rémi Verschelde
489d26e96e
Merge pull request #69573 from KoBeWi/our_hero_call-deferred-man
Fix dependency reload triggered too early
2022-12-07 15:13:45 +01:00
Rémi Verschelde
829d49b011
Merge pull request #69719 from groud/fix_gdextension_bad_vformat_error
Fix a wrong error formatting in gdextension export plugin
2022-12-07 13:28:02 +01:00
Rémi Verschelde
f9bd2ace0b
Merge pull request #68682 from timothyqiu/camera-gizmo-size
Make Camera3D gizmo the same aspect ratio as its viewport
2022-12-07 13:25:35 +01:00
Rémi Verschelde
de2d0f156e
Merge pull request #69713 from groud/rename_get_surrounding_tiles
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 13:24:57 +01:00
Rémi Verschelde
eb1734c95d
Merge pull request #67554 from Sauermann/fix-determining-window-in-scroll-container
Remove Screen-parameter for determining Touchscreen capability
2022-12-07 13:24:06 +01:00
Rémi Verschelde
04cd36612a
Merge pull request #69695 from timothyqiu/id-capitalization
Make ID capitalization in tiles editor consistent
2022-12-07 13:23:49 +01:00
Gilles Roudière
2b11fe1d63 Fix a wrong error formatting in gdextension export plugin 2022-12-07 13:22:49 +01:00
Gilles Roudière
3ea54bb3a1 Rename get_surrounding_tiles to get_surrounding_cells 2022-12-07 11:09:10 +01:00
Markus Sauermann
e18107a57c Fix Determining Window for Touchscreen
DisplayServer::screen_is_touchscreen will likely never utilize its
parameter p_screen.
This PR replaces this function by DisplayServer::is_touchscreen_available()
with the same functionality.
This solves the problem, that a SubViewport was used for determining
the screen, which resulted in error messages.
2022-12-07 09:54:29 +01:00
Haoyu Qiu
740d6f9447 Fix crash when deleting an alternative-level tile proxy 2022-12-07 14:26:54 +08:00
Haoyu Qiu
9893b04fda Make ID capitalization in tiles editor consistent 2022-12-07 10:07:10 +08:00
Rémi Verschelde
6dddc031e8
Merge pull request #69651 from alfredbaudisch/autocomplete-line-number
Cancels the code complete timer when the caret moves to another line
2022-12-06 15:16:09 +01:00
Alfred Reinold Baudisch
02f7e03a66 Cancels the code complete timer when the caret moves to another line
Fixes and closes #68961
2022-12-06 12:45:25 +01:00
Rémi Verschelde
2b49ef12af
Merge pull request #69446 from Chaosus/fix_quick_open
Fix new quick open dialog to be showed at the center of the screen
2022-12-06 12:25:37 +01:00
Rémi Verschelde
68dc56f582
Merge pull request #69234 from Sauermann/fix-enter-focus
Fix focus after pressing Enter in EditorSpinSlider
2022-12-06 12:25:28 +01:00
Rémi Verschelde
74b245f2b5
Merge pull request #69643 from Chaosus/vcs_rendering_fix
Fix incorrect rendering of vcs dialogs
2022-12-06 12:25:01 +01:00
Rémi Verschelde
83b426bca5
Merge pull request #67906 from groud/simpler_gdextension_config
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
2022-12-06 11:01:09 +01:00
Rémi Verschelde
75f8f22637
Merge pull request #69631 from timothyqiu/tile-proxy-rmb
Fix error when right clicking proxy list in TileProxiesManagerDialog
2022-12-06 11:00:42 +01:00
Yuri Rubinsky
4aee97e821 Fix incorrect rendering of vcs dialogs 2022-12-06 12:54:38 +03:00
Rémi Verschelde
53f2c8b206
Merge pull request #69608 from RumblingTurtle/blend-tree-new-node-fix
AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
2022-12-06 10:48:12 +01:00
Rémi Verschelde
14861c45b5
Merge pull request #68860 from xiongyaohua/path3d_fishbones
Draw fish bones for Path3D and Path2D in the Editor
2022-12-06 10:46:54 +01:00
rune-scape
e79be6ce07 Unify String and StringName 2022-12-05 21:46:47 -05:00
Haoyu Qiu
7034992ace Fix error when right clicking proxy list in TileProxiesManagerDialog 2022-12-06 09:37:07 +08:00
Eduard Zalyaev
ed53e96f43 AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
Fixes  #69413.
2022-12-05 21:03:38 +03:00
Rémi Verschelde
f3e6750a7e
Merge pull request #68324 from AThousandShips/group_import_uid
Fix group reimport bug
2022-12-05 18:45:15 +01:00
Rémi Verschelde
6ee3268189
Merge pull request #65228 from Mickeon/fix-packed-scene-unique-name-root
Fix "Save Branch as Scene" storing root Node's `unique_name_in_owner`
2022-12-05 18:08:10 +01:00
Rémi Verschelde
3673eb7001
Merge pull request #67553 from Sauermann/fix-new-node-dialog-description
Fix Updating New Node Dialog Description of Custom Nodes
2022-12-05 18:07:20 +01:00
Rémi Verschelde
fd5142769b
Merge pull request #69600 from Chaosus/fix_global_shader_crash
Fix setting a global shader variable in the project settings
2022-12-05 18:06:05 +01:00
VolTer
92287c2cb2 Fix slight visual discrepancy in Search Result dock 2022-12-05 13:53:09 +01:00
Yuri Rubinsky
09f30010be Fix setting a global shader variable in the project settings 2022-12-05 14:05:20 +03:00
Rémi Verschelde
1db23e472b
Merge pull request #69525 from m4gr3d/polish_navigation_controls_opacity_main
Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:32:43 +01:00
Rémi Verschelde
4bca815d41
Merge pull request #69132 from RumblingTurtle/multiline-move-fix
Script editor: Rewrite multiline move logic
2022-12-05 11:32:29 +01:00
Eduard Zalyaev
c3eec67f06 Script editor: Rewrite multiline move logic. Preserving all carets and their selections intact on alt+up/down shortcut
Fixes  #68731.
2022-12-05 10:43:27 +03:00
Yaohua Xiong
9bdc0cb16f draw fish bones for Path2D and Path3D
These fish bones are add to indicate the direction and local transforms alone the path.
2022-12-05 15:39:14 +08:00
Silc Renew
8c540b1d71 Fix animation play backward doesn't process current key&animtrack seek 2022-12-05 15:59:08 +09:00
Rémi Verschelde
a738f50886
Merge pull request #69357 from TokageItLab/byebye-trigger
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05 00:06:23 +01:00
Rémi Verschelde
408bd0aa92
Merge pull request #68770 from TokageItLab/add-track-validator
Add track validator to AnimationPlayerEditor to detect tracks which have error
2022-12-05 00:06:06 +01:00
Rémi Verschelde
a0365c140a
Merge pull request #68995 from bruvzg/sys_font_for_text
Use system fonts as fallback.
2022-12-05 00:05:49 +01:00
Rémi Verschelde
5efa254964
Merge pull request #67387 from NumbuhFour/cam_vis_layers_shader_var
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-05 00:05:39 +01:00
bruvzg
ecec415988
Use system fonts as fallback and improve system font handling.
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
2022-12-04 18:44:20 +02:00
kobewi
05993e8a35 Fix dependency reload triggered too early 2022-12-04 17:28:30 +01:00
Haoyu Qiu
480d9d10ed Fix heap-use-after-free when exiting editor after editing TileSet 2022-12-04 16:52:26 +08:00
NumbuhFour
1b09fd5410 Implement CAMERA_VISIBLE_LAYERS as built-in shader variable 2022-12-03 22:41:27 -08:00
Fredia Huya-Kouadio
eacb29c007 Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:17:38 -08:00
Fredia Huya-Kouadio
18b924def7 Enable the navigation controls for touchscreen by default 2022-12-02 20:47:32 -08:00
Silc Renew
83135aa122 Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/Player
#69357
2022-12-02 20:28:10 +09:00
Yuri Rubinsky
5eeebb3e37 Fix new quick open dialog to be showed at the center of the screen 2022-12-02 11:11:54 +03:00
rune-scape
0591f0ad37 Fix editor help crash 2022-12-01 16:47:02 -05:00
Gilles Roudière
fa4143cdeb Allow specifying a prefix to automatically detect library files for gdextension exports 2022-12-01 18:20:40 +01:00
Rémi Verschelde
1e3919c409
Merge pull request #69364 from m4gr3d/add_navigation_controls_main
Add navigation control to the node3d editor viewport
2022-12-01 18:11:14 +01:00
Rémi Verschelde
9ace4949f8
Merge pull request #69443 from KoBeWi/meta_never_dies
Restore metadata to script create dialog
2022-12-01 18:10:37 +01:00
Rémi Verschelde
60750a1b69
Merge pull request #69403 from KoBeWi/gdrequiredvirutalcallnoif
Simplify GDVIRTUAL_REQUIRED_CALL calls
2022-12-01 18:09:43 +01:00
Gilles Roudière
36bcb82565 Remove uncessecary checks when exporting gdextension binaries 2022-12-01 17:28:24 +01:00
kobewi
06465e388e Fix invalid metadata names in script create dialog 2022-12-01 15:32:41 +01:00
kobewi
563d67a10d Revert "Fix "Script Create" dialog errors with metadata"
This reverts commit bb5198a5ac.
2022-12-01 15:30:16 +01:00
kobewi
9a3960daa5 Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
kobewi
5d2a9a3570 Make remote inspector groups not foldable 2022-11-30 15:31:24 +01:00
Rémi Verschelde
cd491c6e47
Merge pull request #69376 from zaevi/adjust_dropping_texture
Adjust position and size for dropping texture in canvas editor.
2022-11-30 10:49:15 +01:00
Rémi Verschelde
e51d69dda0
Merge pull request #69365 from timothyqiu/invalid-reference
Fix heap-use-after-free when changing alternative tile ID
2022-11-30 10:48:48 +01:00
Zae
a1419f3902 Adjust position and size for dropping texture. 2022-11-30 16:28:49 +08:00
Haoyu Qiu
6c5c773a27 Fix heap-use-after-free when changing alternative tile ID 2022-11-30 10:32:35 +08:00
Fredia Huya-Kouadio
1566f3d49f Add navigation control to the node3d editor viewport 2022-11-29 17:43:16 -08:00
Nathan Franke
4581662add
print each migrated project path instead of always printing "migrating" when there are none 2022-11-29 18:09:16 -06:00
Yuri Sizov
cdd99e9bec
Merge pull request #69338 from akien-mga/pm-fix-hacky-project-rename
Project Manager: Fix hacky code for project rename
2022-11-29 22:55:42 +03:00
Rémi Verschelde
09e1db2148
Merge pull request #68665 from TokageItLab/cut-unkeyed-gltf-anim
Add "Trimming" option to cut un-keyed timeline before first key in glTF animation
2022-11-29 16:51:56 +01:00
Rémi Verschelde
6d1702614b
Merge pull request #69341 from TokageItLab/fix-timeline-crash
Fix crash AnimationTimelineEdit when switch FPS mode without track
2022-11-29 16:50:40 +01:00
Rémi Verschelde
5669834f82
Merge pull request #66995 from HolonProduction/main_window_bug
Fix a bug with main window `EditorPlugin`.
2022-11-29 16:50:03 +01:00
Rémi Verschelde
87de4cc7c2
Merge pull request #51471 from KoBeWi/array_of_crashes
Fix crash in EditorPropertyArray
2022-11-29 16:49:32 +01:00
Rémi Verschelde
e16acf26db
Merge pull request #63512 from MmAaXx500/autoload-double-add-remove
Prevent autoloads from being added or removed twice
2022-11-29 16:48:58 +01:00
Rémi Verschelde
c950d174cf
Merge pull request #67664 from WindyDarian/fix_dependency_import
Don't try to import unknown dependency from scan
2022-11-29 16:48:27 +01:00
Rémi Verschelde
447f6998b1
Merge pull request #67814 from opl-/fix/editor-inspector-accept-event
Fix editor inspector classes not accepting events
2022-11-29 16:48:03 +01:00
Rémi Verschelde
9d64a2e97b
Merge pull request #66194 from YeldhamDev/feature_fixes
Fix some stuff with the editor features
2022-11-29 16:47:26 +01:00
Silc Renew
f544b8f844 Fix crash AnimationTimelineEdit when switch FPS mode without track 2022-11-30 00:27:56 +09:00
HolonProduction
1da0a12705 Solve a bug with main window plugins.
When removing a main window plugin the bindings of the main window buttons was not changed to reflect the changed indices.
2022-11-29 16:16:23 +01:00
kobewi
d80a2a89f0 Fix crash in EditorPropertyArray 2022-11-29 16:08:43 +01:00
Rémi Verschelde
f21f75eb6f
Project Manager: Fix hacky code for project rename
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.

Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.

Fixes #25661.
2022-11-29 15:38:22 +01:00
Rémi Verschelde
3d2c3aae4e
Merge pull request #69062 from trollodel/lightweight_editor_mass
Use forward-declarations in big editor classes
2022-11-29 10:27:21 +01:00
trollodel
c90d0bd84f Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00
Silc Renew
db7473672f Add trimming option to cut un-keyed timeline before first key in gltf 2022-11-29 13:53:33 +09:00
Haoyu Qiu
4a50f44cd2 Fix heap-use-after-free when removing a tile in TileSet editor 2022-11-29 09:22:35 +08:00
Silc Renew
a4162dad23 Add track validator to AnimationPlayerEditor 2022-11-28 23:33:55 +09:00
Nong Van Tinh
6bec9759eb Fix incorrect hint when drag-and-drop asset into scene 2022-11-28 21:03:00 +07:00
Rémi Verschelde
ef090ee6ea
Merge pull request #68874 from TokageItLab/fix-unique-path-keying
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28 14:49:34 +01:00
Rémi Verschelde
2975fc9460
Merge pull request #69249 from timothyqiu/tile-data-redraw
Update TileSet preview when paint custom data changes
2022-11-28 11:02:57 +01:00
Rémi Verschelde
c392093668
Merge pull request #69272 from rune-scape/rune-avoid-global-base
Avoid using `get_global_class_native_base`
2022-11-28 11:02:43 +01:00
Rémi Verschelde
2fadc1299d
Merge pull request #67871 from Calinou/editor-theme-add-oled-preset
Add Black (OLED) editor theme preset
2022-11-28 08:46:12 +01:00
Rémi Verschelde
d4c4a44607
Merge pull request #68759 from MewPurPur/bookmark-fix
Fix text selection persisting on bookmark traversal
2022-11-28 08:06:05 +01:00
Rémi Verschelde
794adbe996
Merge pull request #69178 from aaronfranke/mesh-shape
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-28 08:05:50 +01:00
Ninni Pipping
83588aa74e Fix group reimport bug 2022-11-27 16:31:36 +01:00
Haoyu Qiu
7bc0d0c177 Update TileSet preview when paint custom data changes 2022-11-27 18:35:47 +08:00