Skip to content

Commit

Permalink
Invert z-ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwarthog authored and morevnaproject committed Nov 29, 2014
1 parent 6237170 commit f99d551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synfig-core/src/synfig/layer_skeletondeformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ struct Layer_SkeletonDeformation::GridPoint {
initial_position(initial_position), summary_order(0.0), summary_weight(0.0), average_order(0.0), used(false) { }
static bool compare_triagles(const std::pair<Real, Mesh::Triangle> &a, const std::pair<Real, Mesh::Triangle> &b)
{
return a.first < b.first ? true
: b.first < a.first ? false
return a.first < b.first ? false
: b.first < a.first ? true
: a.second.vertices[0] < b.second.vertices[0] ? true
: b.second.vertices[0] < a.second.vertices[0] ? false
: a.second.vertices[1] < b.second.vertices[1] ? true
Expand Down

0 comments on commit f99d551

Please sign in to comment.