Fixed memory corruption in line shape

This commit is contained in:
r.kuznetsov 2015-11-03 15:14:17 +03:00
parent 9ade0efe69
commit 331a9f631f

View file

@ -423,6 +423,9 @@ void LineShape::Construct(TBuilder & builder) const
segments.reserve(path.size() - 1);
ConstructLineSegments(path, segments);
if (segments.empty())
return;
// build geometry
for (size_t i = 0; i < segments.size(); i++)
{