Commit Graph

10555 Commits

Author SHA1 Message Date
Rémi Verschelde e1809f5667
Merge pull request #63704 from fire-forge/no-code
Fix EditorPropertyMultilineText expression mode
2022-08-06 00:32:22 +02:00
Rémi Verschelde d100c2d59f
Merge pull request #63776 from fire-forge/shapecast2d
Add ShapeCast2D editor handle and improve debug drawing
2022-08-06 00:27:41 +02:00
Rémi Verschelde bd833f8e06
Merge pull request #63871 from bruvzg/ts_build_options
Add Text Server related options to the build profiles editor.
2022-08-06 00:23:41 +02:00
Rémi Verschelde 10f9f20849
Merge pull request #63887 from qarmin/more_renames
Various converter enhancements and bugfixes
2022-08-06 00:21:24 +02:00
Rémi Verschelde 99aa97949f
Merge pull request #63958 from hakro/fix-control-animation-keys
Remove rect_ prefix from control properties when keyframing
2022-08-06 00:17:37 +02:00
Yuri Sizov bd5ad943b4 Rebuild the trees in the EditorFeatureProfile dialog when the editor theme changes 2022-08-05 19:17:58 +03:00
Hakim 60677c4e95 Remove rect_ prefix from control properties when keyframing 2022-08-05 16:04:51 +02:00
Hugo Locurcio 3dab891691
Tweak PopupMenu item spacing in the editor theme
- Increase spacing between items for easier clicking with the mouse.
- Increase lateral margins for better visual appearance.
- Decrease margin at the top and bottom to compensate for the increased
  per-item height.
2022-08-05 11:29:12 +02:00
Rémi Verschelde 97db538352 i18n: Sync editor translations with Weblate
(cherry picked from commit 4e64c1f1b6)
2022-08-05 03:32:15 +02:00
Hugo Locurcio db22b7ded0
Rename shader parameter uniform setter/getter methods for consistency
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
2022-08-04 23:17:06 +02:00
Rémi Verschelde 80193260ff
Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi 2022-08-04 21:41:03 +02:00
hoontee 21b9b117be Add `TorusMesh` 2022-08-04 13:45:54 -05:00
Yuri Sizov ebcfd13c30 Add text overrun behavior for the theme type selector 2022-08-04 19:07:10 +03:00
Ricardo Buring 4a59188898 Fixup array property inspector 2022-08-04 16:21:09 +02:00
Rémi Verschelde 3085d0f03c
Merge pull request #62572 from Calinou/editor-node-warnings-multiple-icons
Distinguish multiple node configuration warnings in the scene tree dock
2022-08-04 09:20:48 +02:00
Rémi Verschelde a1d4cf6898
Merge pull request #63894 from fire-forge/add-metadata-button
Add spacing above the "Add Metadata" button
2022-08-04 09:06:18 +02:00
Hugo Locurcio d86bb3819e
Add editor icons for all AudioStream resources 2022-08-04 02:29:15 +02:00
Hugo Locurcio 393cf40922
Distinguish multiple node configuration warnings in the scene tree dock
A number of dots is present next to the node configuration icon
warning when there is more than 1 warning.

Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-08-04 02:20:11 +02:00
Rafał Mikrut 3d3fce0d3c Various converter enhancements and bugfixes 2022-08-03 22:28:51 +02:00
Hristo Stamenov 0e1f7e9f89 Removed faulty function update after get_property_list.
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-03 21:45:16 +03:00
Rémi Verschelde ea4b8de2b4
Merge pull request #63877 from YeldhamDev/check_theme_fix
Fix text position when hovering pressed `CheckButton/Box` elements in the editor
2022-08-03 18:35:09 +02:00
Rémi Verschelde 2d372d9e10
Merge pull request #56442 from PucklaMotzer09/remap_files_moved 2022-08-03 16:57:26 +02:00
Rémi Verschelde 38cf9b4b8e
Merge pull request #63867 from Calinou/editor-rename-visual-shader-setting 2022-08-03 16:57:08 +02:00
Michael Alexsander 1bd9efae36 Fix text position when hovering pressed `CheckButton/Box` elements in the editor 2022-08-03 11:08:30 -03:00
Rémi Verschelde 9b742f8d82
Merge pull request #48561 from Calinou/editor-theme-selected-tab-border-lineup 2022-08-03 14:30:42 +02:00
bruvzg 066ca97690
Add Text Server related options to the build profiles editor.
Adds SCons options to disable Brotli and Graphite.
Adds option categories to the build profiles editor.
Adds options default state to the build profiles editor.
Adds Text Server related options to the build profiles editor.
Fix misplaced OpenGL/Vulkan SCons options.
2022-08-03 15:06:43 +03:00
PucklaMotzer09 b32b570d7a Show dependency warning when removing remaps and fallback if translation
remap does not exist
2022-08-03 12:31:29 +02:00
Hugo Locurcio ecefb5505a
Rename visual shader editor setting category for proper capitalization 2022-08-03 11:38:29 +02:00
Rémi Verschelde 39a794b1d5
Merge pull request #63266 from reduz/cleanup-array-editing 2022-08-03 11:37:55 +02:00
Hugo Locurcio dc0ac50f45
Visually line up the selected tab with the underlying panel with borders 2022-08-03 11:01:33 +02:00
Hugo Locurcio 813bfe00f3
Don't replace RootMotionView with Node in a running project
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +02:00
FireForge 3200f196da Add 4px of spacing above the "Add Metadata" button 2022-08-02 17:39:08 -05:00
reduz 0351a0908f Clean-up array editing 2022-08-02 23:36:02 +02:00
Rémi Verschelde 515552860b
Merge pull request #63597 from paddy-exe/spatial-shader-built-ins
Add often used built-ins (camera-pos, object-pos, camera-eye etc.) to spatial shaders
2022-08-02 19:20:19 +02:00
Rémi Verschelde c67febb008
Merge pull request #63830 from KoBeWi/regEX
Add static method for creating RegEx
2022-08-02 18:16:04 +02:00
Patrick Exner fe5901310e Add spatial built-ins (camera-pos, object-pos, camera-eye etc.) 2022-08-02 17:30:41 +02:00
Rémi Verschelde 47be80905c
Merge pull request #63825 from fire-forge/bpm 2022-08-02 16:26:23 +02:00
kobewi 61a2cb65b1 Add static method for creating RegEx 2022-08-02 15:56:46 +02:00
Rémi Verschelde 0f9e84feab
Merge pull request #50614 from foxydevloper/clarify-group-tooltip
Improve tooltips for grouping/ungrouping nodes
2022-08-02 15:56:27 +02:00
FireForge 9f537f58a8 Add capitalization for "BPM" 2022-08-02 08:35:29 -05:00
PucklaMotzer09 0f9086e131 Update remaps in "file_removed" signal 2022-08-02 12:40:11 +02:00
PucklaMotzer09 e6b0496415 Show that resources of remaps can not be found 2022-08-02 12:38:37 +02:00
PucklaMotzer09 897d02e2a0 Change translation remaps if files are moved 2022-08-02 12:36:40 +02:00
Alfred R. Baudisch eaaedb24a3 Display sub-plugins when Stay in Script Editor is On
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.

With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.

Fixes and closes #63621.
2022-08-02 09:51:44 +02:00
Rémi Verschelde b2daf9afc8
Merge pull request #63806 from DarkMessiah/guidelines-appearance-bug 2022-08-02 08:22:43 +02:00
Stanislav Labzyuk 44ce838192 Fix guidelines appearance 2022-08-02 12:38:23 +07:00
Yuri Sizov 86798d36db Remove `CustomPropertyEditor` completely 2022-08-01 22:57:05 +03:00
Hugo Locurcio 6059a9b624
Improve easing inspector usability
- Add `positive_only` property hint to disallow using negative presets.
  These values are clamped in several places in the editor already,
  so this avoids displaying presets that don't work.
- Move the Zero preset at the end of the positive list to match
  the custom property editor. It's also used less often than Linear,
  Ease In and Ease Out.
- Rename presets to be consistent between the easing property editor
  and custom property editor.
- Remove unused `inout` hint which was redundant since it was already
  the default.
2022-08-01 18:40:04 +02:00
Yuri Sizov 1c9ba5ef3e Remove excessive `editor/property_editor.h` includes 2022-08-01 17:19:11 +03:00
FireForge 7cfa9ae539 Improve ShapeCast2D editor and debug drawing
- Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and make it also support editing ShapeCast2D.
- Apply RayCast2D debug drawing improvements from #46675 to ShapeCast2D.
2022-07-31 17:47:36 -05:00
Rémi Verschelde f04004b24c
Merge pull request #55450 from Calinou/script-editor-improve-light-theme-syntax-colors 2022-08-01 00:08:25 +02:00
Rémi Verschelde 6c5330154e
Merge pull request #63429 from RandomShaper/indicate_overridden 2022-07-31 23:54:38 +02:00
Rémi Verschelde a50d232015
Merge pull request #49045 from foxydevloper/hide-custom-settings-non-advanced 2022-07-31 23:53:58 +02:00
Rémi Verschelde f2791a75b3
Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifi 2022-07-31 23:52:54 +02:00
Rémi Verschelde 8ad80f0547
Merge pull request #63737 from YuriSizov/editorresourceconversionpluginactomy 2022-07-31 23:52:38 +02:00
Rémi Verschelde e2307dc76a
Merge pull request #63741 from MinusKube/script-editor-members-bug
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 23:51:36 +02:00
Hugo Locurcio 0a24d40836
Improve script editor's light theme syntax colors for better readability
New colors were hand-picked to have a better contrast rate,
while still following the general coloring of the previous light theme.

This improves the light theme's accessibility, especially in outdoor
environments with direct sunlight.
2022-07-31 23:40:48 +02:00
Rémi Verschelde 214d0b20b0
Merge pull request #62936 from Xwdit/script_doc_inspector_property 2022-07-31 22:28:05 +02:00
MinusKube 7d9a5d79e6 Find a better solution for the script editor member list sometimes not being updated 2022-07-31 21:43:11 +02:00
Yuri Sizov 9f55bd971e Extract EditorResourceConversionPlugin into its own source files and clean up editor includes 2022-07-31 21:14:15 +03:00
kobewi 64d133747b Add node path drag from remote tree 2022-07-31 18:24:56 +02:00
foxydevloper 1ff9a09e2c Improve tooltips for grouping/ungrouping nodes 2022-07-31 10:56:32 -04:00
fox 41cc9f9a43 Hide altering custom properties in basic mode
Hides the row for adding and removing custom properties from showing up
when advanced mode is disabled.
2022-07-31 10:38:44 -04:00
Sean Kim f1ba63e092 Fix EditorSettings crashes due to nullptr dereference
Fixes #45979

Noted a few places in this file that would have similar errors, so any
access to the EditorSettings singleton has had a check added.
2022-07-31 13:01:38 +02:00
Rémi Verschelde 66d1bb84c3
Merge pull request #63697 from YeldhamDev/script_elements_fix
Fix elements not being shown on first selected script/doc
2022-07-31 01:14:57 +02:00
Michael Alexsander c86cceb423 Hide method filter bar when selecting a doc in the Script editor 2022-07-30 20:07:46 -03:00
Michael Alexsander c9fe780239 Fix elements not being shown on first selected script/doc 2022-07-30 19:33:58 -03:00
Rémi Verschelde a32f84dda9
Merge pull request #63690 from snailrhymer/rotation-snap-fix
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
2022-07-31 00:20:07 +02:00
Rémi Verschelde a2c60fbc2b
Merge pull request #48948 from likeich/cleanup_binds
Remove unused bindings in ProjectManager
2022-07-31 00:09:09 +02:00
Rémi Verschelde 6e8f8c0409
Merge pull request #52025 from Calinou/open-in-new-inspector-use-packedstringarray
Use a PackedStringArray for the "open in new inspector" editor setting
2022-07-31 00:08:06 +02:00
SnailRhymer 0ac971c0d3 Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
Default values for snap_rotation_step and snap_rotation_offset were transposed. Swap them back.
2022-07-30 20:05:24 +01:00
Hugo Locurcio 4b478c2854
Use a PackedStringArray for the "open in new inspector" editor setting
This is safer and provides a more convenient array editor for users.
2022-07-30 21:00:22 +02:00
Rémi Verschelde cca072aa86
Merge pull request #63679 from PrecisionRender/master
Fix `ShapeCast3D` creating runtime shape in editor
2022-07-30 18:22:52 +02:00
PrecisionRender 2f46749f4e Fix `ShapeCast3D` creating runtime shape in editor 2022-07-30 10:21:53 -05:00
Pedro J. Estébanez 4a127cb5fe Improve usability of non-default values in the property inspector
- Provide a visual indication that a (sub)group contains non-default (revertable) values when it's collapsed.
- Add a new option to the inspector's tools menu for expanding only (sub)groups containing properties with non-default values.
2022-07-30 15:25:45 +02:00
Kyle 0269465021 Remove unused bindings in ProjectManager
They were left over after changes to master made them obsolete.
2022-07-30 11:53:56 +02:00
Rémi Verschelde 3e5ad8213f
Merge pull request #63563 from aaronfranke/export-arch 2022-07-30 11:22:25 +02:00
Rémi Verschelde 4b377540c7
Merge pull request #63664 from heppocogne/Fix-convert3to4-path-handling-issue
Fix a path handling issue of ProjectConverter3To4
2022-07-30 09:23:33 +02:00
Rémi Verschelde f4f8b18ebe
Merge pull request #63647 from bruvzg/exp_msg_imp
Improve some export error messages.
2022-07-30 09:21:11 +02:00
Rémi Verschelde f7c22756e1
Merge pull request #63654 from bruvzg/font_prev_scale
Fix font preview plugin not using editor scale.
2022-07-30 09:20:27 +02:00
heppocogne 1fad0522d0 Fix a path handling issue of ProjectConverter3To4 2022-07-30 14:05:51 +09:00
Rémi Verschelde 9094262a6b
Merge pull request #48548 from Calinou/editor-help-add-editor-settings
Add support for documenting most editor settings in the class reference
2022-07-30 00:39:16 +02:00
bruvzg 18aad2807e
Fix font preview plugin not using editor scale. 2022-07-29 23:42:09 +03:00
Rémi Verschelde 15a02c49be
Merge pull request #61647 from KoBeWi/SaverResource 2022-07-29 22:30:51 +02:00
Hugo Locurcio 63ce655e75 Add support for documenting most editor settings in the class reference
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-29 22:07:01 +02:00
bruvzg ea00cf7270
Improve some export error messages. 2022-07-29 22:44:59 +03:00
kobewi c3606cb5f3 Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
Rémi Verschelde 6ba7dacf6b
Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methods
Expose TileMap methods related to the name of custom data layers
2022-07-29 19:43:55 +02:00
Rémi Verschelde ba3734e69a
Merge pull request #63603 from aaronfranke/editor-paths
Move editor paths into the EditorPaths class
2022-07-29 19:31:59 +02:00
Rémi Verschelde 74d92bf459
Merge pull request #43081 from KoBeWi/property_keeper
Keep property values when extending script
2022-07-29 19:29:52 +02:00
Rémi Verschelde 7199314eb3
Merge pull request #63595 from reduz/remove-signal-connect-binds
Remove Signal connect binds
2022-07-29 18:10:39 +02:00
Aaron Franke ac870ab1c8
Move editor paths into the EditorPaths class 2022-07-29 11:07:30 -05:00
Aaron Franke 17c4cd6412
Update export dialog to handle many architectures 2022-07-29 10:24:58 -05:00
Aaron Franke a0072ba39f
Make some editor export methods const 2022-07-29 10:24:13 -05:00
Tomasz Chabora 44cf3c22ac Keep property values when extending script 2022-07-29 16:57:50 +02:00
Juan Linietsky d4433ae6d3 Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
ajreckof 8433ad5353 expose TileMap methods related to the name of custom data layers 2022-07-29 15:05:42 +02:00
Rémi Verschelde 8b454f8b41
Merge pull request #62601 from smix8/navigation_3d_debug_4.x 2022-07-29 12:29:32 +02:00
Rémi Verschelde af054f1003 Export: Fix template path for PC (Windows, Linux)
Regression after #63096.
2022-07-29 11:03:18 +02:00
Rémi Verschelde 9869182e8a
Merge pull request #62629 from linkpy/master
Make the alternative tile control correctly handle right-click dragging.
2022-07-29 10:14:42 +02:00