Fix unused return value.

This commit is contained in:
Relintai 2023-03-01 01:01:42 +01:00
parent 091bb6391b
commit 857a0265d4

View File

@ -97,7 +97,7 @@ Color MMTonesStep::_get_value_for(const Vector2 &uv, const int pseed) {
value_false /= mvv3;
value_false += Vector3(0.5, 0.5, 0.5);
value_false.clamp(Vector3(), Vector3(1, 1, 1));
value_false = value_false.clamp(Vector3(), Vector3(1, 1, 1));
if (_invert) {
value_false = Vector3(1, 1, 1) - value_false;