You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Remove deprecated Color::gray
It was marked to be removed in Godot 3.1. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
0c7fc80cc1
commit
7bc1dc828f
@@ -488,7 +488,6 @@ struct _VariantCall {
|
||||
VCALL_LOCALMEM0R(Color, to_argb64);
|
||||
VCALL_LOCALMEM0R(Color, to_abgr64);
|
||||
VCALL_LOCALMEM0R(Color, to_rgba64);
|
||||
VCALL_LOCALMEM0R(Color, gray);
|
||||
VCALL_LOCALMEM0R(Color, inverted);
|
||||
VCALL_LOCALMEM0R(Color, contrasted);
|
||||
VCALL_LOCALMEM2R(Color, linear_interpolate);
|
||||
@@ -1737,7 +1736,6 @@ void register_variant_methods() {
|
||||
ADDFUNC0R(COLOR, INT, Color, to_argb64, varray());
|
||||
ADDFUNC0R(COLOR, INT, Color, to_abgr64, varray());
|
||||
ADDFUNC0R(COLOR, INT, Color, to_rgba64, varray());
|
||||
ADDFUNC0R(COLOR, REAL, Color, gray, varray());
|
||||
ADDFUNC0R(COLOR, COLOR, Color, inverted, varray());
|
||||
ADDFUNC0R(COLOR, COLOR, Color, contrasted, varray());
|
||||
ADDFUNC2R(COLOR, COLOR, Color, linear_interpolate, COLOR, "b", REAL, "t", varray());
|
||||
|
||||
Reference in New Issue
Block a user