Fix GDScript code style regarding colon

This commit is contained in:
Danil Alexeev
2023-03-03 17:42:32 +03:00
parent 61d2c85511
commit ea5fd3d732
28 changed files with 74 additions and 72 deletions
@@ -10,13 +10,13 @@
[gdscript]
extends EditorResourceConversionPlugin
func _handles(resource : Resource):
func _handles(resource: Resource):
return resource is ImageTexture
func _converts_to():
return "PortableCompressedTexture2D"
func _convert(itex : Resource):
func _convert(itex: Resource):
var ptex = PortableCompressedTexture2D.new()
ptex.create_from_image(itex.get_image(), PortableCompressedTexture2D.COMPRESSION_MODE_LOSSLESS)
return ptex