Commit Graph

260 Commits

Author SHA1 Message Date
74dc60ec5f Fix compile. 2022-07-27 01:05:16 +02:00
d1108dc8bc Ported: Implement Scene Unique Nodes - KoBeWi
e1c74ae83f
2022-07-27 00:45:48 +02:00
Hugo Locurcio
416258cd55 Fix project manager window position when editor scale is above 100%
This backports a fix from `master` to `3.x` (with simplified code).
2022-07-26 15:00:44 +02:00
FireForge
d4d913bd4c Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59b28de8243f945c6cb965bee83efadf)
2022-07-26 14:59:48 +02:00
2b6b95db1f Fix compile. 2022-07-26 12:55:53 +02:00
Haoyu Qiu
6191e0f0b8 Add option to paste animation as duplicate
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-07-26 12:45:49 +02:00
Haoyu Qiu
0658cad124 Localize unnamed project name in editor window title
(cherry picked from commit 35d087813981d05a699221f6bc7e5c72fc55c665)
2022-07-26 12:36:44 +02:00
Jason Yundt
983eec5521 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.

(cherry picked from commit 1cc7e7ec33a652647d63cb32fa164eceef87c653)
2022-07-26 12:34:50 +02:00
Haoyu Qiu
5dc677822d Clip animation track keyframe rects
(cherry picked from commit c7e06e2202c97dbd75933fe1b587d668a717c5f2)
2022-07-26 11:51:46 +02:00
9d9a394af6 Ported: Add an explicit way to remove a theme type. - timothyqiu and YuriSizov
f6251724af
2022-07-25 23:46:08 +02:00
48366a8490 Ported: Refactor editor extract.py - timothyqiu
545e2ceb8a
2022-07-25 23:04:53 +02:00
79c193aabb Ported: Improve Select Frames dialog of SpriteFrames editor. - timothyqiu
32488b46a6
2022-07-25 22:25:18 +02:00
15b447d880 Ported: Update the editor display scale based on the device's scaled density - m4gr3d
3ba0508f79
2022-07-25 22:07:34 +02:00
d85caf2c71 Ported:
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
9017b5bf26 Ported:
Restore hidden folder behavior for project manager - Ev1lbl0w
5f05cb8696
2022-07-25 19:11:45 +02:00
335d98afcd Ported:
Add missing newlines to the generated default_env.tres in new projects. This prevents unnecessary whitespace changes in VCS diffs when saving a scene for the first time in a new project. - Calinou
053b54b67c
2022-07-25 19:05:27 +02:00
eb99e955d9 Ported:
Update SceneTree debug colors when settings changed - timothyqiu
37d4306c2e
2022-07-25 18:55:29 +02:00
Ev1lbl0w
5dbc95691c Hide .gdignore'd folders
(cherry picked from commit 057a0e00ebb3a7cbfd5692363c9d219156f0373c)
2022-07-25 18:48:54 +02:00
Haoyu Qiu
168b1c2ae5 Fix popup dialog UI in AnimationTreePlayer editor 2022-07-25 18:48:32 +02:00
82aaf6d586 Fix build. 2022-07-25 18:42:16 +02:00
Haoyu Qiu
8eb81855d9 Disable "Open in Inspector" when there is no animation 2022-07-25 18:18:44 +02:00
Haoyu Qiu
c0010ad0f1 Focus filter LineEdit after Theme Type dialog popup 2022-07-25 18:15:49 +02:00
Haoyu Qiu
9e0a1c88a0 Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-07-25 18:12:28 +02:00
ConteZero
d45100b57b Fix Copy Selection on editor_log 2022-07-25 18:10:21 +02:00
Nicholas Huelin
344d18b2ee 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
(cherry picked from commit 01ca9d3eec71154b6b0d32d34cab6b9fdb6fd24c)
2022-07-25 17:49:58 +02:00
Daniel Kříž
62dc43396c Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a6563e374c95ff9bdf6171117a59e6a)
2022-07-25 17:49:27 +02:00
Vitika9
41eb735bb2 Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc524edf7fa3fdcaaa1e7f22ffbbe287c)
2022-07-25 17:48:55 +02:00
taigi100
4ce3baf8f9 Update properties to properly filter for templates.
(cherry picked from commit d8d73cdd023253d778acf0e826b38be4046a6e1f)
2022-07-25 17:45:18 +02:00
Haoyu Qiu
10eba686fb Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef82546fa0f50b431f20423b62621d1c5ac)
2022-07-25 17:43:42 +02:00
Rémi Verschelde
92561386ec 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.

(cherry picked from commit b389ce5ccd664c993772a0b71ba99a875106b523)
2022-07-25 17:42:23 +02:00
Vitika9
b6273a70ce Removed extra separator in absence of ChangeType and Rename
(cherry picked from commit 46ca4737f19f3701ec352f2e898514109c096587)
2022-07-25 17:41:16 +02:00
Priyansh Rathi
a834816352 fix same project opening mutliple times from project manager 2022-07-25 17:38:49 +02:00
Haoyu Qiu
c14e9cc48b Update inspector layer names when project settings changed 2022-07-25 17:32:32 +02:00
fb02d16983 Now custom controls can be added to the top bar of the plugin settings page. 2022-07-16 19:28:39 +02:00
73ac91dc86 Fixed remaining issues and added cscript to the build. 2022-07-12 22:58:44 +02:00
2093cef963 Ported the EditorZoomWidget from Godot4. 2022-04-10 23:29:21 +02:00
85536b1134 Removed the online docs link from the top of the script editor. 2022-03-23 23:29:58 +01:00
c054c4db58 Cleaned up more remnants of the mono module. 2022-03-23 23:10:27 +01:00
408cd17225 Removed all translations except hungarian, as I won't be able to keep them updated. 2022-03-23 22:04:58 +01:00
2c5d5b7d3f Removed download support from the export templates manager for now. 2022-03-23 21:48:34 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
b74c00ea65 Backported the 3.x android editor port pr by m4gr3d and thebestnom. (Godot pr 57747). 2022-03-22 19:35:57 +01:00
14a7a209af Fix the new errors during the start of the editor. 2022-03-22 09:38:47 +01:00
4871c46ec0 Also hackfix Rect2i's icon name . 2022-03-22 01:53:24 +01:00
beb83b286d Also implement editor property support for PoolVector2i, and PoolVector3i, and all new class support for the Dictionary and Array properties. 2022-03-22 01:52:54 +01:00
68c0469aa5 Added editor properties for Vector2i, Vector3i, and Rect2i. 2022-03-22 01:34:43 +01:00
6c91c3f9d5 Added a hack to the editor icon builder script, because it capitalized The new int classes wrong. (Vector2i was capitalized Vector2I). 2022-03-22 00:40:56 +01:00
84955fab68 Added icons for the newly added core classes. 2022-03-21 23:50:08 +01:00
c4811ebf6f Removed the arvr related icons. 2022-03-21 23:49:48 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
aa1fb22309 Backported: Add missing navigation node icons - timothyqiu, YeldhamDev - bb257543d8 2022-03-20 20:30:43 +01:00
5f7421974c Backported by hand: Add a GradientTexture2D editor plugin - fire-forge. (d76c9f8d92) 2022-03-20 14:59:19 +01:00
b287513656 Replaced the godot editor icon. 2022-03-20 13:50:41 +01:00
bad39216b9 Reworked the entries in the help menu. Also added pandemonium specific entries to the about window. Also fixed a crash when opening the about popup. 2022-03-20 13:30:49 +01:00
77ed14e2f8 Fix 2 runtime errors found by tools. 2022-03-19 10:23:56 +01:00
d740ef5d18 Finished cleaning up includes for the classes under the editor folder. I skipped removing a few that needed more changes to the headers / cpp files for now. 2022-03-19 04:08:34 +01:00
7fd581f987 An another set of header include cleanups for the classes in the engine directory. 2022-03-19 03:10:01 +01:00
bca78798ef Header include cleanups for the classes in the editor folder. 2022-03-19 02:25:58 +01:00
2ce53f2b9e Ran include-what-you-use on the classes in the editor/ floder. 2022-03-19 00:01:30 +01:00
b41f01cb92 Cleaned up the rest of the includes in the headers under engine/plugins. They can still be improved, by moving references too, but that will be done later. 2022-03-18 22:55:47 +01:00
2b5cc26584 More include cleanups to the classes under editor/plugins. 2022-03-18 21:48:35 +01:00
6f637e65b0 Include cleanps. 2022-03-18 21:07:58 +01:00
a112bd877c Ran include-what-you-use on classes under editor/plugins. It still needs cleanups though. 2022-03-18 20:18:56 +01:00
1ab4a46da0 Moved som of the includes from headers to cpp files under the editor folder. 2022-03-18 19:32:23 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
c545717186 Fix EditorScriptCodeCompletionCache::Cache::time_loaded may be used uninitialized error. 2022-03-18 18:53:24 +01:00
f8e54698e4 Include cleanups for resources. 2022-03-18 18:48:49 +01:00
1f4f9c761e Version include cleanups to ESS. 2022-03-18 00:38:45 +01:00
340cc8ba45 Run the include guard script on the editor folder. 2022-03-17 22:15:35 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
ad43fd50bd Moved more includes. 2022-03-17 13:58:13 +01:00
3ca78453da Moved more includes. 2022-03-17 12:47:22 +01:00
f55afe20ef More include moves. 2022-03-17 12:12:41 +01:00
85475900e8 More include moves. 2022-03-17 12:06:40 +01:00
866569d22a Moved more includes to cpp files. 2022-03-17 11:52:53 +01:00
2c88c46101 Moved more includes to cpp files. 2022-03-17 11:28:57 +01:00
d34ba0a7f4 Moved more includes from headers to cpp files. 2022-03-17 10:58:07 +01:00
84d139213d Moved more includes to cpp files. 2022-03-17 10:39:38 +01:00
052027dce4 Moved more includes to cpp files. 2022-03-17 10:26:23 +01:00
c621049e61 Moved more includes to cpp files. 2022-03-17 09:07:18 +01:00
38fc0c402e Moved more includes from headers to cpp files. 2022-03-17 08:38:34 +01:00
2c1eb4182b Limit property default value in the editor's docs, to fix formatting for properties that return lots of data by default (Like Entity's sresources). 2022-03-16 21:37:03 +01:00
c1ebd9905a Moved more includes. 2022-03-16 21:09:41 +01:00
eeb7c04aaf Moved more includes to cpp files. 2022-03-16 20:53:38 +01:00
f105eba923 Moved more includes from headers to cpp files. 2022-03-16 20:40:41 +01:00
73baa5545a Move lots of includes from the h files to cpp files in files under scene/2d. 2022-03-16 20:29:43 +01:00
ced4ae75a5 Backported:
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd

From godot.
2022-03-16 18:18:23 +01:00
528b4d9f61 Finetuned the default color scheme. 2022-03-16 14:00:17 +01:00
4d80a4f047 Actually add the tool mode external button to the spatial editor's menu. This also fixes a memleak. 2022-03-16 12:02:55 +01:00
ac25525b39 Changed the default color theme for the editor. Added the old one as a new Godot 3 preset. 2022-03-16 03:09:22 +01:00
5f623865c6 Hide the video driver switch button if there is only one option. 2022-03-16 02:58:29 +01:00
aa10c2f37b Removed the Editor Asset Installer. 2022-03-16 01:58:42 +01:00
50af60ded6 Removed TileMap, and TileSet. 2022-03-16 01:54:27 +01:00
7acd98dcf0 Removed the VCS plugin. 2022-03-16 01:46:11 +01:00
aaf91df4c1 Also removed the MeshLibrary. 2022-03-16 01:30:44 +01:00
5767e12b56 Removed editor feature profiles. 2022-03-16 01:17:27 +01:00
84bd8ad20a Removed VisualShaders. 2022-03-16 00:55:47 +01:00
93d29cbc62 Removed the AssetLib. 2022-03-16 00:47:29 +01:00
a9a83271db Removed the default skeleton editor, and made my port the default. Also removed the remover. 2022-03-16 00:36:02 +01:00
a598c06588 Removed the obj importer. 2022-03-16 00:12:35 +01:00
a9fca142bc Fully removed Particles and Particles2D, as they were not implemented in gles2. 2022-03-16 00:06:53 +01:00
c0dfdd77f3 Removed particles editor plugins. 2022-03-15 22:25:33 +01:00
1035308489 Removed the collada importer. 2022-03-15 21:12:54 +01:00
e111edf4f2 Cleaned up (hopefully all remaining) light baking things. 2022-03-15 21:07:14 +01:00
07a0ed2c42 Removed the xatlas_unwrap module. 2022-03-15 20:25:05 +01:00
6fac6ba7f7 Removed lightmap captures, and also cleaned up almost all lightmap stuff. 2022-03-15 19:57:34 +01:00
03890f9e38 Removed GIProbes. 2022-03-15 19:03:03 +01:00
00285e8b24 Removed the gles3 driver. There are still mentions of it in a few places, I did not removed all of those. 2022-03-15 17:01:21 +01:00
9e6d2fa653 Removed the Lightmapper and BakedLightmap classes. 2022-03-15 15:45:56 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00