summaryrefslogtreecommitdiffstats
path: root/core/color.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-01-28 12:41:04 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-01-28 12:41:04 +0100
commit505fee0b6db806c9fc83acd3a074f40ac57a83e2 (patch)
tree74418252ebfad1c917c51ed3b27a5aeff8e467e6 /core/color.cpp
parent658e44ee010f0ee9e348843b7cf1b1b548088464 (diff)
downloadredot-engine-505fee0b6db806c9fc83acd3a074f40ac57a83e2.tar.gz
Color: Fix deprecation warning mentioning 'get_v()' instead of 'v'
Fixes #35657.
Diffstat (limited to 'core/color.cpp')
-rw-r--r--core/color.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp
index 5cbe02067e..1baa8af45d 100644
--- a/core/color.cpp
+++ b/core/color.cpp
@@ -511,7 +511,7 @@ Color Color::from_hsv(float p_h, float p_s, float p_v, float p_a) const {
// FIXME: Remove once Godot 3.1 has been released
float Color::gray() const {
- WARN_DEPRECATED_MSG("Color.gray() is deprecated and will be removed in a future version. Use Color.get_v() for a better grayscale approximation.");
+ WARN_DEPRECATED_MSG("'Color.gray()' is deprecated and will be removed in a future version. Use 'Color.v' for a better grayscale approximation.");
return (r + g + b) / 3.0;
}