Now the simplify code works correctly in 3D space. Before it was trying to project the strokes down into a local 2D space, but that didn't work nicely for strokes with overhangs or big changes in the stroke direction. The code in question was simplified as well which lead to some nice code reduction. Reviewed By: Antonio Vazquez Differential Revision: http://developer.blender.org/D5183