diff --git a/CHANGELOG.md b/CHANGELOG.md index a64118e..98f19a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ Bug fixes: * Forcibly show the current group once we start a drawing operation. * DXF export: always declare layers before using them. * Do not truncate operations on selections to first 32 selected entities. + * Translate and rotate groups inherit the "suppress solid model" setting. 2.1 --- diff --git a/src/groupmesh.cpp b/src/groupmesh.cpp index 03164f3..d9d10ab 100644 --- a/src/groupmesh.cpp +++ b/src/groupmesh.cpp @@ -203,8 +203,10 @@ void Group::GenerateShellAndMesh() { // not our own previous group. srcg = SK.GetGroup(opA); - GenerateForStepAndRepeat(&(srcg->thisShell), &thisShell); - GenerateForStepAndRepeat (&(srcg->thisMesh), &thisMesh); + if(!srcg->suppress) { + GenerateForStepAndRepeat(&(srcg->thisShell), &thisShell); + GenerateForStepAndRepeat (&(srcg->thisMesh), &thisMesh); + } } else if(type == Type::EXTRUDE && haveSrc) { Group *src = SK.GetGroup(opA); Vector translate = Vector::From(h.param(0), h.param(1), h.param(2));