mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Add missing blend modes in blend_mode_to_string() (fix #1605)
This commit is contained in:
parent
f2a2510cea
commit
ceb9cb3abd
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user