Skip to content

Commit

Permalink
fixed bug when moveTo and curveTo commands where combined
Browse files Browse the repository at this point in the history
  • Loading branch information
bgstaal committed Jun 1, 2013
1 parent c56a699 commit 8307d6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ofxShivaVGRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ void ofxShivaVGRenderer::_doDrawPath(ofPath &path, simpleVGPath &p)
{
case ofPath::Command::moveTo:
p.moveTo(c->to.x, c->to.y);
_curvePoints.clear();
_curvePoints.push_back(c->to);
break;

Expand Down

0 comments on commit 8307d6f

Please sign in to comment.