Make translate/rotate groups inherit the "suppress solid model" option.

This commit is contained in:
whitequark 2016-10-09 13:26:58 +00:00
parent dc0eed8322
commit bbf8610c57
2 changed files with 5 additions and 2 deletions

View File

@ -20,6 +20,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
---

View File

@ -203,8 +203,10 @@ void Group::GenerateShellAndMesh(void) {
// not our own previous group.
srcg = SK.GetGroup(opA);
GenerateForStepAndRepeat<SShell>(&(srcg->thisShell), &thisShell);
GenerateForStepAndRepeat<SMesh> (&(srcg->thisMesh), &thisMesh);
if(!srcg->suppress) {
GenerateForStepAndRepeat<SShell>(&(srcg->thisShell), &thisShell);
GenerateForStepAndRepeat<SMesh> (&(srcg->thisMesh), &thisMesh);
}
} else if(type == EXTRUDE && haveSrc) {
Group *src = SK.GetGroup(opA);
Vector translate = Vector::From(h.param(0), h.param(1), h.param(2));