Make translate/rotate groups inherit the "suppress solid model" option.
This commit is contained in:
parent
06a188cc62
commit
fd54e5ac27
|
@ -40,6 +40,7 @@ Bug fixes:
|
||||||
* Forcibly show the current group once we start a drawing operation.
|
* Forcibly show the current group once we start a drawing operation.
|
||||||
* DXF export: always declare layers before using them.
|
* DXF export: always declare layers before using them.
|
||||||
* Do not truncate operations on selections to first 32 selected entities.
|
* Do not truncate operations on selections to first 32 selected entities.
|
||||||
|
* Translate and rotate groups inherit the "suppress solid model" setting.
|
||||||
|
|
||||||
2.1
|
2.1
|
||||||
---
|
---
|
||||||
|
|
|
@ -203,8 +203,10 @@ void Group::GenerateShellAndMesh() {
|
||||||
// not our own previous group.
|
// not our own previous group.
|
||||||
srcg = SK.GetGroup(opA);
|
srcg = SK.GetGroup(opA);
|
||||||
|
|
||||||
|
if(!srcg->suppress) {
|
||||||
GenerateForStepAndRepeat<SShell>(&(srcg->thisShell), &thisShell);
|
GenerateForStepAndRepeat<SShell>(&(srcg->thisShell), &thisShell);
|
||||||
GenerateForStepAndRepeat<SMesh> (&(srcg->thisMesh), &thisMesh);
|
GenerateForStepAndRepeat<SMesh> (&(srcg->thisMesh), &thisMesh);
|
||||||
|
}
|
||||||
} else if(type == Type::EXTRUDE && haveSrc) {
|
} else if(type == Type::EXTRUDE && haveSrc) {
|
||||||
Group *src = SK.GetGroup(opA);
|
Group *src = SK.GetGroup(opA);
|
||||||
Vector translate = Vector::From(h.param(0), h.param(1), h.param(2));
|
Vector translate = Vector::From(h.param(0), h.param(1), h.param(2));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user