Fix mixed indentation in gen_switch.gd

Mixed indentation is no longer allowed in Godot's `master` branch.
This change allows Material Maker to run without script errors
when using the `master` branch.
This commit is contained in:
Hugo Locurcio 2019-10-17 14:15:51 +02:00
parent 854b0c8b98
commit 7f9808a415
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -13,9 +13,11 @@ func get_type_name():
return "Switch"
func get_parameter_defs():
return [ { name="outputs", label="Outputs", type="float", min=1, max=5, step=1, default=2 },
{ name="choices", label="Choices", type="float", min=2, max=5, step=1, default=2 },
{ name="source", label="Source", type="float", min=0, max=1, step=1, default=0 } ]
return [
{ name="outputs", label="Outputs", type="float", min=1, max=5, step=1, default=2 },
{ name="choices", label="Choices", type="float", min=2, max=5, step=1, default=2 },
{ name="source", label="Source", type="float", min=0, max=1, step=1, default=0 },
]
func get_input_defs():
var rv : Array = []