Fixed a typo.

This commit is contained in:
bubnikv 2017-03-15 21:26:46 +01:00
parent 93cab990c7
commit c32c7fa1dc

View File

@ -648,7 +648,7 @@ void _3DScene::_load_print_object_toolpaths(
// Clear the buffers, but keep them pre-allocated.
vol_new.indexed_vertex_array.clear();
// Just make sure that clear did not clear the reserved memory.
vol_new.indexed_vertex_array.reserve(ctx.alloc_size_reserve());
vol_new.indexed_vertex_array.reserve(ctxt.alloc_size_reserve());
}
}
}