mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
This commit is contained in:
@@ -43,7 +43,6 @@ struct ETC1Header {
|
||||
};
|
||||
|
||||
RES ResourceFormatPKM::load(const String &p_path, const String &p_original_path, Error *r_error) {
|
||||
|
||||
if (r_error)
|
||||
*r_error = ERR_CANT_OPEN;
|
||||
|
||||
@@ -97,17 +96,14 @@ RES ResourceFormatPKM::load(const String &p_path, const String &p_original_path,
|
||||
}
|
||||
|
||||
void ResourceFormatPKM::get_recognized_extensions(List<String> *p_extensions) const {
|
||||
|
||||
p_extensions->push_back("pkm");
|
||||
}
|
||||
|
||||
bool ResourceFormatPKM::handles_type(const String &p_type) const {
|
||||
|
||||
return ClassDB::is_parent_class(p_type, "Texture");
|
||||
}
|
||||
|
||||
String ResourceFormatPKM::get_resource_type(const String &p_path) const {
|
||||
|
||||
if (p_path.get_extension().to_lower() == "pkm")
|
||||
return "ImageTexture";
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user