mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Fix @export open scene button not working
This commit is contained in:
		
							parent
							
								
									6e2cf2aa7b
								
							
						
					
					
						commit
						ff107cbeeb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,7 @@
 | 
			
		|||
 | 
			
		||||
void PackedSceneEditor::_on_open_scene_pressed() {
 | 
			
		||||
	// Using deferred call because changing scene updates the Inspector and thus destroys this plugin.
 | 
			
		||||
	callable_mp(EditorNode::get_singleton(), &EditorNode::open_request).call_deferred(packed_scene->get_path());
 | 
			
		||||
	callable_mp(EditorNode::get_singleton(), &EditorNode::open_request).call_deferred(packed_scene->get_path(), false);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void PackedSceneEditor::_notification(int p_what) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue