From c32c7fa1dcb99f94f08ca0db42e7f8961cdf33db Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 15 Mar 2017 21:26:46 +0100 Subject: [PATCH] Fixed a typo. --- xs/src/slic3r/GUI/3DScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/slic3r/GUI/3DScene.cpp b/xs/src/slic3r/GUI/3DScene.cpp index 5196e4740..afef2e20d 100644 --- a/xs/src/slic3r/GUI/3DScene.cpp +++ b/xs/src/slic3r/GUI/3DScene.cpp @@ -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()); } } }