Skip to content

Commit

Permalink
Add missing blend modes in blend_mode_to_string() (fix aseprite#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Nov 7, 2017
1 parent f2a2510 commit ceb9cb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/doc/blend_mode.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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";
}
}
Expand Down

0 comments on commit ceb9cb3

Please sign in to comment.