mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +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:
		
							parent
							
								
									055ee1276f
								
							
						
					
					
						commit
						49d7041d34
					
				
					 25 changed files with 632 additions and 481 deletions
				
			
		|  | @ -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) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Sizov
						Yuri Sizov