Fix GDScript code style regarding colon

(cherry picked from commit ea5fd3d732)
This commit is contained in:
Danil Alexeev
2023-03-13 14:42:27 +01:00
committed by Yuri Sizov
parent acdb1bdbd7
commit f4ea9df0f4
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