diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-28 13:36:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 13:36:19 +0200 |
commit | 41d075de5865c8b088c83219431661bc2d1f1802 (patch) | |
tree | 13396a172da4ee0cbed234b3ed2f7a141091718f /core/variant/variant_call.cpp | |
parent | 143d13717bcedd00b457958c563f0ab5d7c93896 (diff) | |
parent | 1c343cd54d9bdb684de2e793f2ab99bfe85ae0d2 (diff) |
Merge pull request #59456 from Calinou/color-expose-to-linear-srgb
Diffstat (limited to 'core/variant/variant_call.cpp')
-rw-r--r-- | core/variant/variant_call.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index a02f9c5823..c11925fa8c 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1656,6 +1656,8 @@ static void _register_variant_builtin_methods() { bind_method(Color, darkened, sarray("amount"), varray()); bind_method(Color, blend, sarray("over"), varray()); bind_method(Color, get_luminance, sarray(), varray()); + bind_method(Color, to_linear, sarray(), varray()); + bind_method(Color, to_srgb, sarray(), varray()); bind_method(Color, is_equal_approx, sarray("to"), varray()); |