Haoyu Qiu
90782a18b7
Improve Select Frames dialog of SpriteFrames editor
2022-04-09 17:30:00 +08:00
ConteZero
ee8fc125bf
Fix editor_log text copy
2022-04-08 22:13:48 +02:00
kobewi
216fe8f8d9
Fix 2D editor menu position
2022-04-08 17:09:40 +02:00
kobewi
f75e08db6a
Remove unused SplitContainer bg theme property
2022-04-08 13:05:29 +02:00
Hugo Locurcio
f064258aee
Highlight hovered keyframes in the animation track editor
...
Both unselected and selected keyframes feature hover feedback.
This currently only affects standard keyframes (i.e. not booleans,
colors or audio tracks which use custom icons).
2022-04-08 01:43:21 +02:00
Rémi Verschelde
748fde8df0
Merge pull request #59396 from Calinou/animation-track-editor-improve-drawing
...
Improve the animation track editor drawing
2022-04-08 01:18:42 +02:00
Rémi Verschelde
10dc3284fa
Merge pull request #59178 from Calinou/occluder3d-add-editor-icons
2022-04-07 19:02:41 +02:00
Rémi Verschelde
a49079947b
Merge pull request #59962 from Ev1lbl0w/bugfix-projectManagerFileDialog
2022-04-07 00:09:48 +02:00
Ev1lbl0w
38fed916e7
Restore hidden folder behavior for project manager
2022-04-06 22:37:33 +01:00
Daniel Kříž
cbe363d716
Fix missing favorite files in filesystem dock
2022-04-06 22:49:50 +02:00
Aleksey Smirnov
6edbbf3a94
Fix false warning folder already exists
2022-04-06 21:01:00 +03:00
bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
Rémi Verschelde
a8ae206a1e
Merge pull request #59922 from V-Sekai/fix_editor_search
...
Improve handling for editor documentation search with blank searches
2022-04-05 23:49:41 +02:00
SaracenOne
208c4ce3f0
Improve handling for editor search with blank searches
2022-04-05 21:39:02 +01:00
Marios Staikopoulos
da2b5da0c5
Fix Project Manager hard crashes due to invalid access to Editor Nodes
2022-04-05 11:40:47 -07:00
Rémi Verschelde
f00803b8a5
Merge pull request #56695 from bruvzg/mod_unicode_input
2022-04-05 14:03:39 +02:00
bruvzg
d1207a0504
[Input] Add extra shortcut_input
input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
Yuri Roubinsky
5db47c5521
Fix lookup symbol in scripts which doesn't open a tab at first attempt
2022-04-05 10:18:45 +03:00
Rémi Verschelde
af2c8fbcb6
Merge pull request #59891 from ConteZero/editor_log_deselect
2022-04-05 00:00:28 +02:00
Rémi Verschelde
b512fe67a6
Merge pull request #59888 from akien-mga/clang-tidy
2022-04-04 23:57:30 +02:00
Rémi Verschelde
db8e6bd83f
Merge pull request #59885 from Jayman2000/autoload-inheritance-message
2022-04-04 23:56:20 +02:00
ConteZero
deddbc142c
Disable deselect on focus lost on editor_log
2022-04-04 22:21:49 +02:00
Jason Yundt
1cc7e7ec33
Improve autoload inheritance error message
...
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.
Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.
Fixes #59884 .
2022-04-04 15:51:02 -04:00
Rémi Verschelde
b78aa4fe19
Style: Apply clang-tidy to current code, add readability-redundant-member-init
2022-04-04 21:49:51 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Rémi Verschelde
53317bbe14
Merge pull request #59866 from m4gr3d/update_default_display_scale_main
2022-04-04 19:31:37 +02:00
Fredia Huya-Kouadio
8eabf77f54
Update the editor display scale based on the device's scaled density
2022-04-04 09:23:43 -07:00
Rémi Verschelde
f1592cb3da
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed
2022-04-04 13:50:52 +02:00
jmb462
0d17903bd5
Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling
2022-04-03 21:07:39 +02:00
Michael Alexsander
1062bc9884
Fix creation and reopening of built-in scripts
2022-04-03 15:34:21 -03:00
Rémi Verschelde
c630c2001d
Merge pull request #59633 from EricEzaM/better-code-complete-update
...
Improve sorting of Code Completion options.
2022-04-03 12:34:00 +02:00
Eric M
cc6a181ed8
Action Map Editor fixes and improvements
...
Multiple fixes:
* Fixed device not being updated correctly (changing the device dropdown did not actually change the underlying event's device)
* Device selection now defaults to `All Devices`
* Device is now displayed in the text shown in the input event editor, and in the action list.
* There was code running twice previously because of the following interaction: 1) input via "Listen for Input" tab. 2) `_set_event` gets called. 3) input list tree selection gets updated to match the listened event. 4) tree "item_selection" signal is emitted. 5) eventually `_set_event` is called again.
* The only reason this was not an infinite loop is because reselection is disabled on the tree. So, the code runs twice - not a big deal, but it is unnecessary processing and it could cause an issue in the future. If someone turns on reselection on the tree, the whole thing comes crashing down. This should prevent that scenario and make the code a bit safer and more robust.
2022-04-01 21:34:09 +10:00
Eric M
4ab605d14d
Improve sorting of Code Completion options.
...
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-04-01 20:39:09 +10:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Haoyu Qiu
2f20ff0ed6
Extract theme property names for localization
2022-04-01 11:35:22 +08:00
kobewi
004ced89aa
Fix name of the created static trimesh body
2022-03-31 18:02:18 +02:00
Haoyu Qiu
c7e06e2202
Clip animation track keyframe rects
2022-03-31 18:39:04 +08:00
Rémi Verschelde
b7850bb1e8
Merge pull request #58395 from Geometror/editor-node-data-cleanup
2022-03-30 23:41:36 +02:00
Hendrik Brucker
314430b868
Cleanup EditorNode and EditorData
...
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-30 20:12:26 +02:00
Haoyu Qiu
39245c8216
Strip feature tag manually when extracting property paths
2022-03-30 20:29:43 +08:00
Haoyu Qiu
0a9f97f423
Add more patterns for property path extraction
2022-03-30 18:21:46 +08:00
reduz
45f74ceb85
Add PortableCompressedTexture
...
* Resource that allows saving textures embedded in scenes or standalone.
* Supports only formats that are portable: Lossy, Lossles or BasisUniversal
This is something I wanted to add for a long time. I made it now because @fire
requires it for importing GLTF2 files with embedded textures, but also this
will allow saving Godot scenes as standalone binary files that will run
in all platforms (because textures will load everywhere).
This is ideal when you want to distribute individual standalone assets online
in games that can be built from Godot scenes.
2022-03-30 10:39:41 +02:00
Rémi Verschelde
f6ef63635f
Merge pull request #59659 from fountainment/fix_callable_bind_usage
...
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
2022-03-30 09:00:07 +02:00
Rémi Verschelde
a06b94a1c1
Merge pull request #59677 from fire-forge/debugger-capitalize
...
Process monitor and profiler item names in the Debugger
2022-03-30 08:58:21 +02:00
Rémi Verschelde
5c2e858790
Merge pull request #59679 from marstaik/upstream_fix_init
...
Fix lack of ProjectManager nullptr initializations
2022-03-29 21:48:18 +02:00
Marios Staikopoulos
7af275e2d5
Fix lack of ProjectManager nullptr initializations
...
Initialize all pointers to nullptr, fixes a crash with asset_library
caused by uninitialized memory.
2022-03-29 11:17:24 -07:00
FireForge
efd9b8bc29
Capitalize names in the debugger
2022-03-29 09:07:08 -05:00
Rémi Verschelde
01a3b84545
Merge pull request #59558 from V-Sekai/primitive-indicies
2022-03-29 14:43:26 +02:00
Rémi Verschelde
88299c1589
Merge pull request #59496 from KoBeWi/inspector_teleport
2022-03-29 13:26:49 +02:00
Haoyu Qiu
c17d9f05f8
Simplify FBX importer project settings registering
2022-03-29 15:00:43 +08:00
Rémi Verschelde
29a946ee91
Merge pull request #59374 from timothyqiu/extract-refactor-master
...
Refactor editor `extract.py`
2022-03-29 08:44:37 +02:00
Yuri Roubinsky
509598e8c0
Remove SHADOW_ATTENUATION
spatial light shader built-in
2022-03-29 08:43:31 +03:00
C.Even
619d9d143b
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
...
* Callable::bind takes an array of pointers to Variant
* Fixes #57057
2022-03-29 12:15:36 +08:00
Rémi Verschelde
a7a3ff6940
i18n: Sync editor translation template after #59349
...
(cherry picked from commit 15dc747de8
)
2022-03-29 01:23:03 +02:00
Rémi Verschelde
c5192d57c6
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 0db753ef54
)
2022-03-29 01:22:58 +02:00
Rémi Verschelde
fd0716cba9
Merge pull request #58160 from m4gr3d/android_editor
2022-03-29 00:04:42 +02:00
Fredy Huya-Kouadio
5711037bf6
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 14:04:51 -07:00
Rémi Verschelde
f3bd700767
Merge pull request #59619 from Chaosus/vs_input_desc
2022-03-28 22:32:11 +02:00
FireForge
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
Yuri Roubinsky
9edbdc4f36
Add refs to shading language to the desciption of input nodes in vshader
2022-03-28 22:01:10 +03:00
Rémi Verschelde
74b07dd194
Merge pull request #59426 from timothyqiu/name-style-master
2022-03-28 14:19:47 +02:00
Rémi Verschelde
143d13717b
Merge pull request #59553 from reduz/script-extension-support
2022-03-28 13:35:21 +02:00
Haoyu Qiu
ccde2bf66f
Add property name style toggle to Inspector
2022-03-28 18:52:09 +08:00
Rémi Verschelde
6b2481fcfe
Merge pull request #59565 from SirQuartz/master
2022-03-28 12:28:43 +02:00
Rémi Verschelde
8e7d2826d8
Merge pull request #59453 from DanielKriz/master
2022-03-28 12:20:15 +02:00
Nicholas Huelin
01ca9d3eec
Hide "Normal Map" import option when using lossless compression on Texture
...
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.
Resolves : #59435
2022-03-28 11:36:52 +02:00
Rémi Verschelde
b3c35abf92
Merge pull request #59614 from timothyqiu/debug-colors-master
2022-03-28 10:18:40 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
...
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Haoyu Qiu
af3a5ea7ea
Update SceneTree debug colors when settings changed
2022-03-28 10:49:18 +08:00
Rémi Verschelde
a0071029f2
Merge pull request #59603 from YeldhamDev/meta_regression_fix
...
Fix "Script Create" dialog errors with metadata
2022-03-28 00:41:04 +02:00
Rémi Verschelde
bff6dc4fb9
Merge pull request #59599 from YeldhamDev/node_picking_lawyer
...
Fix errors when locking nodes
2022-03-28 00:19:01 +02:00
Michael Alexsander
bb5198a5ac
Fix "Script Create" dialog errors with metadata
2022-03-27 18:41:41 -03:00
Michael Alexsander
c331a3a614
Fix errors when locking nodes
2022-03-27 16:10:57 -03:00
reduz
360dea5348
Add GDExtension support to Script
...
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core
This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
Rémi Verschelde
f2fd325210
Merge pull request #59442 from Vitika9/52287
2022-03-27 12:17:31 +02:00
Rémi Verschelde
27deab49f6
Merge pull request #59546 from timothyqiu/ssl-restart
...
Mark "Editor SSL Certificates" setting as require restart
2022-03-27 10:38:09 +02:00
Vitika9
eb81ac8fc5
Made reload current project ask for confirmation with unsaved changes
2022-03-27 13:11:19 +05:30
floppyhammer
536d7581ba
Fix project manager window size not applying display scale correctly
2022-03-27 11:06:44 +08:00
Haoyu Qiu
a33ec7d8a7
Mark Editor SSL Certificates setting as require restart
2022-03-27 09:47:00 +08:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
K. S. Ernest (iFire) Lee
ee954914d9
Clarify what primitives means.
2022-03-26 10:25:13 -07:00
Rémi Verschelde
188ca5470b
Merge pull request #46638 from Ev1lbl0w/feature-hide_gdignored_dirs
2022-03-26 15:54:51 +01:00
C.Even
56d372ef0c
Fix project manager window centering in multi-monitor situation
...
* When main screen's position in not (0,0) and editor scale is larger
than 1, the project manager window was not centered in main screen
2022-03-26 20:03:04 +08:00
Rémi Verschelde
6fce38d1da
Merge pull request #59489 from adamscott/add-gltf-dae-fbx-blend-shape-mask-array-format-enforcers
...
Add GLTF, DAE and FBX importers enforcement for blend shape mask array
2022-03-25 22:47:16 +01:00
Rémi Verschelde
d3064400c5
Merge pull request #59500 from fire-forge/opentype-button
2022-03-25 18:14:58 +01:00
FireForge
15f4b283bb
Make the OpenType "Add Feature..." button full width
2022-03-25 11:18:09 -05:00
Rémi Verschelde
c14df99124
Merge pull request #59495 from DanielKriz/feature/better-dir-alert-msgs
2022-03-25 16:22:37 +01:00
Rémi Verschelde
fbfa12dd76
Fixup enum compare after #53734
2022-03-25 15:22:53 +01:00
Rémi Verschelde
6d28ff6e23
Merge pull request #53734 from jmb462/fix-missing-action-icons
2022-03-25 14:01:17 +01:00
Rémi Verschelde
283246a9fe
Merge pull request #59452 from reduz/refactor-metadata
2022-03-25 12:30:45 +01:00
Rémi Verschelde
aa200d1eef
Merge pull request #59483 from bruvzg/editor_use_mo
2022-03-25 11:26:49 +01:00
bruvzg
78051f93a3
Convert the editor and default theme fonts to WOFF2 format to save space.
2022-03-25 11:45:55 +02:00
Daniel Kříž
0535ef549a
Fix persistent favorites after rename
...
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-25 09:32:10 +01:00
Rémi Verschelde
2066e8e8d7
Merge pull request #59497 from Bitlytic/fix_group_selected
...
Add _group_selected to callable methods
2022-03-25 09:30:34 +01:00
Rémi Verschelde
277333bd24
Merge pull request #59472 from KoBeWi/data_migration
...
Make resource unique when pasting to another scene
2022-03-25 09:15:45 +01:00
Daniel Kříž
2a6cb29a0f
Add better alert dialogs if directory already exists
...
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-25 09:07:24 +01:00
Adam Scott
35e8c09b10
[ Fix #58248 ] Add custom type check before hiding type
2022-03-24 21:01:51 -04:00
Bitlytic
8ae5c75bf7
Add _group_selected to callable methods
2022-03-24 19:23:55 -05:00
kobewi
6b3c964080
Switch scene when editing foreign resource
2022-03-25 01:17:30 +01:00
Adam Scott
5e6d4baa48
Add GLTF, DAE and FBX importers enforcement for blend shape mask array
2022-03-24 17:15:23 -04:00
FireForge
c0f2825f8b
Remove space in MeshLibrary editor button
2022-03-24 15:28:19 -05:00
bruvzg
3999897e30
[Editor build] Use smaller .mo files instead of .po, if gettext is available.
2022-03-24 21:17:32 +02:00
kobewi
ab21ab80ba
Make resource unique when pasting to another scene
2022-03-24 18:52:59 +01:00
reduz
09b951b99b
Refactor Object metadata
...
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change.
* Metadata now exposed as individual properties.
* Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace.
* Added the ability to Add/Remove metadata properties to the inspector.
This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-24 14:21:52 +01:00
Rémi Verschelde
ac2a19cf24
Merge pull request #59447 from taigi100/Feature-4244-Add-proper-filters-for-picking-export-template
2022-03-24 10:55:33 +01:00
Rémi Verschelde
476b8a2249
Merge pull request #59416 from aaronfranke/export-file
2022-03-24 09:55:24 +01:00
taigi100
d8d73cdd02
Update properties to properly filter for templates.
2022-03-24 10:25:59 +02:00
Haoyu Qiu
81c21ebf39
Add TTR context for pagination button texts
2022-03-24 13:48:07 +08:00
Rémi Verschelde
c7bee09bbd
Merge pull request #59424 from fire-forge/icon-theme-color
2022-03-23 11:53:38 +01:00
Haoyu Qiu
680bcef825
Fix crash when exporting projects with shared libraries
2022-03-23 13:53:32 +08:00
FireForge
9544c46e3c
Use accent color for some editor icons
2022-03-22 18:47:02 -05:00
Aaron Franke
13392a96e9
Generate export template file names instead of having a fixed set
2022-03-22 10:16:03 -05:00
Rémi Verschelde
a30d17fe23
Merge pull request #59029 from bruvzg/help_slanted
2022-03-22 16:06:53 +01:00
bruvzg
803e1ae920
[Help] Add simulated slanted font support to the editor help.
2022-03-22 16:16:04 +02:00
Rémi Verschelde
99139e17e4
Merge pull request #59170 from akien-mga/import-wav-configure-loop-mode
2022-03-22 13:26:31 +01:00
Rémi Verschelde
2a116f601b
Merge pull request #59275 from bruvzg/ft_brotli
2022-03-22 12:47:00 +01:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
Hugo Locurcio
313c672dc8
Improve the animation track editor drawing
...
- Draw a background on alternate lines to ease readability of
animations with many tracks.
- Draw a background on the currently hovered line.
- Use the editor focus stylebox instead of a custom rectangle
for the focused track.
2022-03-21 23:52:48 +01:00
Aaron Franke
f301451fa3
Move extension logic to EditorExportPlatformLinuxBSD
2022-03-21 12:50:31 -05:00
Rémi Verschelde
5a28b1ae51
Merge pull request #59369 from aaronfranke/fixup-embedded-pck
2022-03-21 17:41:23 +01:00
Rémi Verschelde
600ff3a221
Merge pull request #48310 from Blackiris/fix-create-skeleton-physical-bones-4.0
2022-03-21 11:25:41 +01:00
Haoyu Qiu
d91c35a325
Refactor editor extract.py
2022-03-21 15:56:00 +08:00
Rémi Verschelde
49176bc0fc
Merge pull request #59373 from bruvzg/fix_editor_font_change
...
[Editor] Fix reloading editor theme on font / font size setting change.
2022-03-21 08:34:09 +01:00
Rémi Verschelde
d77d85d23e
Merge pull request #59367 from Calinou/script-editor-decrease-line-spacing
...
Decrease the default line spacing in the script editor
2022-03-21 08:16:51 +01:00
Rémi Verschelde
fbd94dbe88
Merge pull request #59366 from Calinou/editor-pseudolocalization-move-setting
...
Move the pseudolocalization editor setting to a debug section
2022-03-21 08:13:42 +01:00
Rémi Verschelde
e694f209ae
Merge pull request #59351 from taisph/feature/fix-getaddrinfo-failed
...
Fix getaddrinfo failed with undefined proxy config
2022-03-21 08:11:14 +01:00
bruvzg
f80148e3d1
[Editor] Fix reloading editor theme on font / font size setting change.
2022-03-21 08:20:09 +02:00
Aaron Franke
e5e697564d
Move fixup_embedded_pck to EditorExportPlatform classes
2022-03-20 21:04:22 -05:00
Hugo Locurcio
6d4514c95e
Decrease the default line spacing in the script editor
...
This brings the level of line spacing closer to what it was like
in Godot 3.x, which improves usability on small displays.
This also decreases the default line spacing for fixed-width texts
in the About dialog (license text).
2022-03-21 02:00:58 +01:00
Hugo Locurcio
3137487935
Move the pseudolocalization editor setting to a debug section
...
This moves the setting in question to the bottom of the Editor Settings,
which makes it less likely to be accidentally enabled.
2022-03-21 01:53:30 +01:00
Tais P. Hansen
394f04a2b4
Fix getaddrinfo failed with undefined proxy config
...
HTTPClientTCP expects proxy host to be empty or port to be -1 to ignore
the proxy. When getting the proxy config from the settings file, the
values will default to U"null" and 0, respectively, making HTTPClientTCP
to attempt to use the values as a proxy, which causes getaddrinfo to
fail looking up a "null" hostname.
Setting the default config values seems like a good approach to prevent
this issue.
Fixes #59037
2022-03-20 17:17:11 +01:00
kobewi
3bd7f82162
Reduce the size of Controls editor toolbar
2022-03-20 17:04:23 +01:00
Haoyu Qiu
46f5cd65a1
More editor extract.py
improvements and fixes
2022-03-20 20:21:00 +08:00
Fazil Babu
3c53da086f
Import settings inspector is cleared when opened
2022-03-20 11:11:22 +05:30
Rémi Verschelde
ef24e95f4a
Merge pull request #59268 from Chaosus/shader_renames2
...
Rename several transform built-ins in shaders
2022-03-18 19:24:38 +01:00
Rémi Verschelde
cc1bc09090
Merge pull request #58455 from bruvzg/export_script
2022-03-18 14:34:42 +01:00
Rémi Verschelde
5c8bd6fd71
Merge pull request #58233 from bruvzg/gde_ts
2022-03-18 14:29:58 +01:00
bruvzg
e07a8f0aa6
Add brotli decoder and WOFF2 support.
2022-03-18 15:09:38 +02:00
Rémi Verschelde
da26fcc91a
Merge pull request #59273 from V-Sekai/import-scene-no-roll
2022-03-18 14:03:02 +01:00
K. S. Ernest (iFire) Lee
5dec64fcad
Avoid roll in scene importer camera.
2022-03-18 04:10:07 -07:00
Rémi Verschelde
309cd91ea7
i18n: Sync editor translation template after #59265
...
(cherry picked from commit 0de7cfc60f
)
2022-03-18 11:52:26 +01:00
Rémi Verschelde
38a77fd3ff
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 4228d320bd
)
2022-03-18 11:52:22 +01:00
Rémi Verschelde
827094d769
Merge pull request #59264 from timothyqiu/extract-groups
2022-03-18 11:46:21 +01:00
Rémi Verschelde
d9382b2216
Merge pull request #59269 from Vitika9/59196
2022-03-18 11:25:45 +01:00
Haoyu Qiu
4d73899352
Improves editor property name extraction
2022-03-18 17:56:45 +08:00
Vitika9
46ca4737f1
Removed extra separator in absence of ChangeType and Rename
2022-03-18 14:42:48 +05:30
Yuri Roubinsky
0d9aecd967
Rename several transform built-ins in shaders
2022-03-18 12:10:55 +03:00
Rémi Verschelde
e462e2934d
Merge pull request #59263 from Chaosus/vs_fix_expression_port_name_crash
2022-03-18 09:17:51 +01:00
Rémi Verschelde
cb55da5ea7
Merge pull request #59259 from fire-forge/font-import-tab-names
...
Fix tab names in advanced font importer
2022-03-18 07:55:21 +01:00
Yuri Roubinsky
99e26b6e63
Fix editor crash when renaming visual shader port
2022-03-18 09:52:12 +03:00
Rémi Verschelde
28335b16db
Merge pull request #57996 from Calinou/texture-import-remove-stream-option
...
Remove unused Streamed option for textures in the Import dock
2022-03-18 07:07:34 +01:00
FireForge
499ab334a2
Fix tab names in advanced font importer
2022-03-17 22:45:33 -05:00
Michael Alexsander
deb1342036
Make TabBar/Container
default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Rémi Verschelde
e10e7c8ea4
i18n: Sync editor translation POs with template
...
(cherry picked from commit 93a3d47edc
)
2022-03-17 19:53:24 +01:00
Rémi Verschelde
a4fc940bfe
i18n: Add property paths to editor translation template
...
(cherry picked from commit 972c6687ff
)
2022-03-17 19:53:18 +01:00
Rémi Verschelde
4245f996e5
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 98b8f4043a
)
2022-03-17 19:53:13 +01:00
Rémi Verschelde
c0b472dfe2
Merge pull request #58967 from fire-forge/gradient2d_editor
2022-03-17 19:43:29 +01:00
Rémi Verschelde
60e5bf383e
Merge pull request #59163 from timothyqiu/filter-property
2022-03-17 19:19:01 +01:00
Haoyu Qiu
7bdca99d51
Improve inspector filtering
2022-03-18 01:16:25 +08:00
Haoyu Qiu
e64cd21f6f
Remap property path based on path substrings
...
Also added captialization caching.
2022-03-18 00:31:13 +08:00
FireForge
9c0261ff85
Add GradientTexture2D editor plugin
2022-03-17 10:32:54 -05:00
bruvzg
f19cd44346
Unify TextServer built-in module and GDExtension code.
2022-03-17 08:15:29 +02:00
Rémi Verschelde
178961a6dc
Merge pull request #59183 from YeldhamDev/assetlib_less_borders
...
Remove extra borders from the AssetLib plugin
2022-03-16 23:50:18 +01:00
Priyansh Rathi
edbf757208
fix axis handle gizmo letters at wrong positions on varying editor scale
2022-03-17 02:20:57 +05:30
Rémi Verschelde
9d732aa0cf
Merge pull request #58973 from bruvzg/gde_export
2022-03-16 11:53:08 +01:00
bruvzg
98d0af7d5c
Implement GDExtension export plugin.
2022-03-16 11:16:19 +02:00
Markus Sauermann
d3af794295
Handle NOTIFICATION_WM_CLOSE_REQUEST in EditorSpinSlider
2022-03-16 08:53:13 +01:00
Michael Alexsander
fc0e657e8f
Remove extra borders from the AssetLib plugin
2022-03-15 20:40:46 -03:00
Hugo Locurcio
bfa2b4c3f5
Add editor icons for all Occluder3D resources
...
These icons are derived from the Mesh resource icons.
2022-03-15 22:50:46 +01:00
taigi100
6c4dbf92ac
Update to only use select tool on button press
...
It used to run the code twice, probably once on button press, once on button release.
2022-03-15 20:04:59 +02:00
Hugo Locurcio
f269300a7d
Remove unused Streamed option for textures in the Import dock
...
Godot does not support texture streaming yet (and is only planned
for a future 4.x release), so displaying an option can be misleading.
2022-03-15 18:34:47 +01:00
Rémi Verschelde
b389ce5ccd
ResourceImporterWAV: Allow configuring loop mode on import
...
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample
Fixes #46164 .
2022-03-15 16:16:09 +01:00
Haoyu Qiu
0ac6e6acbe
More icon updates on theme change
2022-03-15 23:05:41 +08:00
Rémi Verschelde
51bbcbdec2
Merge pull request #45263 from KoBeWi/ 😕
2022-03-15 13:18:27 +01:00
Rémi Verschelde
d0fee76717
Merge pull request #59135 from EricEzaM/improvement/editor-log-better-button-style
2022-03-15 13:09:34 +01:00
Eric M
df2c71efd1
Improve editor log message filter button styles.
2022-03-15 21:25:24 +10:00
Rémi Verschelde
055d775d74
Merge pull request #59158 from akien-mga/editor-properties-array-dict-clean-button_add_item
2022-03-15 09:36:31 +01:00
Rémi Verschelde
cf834db44c
Merge pull request #59137 from timothyqiu/sprite-frames-editor
2022-03-15 09:10:48 +01:00
Rémi Verschelde
e43fa2d35d
Properly clean button_add_item
ref in Array/Dict property editors
...
Fixes #59152 .
2022-03-15 08:52:02 +01:00
Haoyu Qiu
7cabf49e67
Improves SpriteFrames editor
2022-03-15 14:39:40 +08:00
Haoyu Qiu
d07fd739ca
Separate 2D grid visibility and grid snap
2022-03-15 08:54:07 +08:00
Yuri Roubinsky
32f2c47356
Remove generating of null comparison operators from documentation
2022-03-14 22:35:23 +03:00
bruvzg
f0315c28a8
[Export] Add "export console script" option for Linux, macOS, and Windows exports.
2022-03-14 17:19:18 +02:00
Rémi Verschelde
964908d809
Merge pull request #59121 from fire-forge/capitalizations
2022-03-14 10:37:44 +01:00
bruvzg
4f1660dad7
Generate simulated bold font from the custom font if no custom bold font set.
2022-03-14 08:03:25 +02:00
FireForge
543218fc7c
Add missing property name capitalizations
2022-03-14 00:13:41 -05:00
Rémi Verschelde
4f40a71e03
Merge pull request #57436 from AnilBK/change-scopes
...
Scope Changes for some variables.
2022-03-13 22:10:16 +01:00
Rémi Verschelde
cc6d051af2
Merge pull request #59119 from Calinou/3d-editor-improve-indicator-bars
2022-03-13 20:13:03 +01:00
Hugo Locurcio
6f76aaec82
Improve display of freelook/zoom speed indicator bars in the 3D editor
...
- Use a different color for freelook and zoom speed bars.
- Use an outline for the text to make it readable on any background.
2022-03-13 18:57:28 +01:00
kobewi
3c53752b4a
Cleanup embed subwindows getters
2022-03-13 18:20:53 +01:00
Rémi Verschelde
0ce3fff3f8
Merge pull request #58437 from timothyqiu/svg-viewbox
2022-03-13 17:41:35 +01:00
bruvzg
e3f7510978
Add simulated bold variant to the editor CJK fonts.
2022-03-13 17:42:20 +02:00
Rémi Verschelde
c8fce1661d
Merge pull request #59102 from rcorre/copy-project-config
2022-03-13 15:38:55 +01:00
Ryan Roden-Corrent
d271e2517e
Copy full project setting path from dialog.
...
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.
Fixes #59020 .
2022-03-13 09:23:44 -04:00
kobewi
c53a84fdfd
Improve scene tab close button options
2022-03-13 02:14:32 +01:00
Ricardo Buring
ac32535d6e
Fix out of bounds crash in particle collision gizmo
2022-03-12 23:57:12 +01:00
Rémi Verschelde
84b358c1d8
Merge pull request #58338 from aaronfranke/bools
...
Initialize bools in the headers in `editor/`
2022-03-12 22:00:38 +01:00
Rémi Verschelde
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
Aaron Franke
918b09cabc
Initialize bools in the headers in editor
2022-03-12 13:34:06 -06:00
Rémi Verschelde
38122b8d85
Merge pull request #59050 from KoBeWi/tsal_eht_morf_ssecca
2022-03-12 14:50:56 +01:00
Rémi Verschelde
51505519c1
Merge pull request #59040 from Sauermann/fix-cursorshape-animationnodestatemachineeditor
2022-03-12 14:49:13 +01:00
Rémi Verschelde
f5dc2129a0
Merge pull request #59057 from timothyqiu/smart-guide
2022-03-12 13:12:00 +01:00
Yuri Roubinsky
073abe4b9c
Add "Add Script" option to project autoload settings
2022-03-12 12:57:05 +03:00
Haoyu Qiu
b255efba7c
Hide smart snapping line when guideline dragging ends
2022-03-12 14:37:20 +08:00
kobewi
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
Markus Sauermann
0d96dbcb2a
Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
Fix minor issue with selection order.
2022-03-11 19:10:45 +01:00
Rémi Verschelde
e56b69269f
Merge pull request #59013 from bruvzg/fake_bold_italics
2022-03-11 14:24:13 +01:00
Rémi Verschelde
6992c6e2fc
Merge pull request #59026 from Sauermann/fix-cursorshape-animationtrackedittypeaudio
2022-03-11 14:23:39 +01:00
Markus Sauermann
24942214d9
Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 13:17:13 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00
Rémi Verschelde
015fdfc28d
Merge pull request #58986 from akien-mga/diraccessref
2022-03-11 12:51:22 +01:00
Rémi Verschelde
1e099afc8a
Merge pull request #59016 from Sauermann/fix-cursorshape-animationtimelineedit
2022-03-11 11:05:56 +01:00
Rémi Verschelde
952b71a425
Merge pull request #58751 from bruvzg/loc_str_props
2022-03-11 10:45:02 +01:00
Markus Sauermann
4a8a6f892f
Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 10:18:27 +01:00
Rémi Verschelde
768f9422bc
Convert uses of DirAccess *
to DirAccessRef
to prevent memleaks
...
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
...
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
TechnoPorg
f4bc9f5821
Remove more occurrences of "stex"
2022-03-10 18:31:48 -07:00
Haoyu Qiu
6a1e3380f8
Remove unused code in AnimationPlayerEditor::_update_animation_list_icons()
2022-03-11 07:51:15 +08:00
Rémi Verschelde
7e4a8d3ab3
Merge pull request #58706 from timothyqiu/property-i18n
2022-03-10 21:09:50 +01:00
Rémi Verschelde
8a1c40341c
Merge pull request #58984 from rcorre/export-create
2022-03-10 14:39:44 +01:00
Rémi Verschelde
0a8f8b0e08
Merge pull request #58981 from EricEzaM/improvement/popup-menu-even-spacing
2022-03-10 14:11:14 +01:00
Rémi Verschelde
9b59736473
Merge pull request #58972 from reduz/expose-more-gdextension
2022-03-10 14:09:17 +01:00
Ryan Roden-Corrent
66a278f585
Create parent directories on export.
...
Fixes #42231 .
This works for both the UI and the --export CLI flag.
2022-03-10 07:35:30 -05:00
Eric M
862a88e906
Editor Style: make popup menu vseparation even, and force it to be even.
2022-03-10 21:51:26 +10:00
Rémi Verschelde
90faf04f29
Merge pull request #56476 from gerhean/fix_shortcut_collapse_after_edit
2022-03-10 12:49:27 +01:00
Fabio Alessandrelli
420982dfeb
Merge pull request #58735 from Calinou/editor-visual-profiler-tweak-frame-time-label
...
Tweak editor visual profiler frame time label for consistency
2022-03-10 12:39:27 +01:00
reduz
6f51eca1e3
Discern between virtual and abstract class bindings
...
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Rémi Verschelde
83f2942a04
Merge pull request #58969 from timothyqiu/ani-editor-theme
...
Fix some Animation panel icons not updating after theme change
2022-03-10 08:59:39 +01:00
Haoyu Qiu
83828c7d1b
Fix some Animation panel icons not updating after theme change
2022-03-10 14:46:03 +08:00
Haoyu Qiu
af16e099ea
Fix TextureRegion editor grid color for light themes
2022-03-10 10:59:01 +08:00
Rémi Verschelde
97cb90aa3a
Merge pull request #58907 from novaplusplus/gutter_spam_fix
2022-03-09 21:13:24 +01:00
Rémi Verschelde
33c907f9f5
Merge pull request #58929 from reduz/remove-variant-arg-macros
...
Remove VARIANT_ARG* macros
2022-03-09 20:48:45 +01:00
Rémi Verschelde
f17c5501eb
Merge pull request #58865 from timothyqiu/more-i18n
...
Add missing i18n to various strings
2022-03-09 20:38:19 +01:00
reduz
21637dfc25
Remove VARIANT_ARG* macros
...
* Very old macros from the time Godot was created.
* Limited arguments to 5 (then later changed to 8) in many places.
* They were replaced by C++11 Variadic Templates.
* Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard.
* Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09 18:39:13 +01:00
kobewi
39d429e497
Change some math macros to constexpr
...
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09 16:24:32 +01:00
Rémi Verschelde
e78f9da476
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 751769ed45
)
2022-03-09 10:44:18 +01:00
Haoyu Qiu
851ed8886c
Fix Autoload capitalization inconsistency
2022-03-09 15:03:03 +08:00
Michael Alexsander
182e038af5
Replace TabBar
's min_width
with max_tab_width
and expose it
2022-03-09 01:48:18 -03:00
nova++
ce66f8a7a0
Add check to prevent "p_gutter = -1" error spam
2022-03-08 20:23:46 -05:00
Yuri Roubinsky
4d6790e9df
Add _get_func_code/_is_available
virtual functions to custom nodes
2022-03-08 16:23:44 +03:00
Rémi Verschelde
f470979732
Merge pull request #58896 from timothyqiu/locks-n-groups
2022-03-08 12:54:59 +01:00
Rémi Verschelde
b4ed8885cc
Merge pull request #58892 from groud/avoid_toasters_mise_en_abyme
2022-03-08 12:50:44 +01:00
Haoyu Qiu
fb999ebe22
Don't show Lock & Group buttons for nodes hidden by CanvasLayer
2022-03-08 19:43:34 +08:00
Gilles Roudière
0a15706aca
Avoid recursive errors in EditorToaster
2022-03-08 11:51:08 +01:00
Silc 'Tokage' Renew
40f2eefe78
fix deselect behavior for Skeleton gizmo
2022-03-08 19:26:27 +09:00
K. S. Ernest (iFire) Lee
fd411e580a
Avoid gizmo crashes in cases where the points are null.
...
fix for pose editor
2022-03-08 06:21:04 +09:00
Haoyu Qiu
25d93200c8
Add missing i18n to various strings
2022-03-07 21:50:49 +08:00
Rémi Verschelde
d0c614ba74
Merge pull request #58761 from techiepriyansh/fix-multiple-instances
2022-03-07 10:40:19 +01:00