mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Change get_class_static to return StringName.
				
					
				
			Use that static `get_class_static` for `_get_class_namev` to avoid duplication.
This commit is contained in:
		
							parent
							
								
									4248411baf
								
							
						
					
					
						commit
						fbe64ffb45
					
				
					 5 changed files with 17 additions and 15 deletions
				
			
		|  | @ -105,7 +105,7 @@ void GDScriptDocGen::_doctype_from_gdtype(const GDType &p_gdtype, String &r_type | |||
| 			return; | ||||
| 		case GDType::SCRIPT: | ||||
| 			if (p_gdtype.is_meta_type) { | ||||
| 				r_type = p_gdtype.script_type.is_valid() ? p_gdtype.script_type->get_class() : Script::get_class_static(); | ||||
| 				r_type = p_gdtype.script_type.is_valid() ? p_gdtype.script_type->get_class_name() : Script::get_class_static(); | ||||
| 				return; | ||||
| 			} | ||||
| 			if (p_gdtype.script_type.is_valid()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Tenbrink
						Lukas Tenbrink