Commit Graph

10770 Commits

Author SHA1 Message Date
e6b0496415 Show that resources of remaps can not be found 2022-08-02 12:38:37 +02:00
897d02e2a0 Change translation remaps if files are moved 2022-08-02 12:36:40 +02:00
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
b2daf9afc8 Merge pull request #63806 from DarkMessiah/guidelines-appearance-bug 2022-08-02 08:22:43 +02:00
44ce838192 Fix guidelines appearance 2022-08-02 12:38:23 +07:00
86798d36db Remove CustomPropertyEditor completely 2022-08-01 22:57:05 +03:00
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
1c9ba5ef3e Remove excessive editor/property_editor.h includes 2022-08-01 17:19:11 +03:00
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
f04004b24c Merge pull request #55450 from Calinou/script-editor-improve-light-theme-syntax-colors 2022-08-01 00:08:25 +02:00
6c5330154e Merge pull request #63429 from RandomShaper/indicate_overridden 2022-07-31 23:54:38 +02:00
a50d232015 Merge pull request #49045 from foxydevloper/hide-custom-settings-non-advanced 2022-07-31 23:53:58 +02:00
f2791a75b3 Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifi 2022-07-31 23:52:54 +02:00
8ad80f0547 Merge pull request #63737 from YuriSizov/editorresourceconversionpluginactomy 2022-07-31 23:52:38 +02:00
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
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
214d0b20b0 Merge pull request #62936 from Xwdit/script_doc_inspector_property 2022-07-31 22:28:05 +02:00
7d9a5d79e6 Find a better solution for the script editor member list sometimes not being updated 2022-07-31 21:43:11 +02:00
9f55bd971e Extract EditorResourceConversionPlugin into its own source files and clean up editor includes 2022-07-31 21:14:15 +03:00
64d133747b Add node path drag from remote tree 2022-07-31 18:24:56 +02:00
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
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
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
c86cceb423 Hide method filter bar when selecting a doc in the Script editor 2022-07-30 20:07:46 -03:00
c9fe780239 Fix elements not being shown on first selected script/doc 2022-07-30 19:33:58 -03:00
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
a2c60fbc2b Merge pull request #48948 from likeich/cleanup_binds
Remove unused bindings in ProjectManager
2022-07-31 00:09:09 +02:00
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
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
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
cca072aa86 Merge pull request #63679 from PrecisionRender/master
Fix `ShapeCast3D` creating runtime shape in editor
2022-07-30 18:22:52 +02:00
2f46749f4e Fix ShapeCast3D creating runtime shape in editor 2022-07-30 10:21:53 -05:00
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
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
3e5ad8213f Merge pull request #63563 from aaronfranke/export-arch 2022-07-30 11:22:25 +02:00
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
f4f8b18ebe Merge pull request #63647 from bruvzg/exp_msg_imp
Improve some export error messages.
2022-07-30 09:21:11 +02:00
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
1fad0522d0 Fix a path handling issue of ProjectConverter3To4 2022-07-30 14:05:51 +09:00
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
18aad2807e Fix font preview plugin not using editor scale. 2022-07-29 23:42:09 +03:00
15a02c49be Merge pull request #61647 from KoBeWi/SaverResource 2022-07-29 22:30:51 +02:00
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
ea00cf7270 Improve some export error messages. 2022-07-29 22:44:59 +03:00
c3606cb5f3 Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
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
ba3734e69a Merge pull request #63603 from aaronfranke/editor-paths
Move editor paths into the EditorPaths class
2022-07-29 19:31:59 +02:00
74d92bf459 Merge pull request #43081 from KoBeWi/property_keeper
Keep property values when extending script
2022-07-29 19:29:52 +02:00
7199314eb3 Merge pull request #63595 from reduz/remove-signal-connect-binds
Remove Signal connect binds
2022-07-29 18:10:39 +02:00