Add missing blend modes in blend_mode_to_string() (fix #1605)

This commit is contained in:
David Capello 2017-11-07 12:31:16 -03:00
parent f2a2510cea
commit ceb9cb3abd

View File

@ -1,5 +1,5 @@
// Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
// Copyright (c) 2001-2017 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@ -31,6 +31,9 @@ std::string blend_mode_to_string(BlendMode blendMode)
case BlendMode::HSL_SATURATION: return "hsl_saturation";
case BlendMode::HSL_COLOR: return "hsl_color";
case BlendMode::HSL_LUMINOSITY: return "hsl_luminosity";
case BlendMode::ADDITION: return "addition";
case BlendMode::SUBTRACT: return "subtract";
case BlendMode::DIVIDE: return "divide";
default: return "unknown";
}
}