Force remeshed component as uncombinable
In most cases, allowing remeshed components to do boolean operations will cause crash in CGAL.master
parent
37f6545de4
commit
b36adf7a8d
|
@ -893,8 +893,8 @@ CombineMode MeshGenerator::componentCombineMode(const std::map<QString, QString>
|
||||||
if (combineMode == CombineMode::Normal) {
|
if (combineMode == CombineMode::Normal) {
|
||||||
if (isTrueValueString(valueOfKeyInMapOrEmpty(*component, "inverse")))
|
if (isTrueValueString(valueOfKeyInMapOrEmpty(*component, "inverse")))
|
||||||
combineMode = CombineMode::Inversion;
|
combineMode = CombineMode::Inversion;
|
||||||
//if (componentRemeshed(component))
|
if (componentRemeshed(component))
|
||||||
// combineMode = CombineMode::Uncombined;
|
combineMode = CombineMode::Uncombined;
|
||||||
if (combineMode == CombineMode::Normal) {
|
if (combineMode == CombineMode::Normal) {
|
||||||
if (ComponentLayer::Body != ComponentLayerFromString(valueOfKeyInMapOrEmpty(*component, "layer").toUtf8().constData())) {
|
if (ComponentLayer::Body != ComponentLayerFromString(valueOfKeyInMapOrEmpty(*component, "layer").toUtf8().constData())) {
|
||||||
combineMode = CombineMode::Uncombined;
|
combineMode = CombineMode::Uncombined;
|
||||||
|
|
Loading…
Reference in New Issue