Commit graph

4568 commits

Author SHA1 Message Date
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
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
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
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
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