
Inspired by the previous commit, I've finally found a way to fix a long standing limitation/bug which meant that Grease Pencil strokes in the Image Editor could not be drawn using the fancy stroke tesselation code, and were instead done using the plain old OpenGL strokes instead.