Fix uncaught exception when resampling empty drawings

This commit is contained in:
Thomas Goyne 2013-11-23 09:54:39 -08:00
parent cf76fb343f
commit 1f66e776c1
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ namespace {
}
}
final.pop_back();
if (final.size())
final.pop_back();
return final;
}