mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
patch renderer persistence to default default arg
This commit is contained in:
parent
f5cea0efa2
commit
ca0fc15103
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ static func init_namespace(name_space: String) -> bool:
|
||||||
|
|
||||||
## Returns the corresponding value for the given [param key] in the [param channel] storage.
|
## Returns the corresponding value for the given [param key] in the [param channel] storage.
|
||||||
## If the key does not exist, returns [param default], or [code]null[/code] if the parameter is omitted.
|
## If the key does not exist, returns [param default], or [code]null[/code] if the parameter is omitted.
|
||||||
static func get_value(name_space: String, channel: String, key: String, default: Variant) -> Variant:
|
static func get_value(name_space: String, channel: String, key: String, default: Variant = null) -> Variant:
|
||||||
_lazy_load_channel(name_space, channel)
|
_lazy_load_channel(name_space, channel)
|
||||||
var validated_name := name_space.validate_filename()
|
var validated_name := name_space.validate_filename()
|
||||||
var validated_channel := channel.validate_filename()
|
var validated_channel := channel.validate_filename()
|
||||||
|
|
Loading…
Reference in a new issue