A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Yuri Sizov
512182f147
Add theme contexts to various parts of the editor
...
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.
- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.
Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.
This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
00d1fafc77
Merge pull request #81022 from YuriSizov/editor-run-scripts-valid-and-toasty
...
Improve warnings when running scripts in the editor
2023-08-28 12:08:37 +02:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
...
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +02:00
Yuri Sizov
2270f4917a
Improve warnings when running scripts in the editor
2023-08-27 13:59:06 +02:00
jsjtxietian
fec0396cac
fix CollisionShape3D Shape Size handle will missing
...
when Script editor floating
2023-08-15 12:41:20 +08:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
Rémi Verschelde
2132638937
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
...
C#: Fix line in OpenInExternalEditor
2023-08-02 12:17:31 +02:00
Yuri Sizov
bf73ac2891
Merge pull request #73641 from KoBeWi/yolo_exiting
...
Don't save scripts when exiting editor
2023-07-21 17:15:14 +02:00
kobewi
b883f32188
Check for unsaved changes when closing a scene
2023-07-18 14:27:56 +02:00
kobewi
000471ee56
Add unsaved status for script and shader editors
2023-07-18 14:18:36 +02:00
Raul Santos
132a1daf1a
C#: Fix line in OpenInExternalEditor
2023-07-17 18:44:17 +02:00
Yuri Sizov
770b7e974b
Merge pull request #79337 from KoBeWi/best_fix_ever
...
Change default Save Script shortcut
2023-07-12 17:17:11 +02:00
Yuri Sizov
c457480ca9
Merge pull request #78604 from KoBeWi/gotta_close_fast
...
Speed up closing multiple scripts
2023-07-12 17:16:24 +02:00
kobewi
6a7567e8f7
Change default Save Script shortcut
2023-07-12 14:25:36 +02:00
kobewi
44bec97d5e
Unify window title format
2023-06-23 12:21:56 +02:00
kobewi
9a302e32c8
Speed up closing multiple scripts
2023-06-23 11:19:09 +02:00
ajreckof
13e65da804
Fix wrong placement of the Make Floating Button.
2023-06-21 01:00:37 +02:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +02:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +02:00
Paulb23
0b3fba45c6
Move convert_indent into CodeEdit
2023-05-07 13:08:37 +01:00
kobewi
88ea3dd4db
Remove erroneous signal connection
2023-05-05 22:26:19 +02:00
Max Hilbrunner
f6bf51ca49
Merge pull request #75864 from KoBeWi/assassin_of_shaders
2023-05-05 14:37:54 +02:00