Treat a linked group as mesh-only if it has a Mesh but no Shell.
parent
b556daaf74
commit
9ee9aa7609
|
@ -412,7 +412,9 @@ bool Group::IsForcedToMesh() const {
|
|||
}
|
||||
|
||||
bool Group::IsTriangleMeshAssembly() const {
|
||||
return type == Type::LINKED && linkFile.Extension() == "stl";
|
||||
if (type != Type::LINKED) return false;
|
||||
if (!impMesh.IsEmpty() && impShell.IsEmpty()) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string Group::DescriptionString() {
|
||||
|
|
Loading…
Reference in New Issue