Skip to content

Commit

Permalink
Thinko
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri Kasanen committed Jun 11, 2013
1 parent a9fb055 commit ec81c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Irrlicht/CMeshManipulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ void CMeshManipulator::heightmapOptimizeMesh(IMeshBuffer * const mb, const f32 t
// if (N.getLengthSQ() < 0.5f)
// puts("empty");

if (N.equals(edges[g].normal[z], tolerance)) {
if (!N.equals(edges[g].normal[z], tolerance)) {
// puts("wouldflip");
goto testnext;
}
Expand Down

0 comments on commit ec81c61

Please sign in to comment.