mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-03-05 03:43:10 +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
|
image = override_image
|
||||||
|
|
||||||
if !image:
|
if !image:
|
||||||
return Color()
|
return default_color
|
||||||
|
|
||||||
image.lock()
|
image.lock()
|
||||||
var x : int = uv.x * image.get_width()
|
var x : int = uv.x * image.get_width()
|
||||||
|
Loading…
Reference in New Issue
Block a user