Commit Graph

544 Commits

Author SHA1 Message Date
062ccd439f Now EditorPropertyEnums can be setup multiple times. 2024-03-12 06:35:44 +01:00
d630dec41a Added missing icon. 2024-03-09 08:27:24 +01:00
60eb59ab19 Backpoered from Godot 4: Add is_built_in() method to Resource.
- KoBeWi
e393c2a734
2024-03-08 21:16:16 +01:00
70bd32682c Backported from godot4: Use a SpinBox in the inspector array resize dialog.
- fire-forge
d6188b4632
2024-03-08 16:43:22 +01:00
fc18954d20 Backported from godot 4: Reduce contrast in inspector array element backgrounds.
- fire-forge, reduz
f26414762f
2024-03-08 16:14:41 +01:00
b757336215 Backported from godot4: Defer EditorInspector::update_tree to the process stage to improve performance
`EditorInspector::update_tree` is expensive, so defer the call to the process phase
to prevent multiple calls in a single frame (when switching scene tabs).
- Rindbee
f352c30ad5
2024-03-08 16:12:21 +01:00
a44fb35ca1 Bakcported a change to the EditorInspector from:
Implement polygons editors in the tiles selection mode
- groud
cec004adf0
2024-03-08 16:06:42 +01:00
d1c0bc9cde Backported from godot4:
Fix property array tooltip shows wrong ID on later pages. Also do some cleanup, use`element_position` instead of `begin_array_index + i`
- jsjtxietian
d4ac65bc48
2024-03-08 16:03:16 +01:00
6027c323be Backported parts of:
Clean-up array editing
- reduz
0351a0908f
And:
Fixup array property inspector.
- rburing
4a59188898
2024-03-08 15:00:09 +01:00
1eb0c9347c Fix drag and drop with the editor properties array inspector. 2024-03-08 11:41:47 +01:00
54e735c1f2 Added an another piece of missing code. Now properties arrays work. 2024-03-08 11:12:06 +01:00
2e48acd426 Added some missing code from:
Implement properties arrays in the Inspector.
- groud
godotengine/godot@4bd7700
2024-03-08 11:00:13 +01:00
6e90a74706 Backported min and max zoom setting to the EditorZoomWidget from godot 4. 2024-03-03 18:47:57 +01:00
2b57397fa7 Backported PROPERTY_USAGE_ARRAY from Godot 4. Reused one of the old deprecated property usage flags for it.
Original commit:
Implement properties arrays in the Inspector.
- groud
4bd7700e89
2024-03-02 22:35:19 +01:00
cf7b59b6c8 Fix small formatting inconsistencies. 2024-03-01 16:25:19 +01:00
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
8c06dce33f Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter. 2024-02-25 22:09:25 +01:00
5c9996fd58 Added an editor plugin for HTMLTemplateData. Double clicking one in the editor will open the underlying file on the text editor tab (if enabled). 2024-02-25 17:26:28 +01:00
a5fcaa536f Fix errors during filtering Nodes in the editor. 2024-02-08 22:42:42 +01:00
da41965485 Added back ResourceImporterOBJ from godot. 2024-02-08 21:52:13 +01:00
a5d8696021 Ported: Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
- lawnjelly
0aa22b8f13
2024-02-08 21:35:01 +01:00
c3c6d64a50 Portred: Add MergeGroup node to simplify merging Meshes at runtime.
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
37d2f96834 Fix more errors. 2024-02-08 17:43:26 +01:00
4836053b07 Fix build. 2024-02-08 17:30:15 +01:00
Rémi Verschelde
d111a460b3 Linux: Add support for arm64 and arm32 export templates
This is done in a hacky way, mostly to keep it simple and avoid having
to do a refactoring of the `EditorExportPlatform` interface.

Only Windows and Linux use `EditorExportPlatformPC`, and thus to
handle the new architectures for Linux, we simply do a few checks here
and there with a couple new methods to register the export template
names for Linux arm64 and arm32.

For Godot 4.0, we did refactor everything to allow exporting binaries
for different architectures cleanly. For 3.6, which is likely the last
feature release for the 3.x branch, I tend to cut corners as these
improvements will be shorter lived and thus new tech debt isn't as big
a concern.
2024-02-08 15:01:00 +01:00
Micky
f3833e82ac Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-02-08 14:46:41 +01:00
James
4d93f4434d Prevent using name with leading dot when create/rename/duplicate scene/folder/script/resource Fixes #62497 2024-02-08 13:58:32 +01:00
kleonc
44453b1d58 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-12-20 22:44:23 +01:00
Haoyu Qiu
838b46ac1a Allow dragging editable children 2023-12-20 22:28:25 +01:00
99621357a0 File copyright header updates pt4. 2023-12-17 22:50:00 +01:00
88e9ad04f2 Moved back the servers and resources from core. 2023-12-10 23:11:07 +01:00
11945d7f1d Split material.h. 2023-12-10 21:26:28 +01:00
63c895747a Moved Curve and Gradient to core. 2023-12-10 20:23:51 +01:00
e32155717c Moved 2d shapes to core. 2023-12-10 20:03:16 +01:00
9d2309bfe1 Moved shapes to core. 2023-12-10 19:58:44 +01:00
053f083e17 Moved the Physics 2d server to core. 2023-12-10 19:42:57 +01:00
dbcc6e33da Moved the physics server to core. 2023-12-10 19:36:00 +01:00
238bf1b331 Moved the RenderingServer to core. 2023-12-10 19:04:24 +01:00
049440aaf1 Moved BitMap to core. 2023-12-10 18:07:25 +01:00
3902cf1924 Moved ScneeStringNames and PropertyUtils into scene/main. 2023-12-10 18:01:51 +01:00
9df5649c1b Moved CanvasItem, Control, Node2D and Spatial under scene/main. 2023-12-10 15:50:54 +01:00
0dfba6c552 Moved AudioStreamSample. 2023-12-10 15:26:43 +01:00
763f662263 Moved meshes to a new subfolder. 2023-12-10 15:22:09 +01:00
deccaed2cc Moved materials into a new subfolder. 2023-12-10 14:59:22 +01:00
08160fd63f Moved fonts into a new subfolder. 2023-12-10 14:42:30 +01:00
4cbc387c53 Moved the navigation relatred resources into subfolders. 2023-12-10 14:23:24 +01:00
2cc42b045a Moved shapes under a new shapes folder. 2023-12-10 14:10:10 +01:00
e50ab7fa84 Moved 2d shapes under a new shapes_2d folder. 2023-12-10 13:55:20 +01:00
b34258606b Moved Animation from scene/resources to scene/animation. 2023-12-10 13:30:23 +01:00
ab8fb2b63d Set a minimal split offset when the FilesystemDock changes split modes. 2023-10-20 21:32:37 +02:00
4b29c01fdc Now EditorFilesystemDock will apply the split_mode setting immediately. Also smaller fixes. 2023-10-20 21:19:54 +02:00
4628e5354e Reworked the wide mode setting for the filesystem dock. Now the code is more flexible and less error prone. 2023-10-20 17:02:41 +02:00
2e7709185a Added a new CSplitContainer type which acts as both a VSplitContainer and HSplitContainer and allows changing between them using a property. 2023-10-20 15:06:23 +02:00
e6ee1f0c0f Added a new CBoxContainer type which acts as both a VBoxContainer and HBoxContainer and allows changing between them using a property. 2023-10-20 13:44:43 +02:00
4cc096a002 Bind more methods in EditorInspector. 2023-10-16 12:29:26 +02:00
1102a6c2e5 Don't hide the script property in sub inspectors. 2023-10-16 09:41:43 +02:00
3b5bd395cb Make sure that the FileSystem is made visible properly when needed in both it's normal and it's bottom bar mode. 2023-10-13 09:35:56 +02:00
4995a4b90c Fix issues with the new FileSystem dock settings. 2023-10-12 02:48:48 +02:00
a2f1f2925f Added docs for the 2 new editor properties. 2023-10-12 02:12:20 +02:00
09f89fb0f5 Added a new editor setting (docks/filesystem/wide_bottom_panel) which makes the file system appear in the bottom panel instad of as a dock. 2023-10-12 01:53:08 +02:00
4c18e9c704 If a plugin does not have an icon fall back to using it's name. 2023-10-11 17:31:30 +02:00
4019a15e67 Now the names of the main screen plugins can be hidden in the editor by the new interface/editor/hide_main_screen_plugin_names editor setting. 2023-10-11 17:24:19 +02:00
b4692f1763 Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
7df893ab6b Ported from godot: Add context support for editor translation
- timothyqiu
878cf8262a
2023-10-02 20:48:04 +02:00
23a71e54e5 Added back the translations from godot. 2023-10-02 20:03:52 +02:00
b81253b22d Removed the text from the layouts buttons in the CanvasItemEditor. 2023-09-22 12:46:06 +02:00
443cfea5b2 Fix built in resource drag&drop and scene quick instancing in the editor. 2023-09-22 11:09:41 +02:00
587e896daf Fix drag and drop for custom script exported resource classes. 2023-09-10 22:24:52 +02:00
5c1254e429 Implemented custom script class types for EditorQuickOpen. 2023-09-10 22:19:26 +02:00
f315784d22 Added shortcust for toggling the default bottom menu items. CTRL + ALT + 1 - 5. 2023-09-09 14:38:45 +02:00
cf7ca783c7 Change the bottom bar collapse shortcut to CTRL (CMD) - U. 2023-09-09 14:21:34 +02:00
c1622601f1 Fix maybe uninitialized warning. 2023-09-09 14:03:21 +02:00
ab82a74b04 Added a shortcut and button to quickly collapse / close the bottom panel (CTRL-B). 2023-09-09 14:03:10 +02:00
edec78785d The match case option is on by default now when searching in the current file and in files in the editor. 2023-09-09 02:26:36 +02:00
ccb6074ca9 Backported the editor constrol changes for the new shortcut system from godot4. 2023-09-07 13:41:05 +02:00
9a2bf73280 Backported _shortcut_input() virtual from godot4. 2023-09-07 09:56:16 +02:00
448825acc1 Temporarily disabled EditorLog's new shortcuts. 2023-09-06 22:37:21 +02:00
c86269cf49 Hide the editor log search bar by default. 2023-09-06 14:23:55 +02:00
e7fe643ce5 Prefix messages with their thread id if they aren't coming from the main thread in the editor log. 2023-09-06 14:19:28 +02:00
deb5c49700 Backported the new output window from godot4. 2023-09-06 13:08:24 +02:00
2183fe6e0f Fix double script icon in the editor. 2023-09-06 01:56:17 +02:00
0a9c9ca15e Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5 by Atlinx
2023-09-06 01:45:29 +02:00
5a758b5c1e Fix the tooltip of the Debug Paths option. 2023-09-04 22:29:29 +02:00
8485b37515 Ported from godot4: 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".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
24d7260169 Replaced the text with an icon on the SpatialEditor's and the CanvasItemEditor's view button. 2023-09-03 14:17:49 +02:00
e0bafda416 Replace the Transform text with an icon in SpatialEditor's toolbar. 2023-09-03 14:04:00 +02:00
3b602c87d4 Removed superfluous VSeparator from the SpatialEditor. 2023-09-03 13:56:04 +02:00
0db05de552 Convert MeshInstanceEditorPlugin's toolbar to the new style. 2023-09-03 13:52:22 +02:00
fc1a75c678 Converted the menu buttons of the Portals and Rooms system to the new style. 2023-09-03 13:35:55 +02:00
a5219d45d5 Never show text for the Convert Rooms button. 2023-09-03 13:23:16 +02:00
72119a0ec0 Group the Anchor and Presets buttons under a common HBoxContainer in CanvasItemEditor. 2023-09-03 13:00:55 +02:00
86ee8840ac Removed the diffferently styled context menu from the SpatialEditor and the CanvasItemEditor. New controls are now added directly to the main FlowContainer, so they wrap properly. While having a different background for context sensitive items can look good, it doesn't work well if it's not per plugin. 2023-09-03 12:36:23 +02:00
eb8943a4f6 Backported from godot4: Add Path2D/3D debug options
- smix8
e12e239ab4
2023-09-02 11:38:01 +02:00
DeeJayLSP
677c9cfea4 Backport AudioStream icons from 4.0 2023-08-27 12:04:19 +02:00
834cbe8cef Ported: Single Compilation Unit build.
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
- lawnjelly
43e181a00a
2023-07-11 16:07:36 +02:00
Hugo Locurcio
bdaeebce83 Update gamepad button/axis names to match 4.0 2023-06-28 12:24:29 +02:00
Ninni Pipping
26dc653dcb Bounds fixes in TextureAtlas import 2023-06-28 12:22:18 +02:00
21003539a3 Added warning for the android editor that android will kill the game after a few seconds if it's opened in the same window as the editor and then it goes to the backgond. Should be still enough to see what's the issue of you don't intentionally debug break though. 2023-06-15 12:04:38 +02:00
c68ec30899 Fix warning in the android editor. 2023-06-15 10:20:18 +02:00
1a5cba555c Backported godot4 PR: Support threads in the script debugger
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00