mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-18 01:06:47 +01:00
Return the default color if no image is set in image universal properties.
This commit is contained in:
parent
ee03da9a85
commit
ccc0a59a58
@ -257,7 +257,7 @@ func get_default_value(uv : Vector2 = Vector2()):
|
||||
image = override_image
|
||||
|
||||
if !image:
|
||||
return Color()
|
||||
return default_color
|
||||
|
||||
image.lock()
|
||||
var x : int = uv.x * image.get_width()
|
||||
|
Loading…
Reference in New Issue
Block a user