Implement inline text shader previews

Co-authored-by: Cashew OldDew <155181921+cashew-olddew@users.noreply.github.com>
This commit is contained in:
Chaosus
2026-03-22 16:23:16 +03:00
parent 780b49ca3b
commit 34777ad0e4
5 changed files with 953 additions and 39 deletions
+2
View File
@@ -142,6 +142,7 @@
#include "editor/settings/editor_settings_dialog.h"
#include "editor/settings/project_settings_editor.h"
#include "editor/shader/editor_native_shader_source_visualizer.h"
#include "editor/shader/text_shader_editor.h"
#include "editor/themes/editor_color_map.h"
#include "editor/themes/editor_scale.h"
#include "editor/themes/editor_theme_manager.h"
@@ -9346,6 +9347,7 @@ EditorNode::EditorNode() {
ScriptTextEditor::register_editor(); // Register one for text scripts.
TextEditor::register_editor();
TextShaderEditor::register_editor();
if (AssetLibraryEditorPlugin::is_available()) {
add_editor_plugin(memnew(AssetLibraryEditorPlugin));