Rémi Verschelde
7e7be45947
Merge pull request #67922 from MrBlockers/asr-addstream-fixes
...
Add optional stream argument to AudioStreamRandomizer.add_stream
2022-12-21 09:19:39 +01:00
Rémi Verschelde
f04f53201d
Merge pull request #70317 from HolonProduction/svg_assets
...
Add support for svg images in the asset lib.
2022-12-21 09:19:14 +01:00
Twarit Waikar
c940616b04
VCS: Remove method binds that are not being used in VersionControlEditorPlugin
2022-12-21 11:50:29 +05:30
MrBlockers
569ead5762
Add optional arguments to AudioStreamRandomizer
...
Adds stream and weight parameters to add_stream. By default, weight is
1.0f.
2022-12-20 18:48:02 -05:00
Twarit Waikar
d18ed2c18a
VCS: Add a stern confirmation dialog before discarding all changes
2022-12-21 03:21:33 +05:30
Twarit Waikar
edef267d68
VCS: Remove project_path
VCS property, let plugins decide
2022-12-20 21:01:24 +05:30
HolonProduction
66fa776667
Add support for svg images in the asset lib.
...
Pixel based image formats are identified by magic numbers. This is not possible with svg therefore svg parsing is tried and if it succeeded the result is used.
WebP and bmp support is added as well. But I could not test it as I am not able to run a local instance of the asset lib and there is no asset using those formats.
2022-12-20 15:41:17 +01:00
Yuri Rubinsky
522d4243bf
Add missing != operator to StringName
2022-12-20 17:25:54 +03:00
Rémi Verschelde
281f548dc2
Merge pull request #70170 from TokageItLab/fix-anim-keying-crash
...
Make keys deselected when keying property for animation to avoid crash
2022-12-20 10:31:59 +01:00
Rémi Verschelde
44f0d455a7
Merge pull request #70100 from Chaosus/fix_missing_editor_plugin_gdclasses
...
Fix missing GDCLASS headers in the editor preview plugins
2022-12-19 17:11:34 +01:00
Rémi Verschelde
fe1bb58e8f
Merge pull request #70238 from kleonc/tile-set-simplify-isometric-tile-polygon
...
`TileSet` Simplify isometric tile shape polygon to 4 vertices
2022-12-19 16:27:17 +01:00
Rémi Verschelde
5784c9801e
Merge pull request #70264 from KoBeWi/layedulate
...
Use layer's modulate for tile previews
2022-12-19 16:26:50 +01:00
kleonc
3a34acdf55
TileSet Simplify tile shape polygons
2022-12-19 11:42:40 +01:00
kobewi
99a9401a2c
Use layer's modulate for tile previews
2022-12-18 17:31:29 +01:00
Yuri Rubinsky
0fcf6a1c0c
Prevent showing AudioStream preview for non-WAV types
2022-12-18 11:31:28 +03:00
smix8
34e7628f5f
Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
Rémi Verschelde
70a0201e6a
Merge pull request #70074 from Chaosus/restore_audio_stream_editor
...
Restore `AudioStreamEditor` class to fix playable sound previews
2022-12-17 20:56:35 +01:00
Hugo Locurcio
a3eac5fc7c
Move transparent background project setting to a subsection
...
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Silc 'Tokage' Renew
aa133b60a1
Make keys deselected when keying property for animation to avoid crash
2022-12-17 06:48:22 +09:00
SaracenOne
092dbe52a9
Change auto_advance flag to advance_mode enum and unify with disabled flag.
...
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
Rémi Verschelde
cda7df0255
Merge pull request #67024 from alessandrofama/fix-gdvirtual-call-node3dgizmo
...
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-12-15 12:16:42 +01:00
Yuri Rubinsky
b6ed3390ec
Fix missing GDCLASS headers in the editor preview plugins
2022-12-15 13:11:23 +03:00
Yuri Rubinsky
1891f6e62c
Restore AudioStreamEditor
class
2022-12-15 10:59:44 +03:00
Rémi Verschelde
6b381d1d2d
Merge pull request #70040 from m4gr3d/update_navigation_controls_toggle_main
...
Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:26:01 +01:00
Fredia Huya-Kouadio
3083455002
Update the visibility logic for the spatial editor navigation controls
2022-12-13 17:46:12 -08:00
Yaohua Xiong
adeef12b12
Handle corner cases for curve baking
...
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde
ad7b31fe61
Merge pull request #69938 from timothyqiu/open-packed-scene
...
Add open scene button in Inspector for PackedScene resource
2022-12-14 00:16:54 +01:00
Rémi Verschelde
05aba48354
Merge pull request #70006 from timothyqiu/atlas-source-paint-scroll
...
Add scroll container for tile data editors
2022-12-13 10:12:53 +01:00
Rémi Verschelde
a720a8c136
Merge pull request #69893 from henrlin24/hide-scattering
...
Hide Scattering label and controls within TileMap editor window when "Place Random Tile" option is disabled
2022-12-13 10:10:28 +01:00
Haoyu Qiu
4fcbfcc665
Add scroll container for tile data editors
2022-12-13 15:14:01 +08:00
Silc Renew
b0eb3b6ebd
Add null checks to AnimationTreeEditors and _clear_editors()
2022-12-13 03:06:51 +09:00
Rémi Verschelde
e2a37295f5
Merge pull request #69291 from nongvantinh/fix-suggest-message
...
Fix Sprite drag and drop hint mentions invalid option with root node selected
2022-12-12 12:19:37 +01:00
Rémi Verschelde
f1edd03d4c
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
...
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
Rémi Verschelde
f5d14f874a
Merge pull request #69300 from timothyqiu/tile-set-atlas-source
...
Improve TileSetAtlasSourceEditor UI
2022-12-12 11:41:59 +01:00
Gilles Roudière
be1c9d677d
Rename all gdnative occurences to gdextension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
Markus Sauermann
9a8d53d54b
Use _request_gizmo from SceneStringNames
2022-12-12 10:12:40 +01:00
Haoyu Qiu
9af9af525c
Add open scene button in Inspector for PackedScene resource
2022-12-12 16:09:10 +08:00
henrlin24
afa38bd030
Hide Scattering label and controls within TileMap editor window when "Place Random Tile" is disabled
2022-12-11 13:16:36 -05:00
Haoyu Qiu
f6ae2f2fd5
Use ObjectID as argument when referred-calling _request_gizmo
...
Fixes crash on project launch.
2022-12-10 18:52:10 +08:00
Haoyu Qiu
8a22d4cd44
Fix !tile_set.is_valid() error on startup
2022-12-10 13:09:20 +08:00
Haoyu Qiu
d8f5dcbf56
Improve TileSetAtlasSourceEditor UI
...
* Updates the overall layout, moving mode buttons to the top.
* Uses inspector category instead of a Label to show what's being edited. This also allows better scrolling behavior.
2022-12-10 12:27:48 +08:00
Rémi Verschelde
9a26ffa233
Merge pull request #67283 from KoBeWi/one_way_ticket
...
Add one-way indicator to tile collision editor
2022-12-09 18:05:55 +01:00
Rémi Verschelde
43bef98450
Merge pull request #60892 from KoBeWi/fat_selection
...
Improve tile editor selection appearance
2022-12-09 18:05:38 +01:00
Rémi Verschelde
9ee47b3c45
Merge pull request #69747 from timothyqiu/tile-source-icons
...
Update tile source icons when editor theme changes
2022-12-09 18:05:23 +01:00
kobewi
871278cdf0
Improve tile editor selection appearance
2022-12-09 14:46:17 +01:00
Yuri Rubinsky
a7027b9927
Fix changing of visual shader mode
2022-12-09 11:02:07 +03: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
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
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
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
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
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
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
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
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
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
Gilles Roudière
36bcb82565
Remove uncessecary checks when exporting gdextension binaries
2022-12-01 17:28: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
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
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
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
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
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
Haoyu Qiu
7bc0d0c177
Update TileSet preview when paint custom data changes
2022-11-27 18:35:47 +08:00
Rémi Verschelde
6e693368e1
Merge pull request #69124 from zaevi/tilemap_fix_alternative_tile
...
[TileMap] Fix alternative tile issues.
2022-11-25 19:27:37 +01:00
Aaron Franke
93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-25 11:43:11 -06:00
Fabio Alessandrelli
aa80cfac97
[Editor] Add button to keep the debug server open.
...
The setting is stored in the project editor metadata, and the server is
automatically started/stopped when the option change (only stopped if no
session is currently active).
The CLI option `--debug-server` now also forces the server to stay open
(without saving the state, unlike the menu option).
This commit also removes the "Keep debugger open" option in the script
editor "debug" menu. That option was really confusing, it used to hide
the bottom panel if and only if the debugger pane was selected, so if
you had your output log open instead (default when pressing play) it
would effectively do nothing. Having an option to save a click in such
a very specific case seems very overkill.
2022-11-25 11:02:55 +01:00
Rémi Verschelde
a16d3625c3
Merge pull request #69128 from Chaosus/vs_fix_custom_nodes
...
Fix custom visual shader nodes not being loaded at startup
2022-11-24 19:04:21 +01:00
Yuri Rubinsky
a973ddd28d
Fix custom visual shader nodes not being loaded at startup
2022-11-24 20:58:16 +03:00
kobewi
8a3d2f4e0c
Cleanup remaining EditorUndoRedoManager usages
2022-11-24 18:56:22 +01:00
Zae
f6424e68ea
[TileMap] Fix alternative tile issues.
2022-11-25 00:44:02 +08:00