diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-17 19:28:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 19:28:47 +0100 |
commit | 33bc761c7397b21c30a49d3f6a40b505bc6353aa (patch) | |
tree | 1ee96dcdcdd93ac10be1c1649a86f7cdfa428e9d /core/variant | |
parent | 52217244f4008367e441944c578f59506b914f8f (diff) | |
parent | 1fb59d13c2e32b9543195601149071ff4b2887d4 (diff) |
Merge pull request #55976 from timothyqiu/font-preview-fg
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_call.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 51b9119933..d2bda34818 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1644,6 +1644,7 @@ static void _register_variant_builtin_methods() { bind_method(Color, lightened, sarray("amount"), varray()); bind_method(Color, darkened, sarray("amount"), varray()); bind_method(Color, blend, sarray("over"), varray()); + bind_method(Color, get_luminance, sarray(), varray()); bind_method(Color, is_equal_approx, sarray("to"), varray()); |