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:
3
extern/carve/lib/intersect_face_division.cpp
vendored
3
extern/carve/lib/intersect_face_division.cpp
vendored
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user