Fix #34707: Blender crash on enabling of boolean modifier

Stupid mistake by my own with recent Carve update which
undid fix for MSVC STL library.
This commit is contained in:
2013-03-21 08:47:18 +00:00
parent 1769319ce2
commit 8a7ce9c924

View File

@@ -1110,7 +1110,8 @@ namespace {
}
// copy up to the end of the path.
std::copy(base_loop.begin() + pos, base_loop.begin() + e1_1, std::back_inserter(out));
if (pos < e1_1)
std::copy(base_loop.begin() + pos, base_loop.begin() + e1_1, std::back_inserter(out));
CARVE_ASSERT(base_loop[e1_1] == p1.back());
std::copy(p1.rbegin(), p1.rend() - 1, std::back_inserter(out));