Treat a linked group as mesh-only if it has a Mesh but no Shell.

pull/1340/head
phkahler 2023-01-28 19:04:44 -05:00 committed by Paul Kahler
parent b556daaf74
commit 9ee9aa7609
1 changed files with 3 additions and 1 deletions

View File

@ -412,7 +412,9 @@ bool Group::IsForcedToMesh() const {
} }
bool Group::IsTriangleMeshAssembly() 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() { std::string Group::DescriptionString() {