Merge pull request #98680 from jaydensipe/expose-toast-notification-methods

Expose `get_editor_toaster` method to `EditorInterface`
This commit is contained in:
Thaddeus Crews
2024-11-12 12:13:22 -06:00
7 changed files with 59 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class EditorPlugin;
class EditorResourcePreview;
class EditorSelection;
class EditorSettings;
class EditorToaster;
class EditorUndoRedoManager;
class FileSystemDock;
class Mesh;
@ -102,6 +103,7 @@ public:
EditorResourcePreview *get_resource_previewer() const;
EditorSelection *get_selection() const;
Ref<EditorSettings> get_editor_settings() const;
EditorToaster *get_editor_toaster() const;
EditorUndoRedoManager *get_editor_undo_redo() const;
Vector<Ref<Texture2D>> make_mesh_previews(const Vector<Ref<Mesh>> &p_meshes, Vector<Transform3D> *p_transforms, int p_preview_size);