mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	C#: Update exports only in the editor
This commit is contained in:
		
							parent
							
								
									7b67c5857f
								
							
						
					
					
						commit
						5e354162f1
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -1933,6 +1933,9 @@ void CSharpScript::_update_exports_values(Map<StringName, Variant> &values, List | |||
| bool CSharpScript::_update_exports() { | ||||
| 
 | ||||
| #ifdef TOOLS_ENABLED | ||||
| 	if (!Engine::get_singleton()->is_editor_hint()) | ||||
| 		return false; | ||||
| 
 | ||||
| 	placeholder_fallback_enabled = true; // until proven otherwise
 | ||||
| 
 | ||||
| 	if (!valid) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ignacio Etcheverry
						Ignacio Etcheverry