You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Decouple EditorInterface from EditorPlugin
- Simplify some includes in the process. - Also exposes EditorInterface.movie_maker_enabled as a property.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "editor_network_profiler.h"
|
||||
#include "replication_editor.h"
|
||||
|
||||
#include "editor/editor_interface.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
void MultiplayerEditorDebugger::_bind_methods() {
|
||||
@@ -119,7 +120,7 @@ MultiplayerEditorPlugin::MultiplayerEditorPlugin() {
|
||||
}
|
||||
|
||||
void MultiplayerEditorPlugin::_open_request(const String &p_path) {
|
||||
get_editor_interface()->open_scene_from_path(p_path);
|
||||
EditorInterface::get_singleton()->open_scene_from_path(p_path);
|
||||
}
|
||||
|
||||
void MultiplayerEditorPlugin::_notification(int p_what) {
|
||||
|
||||
Reference in New Issue
Block a user