Skip to content

Commit

Permalink
Layer: fix wrong get_cairocolor function
Browse files Browse the repository at this point in the history
  • Loading branch information
genete committed Nov 1, 2012
1 parent f645ee4 commit b21cd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synfig-core/src/synfig/layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ Layer::get_cairocolor(Context context, const Point &pos)const
// When the layer doesn't define its own get_cairocolor
// then the normal get_cairo color will be used and
// a Color to CairoColor conversion will be done.
return CairoColor(context.get_color(pos));
return CairoColor(get_color(context, pos));
}


Expand Down

0 comments on commit b21cd98

Please sign in to comment.