Make helix origin create a line even if it's in a different group.

Helix should always make a line for the axis.
pull/492/head
phkahler 2019-09-19 21:09:58 -04:00 committed by whitequark
parent 162897eca7
commit 5d78f993ce
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ void Group::Generate(IdList<Entity,hEntity> *entity,
// Not using range-for here because we're changing the size of entity in the loop. // Not using range-for here because we're changing the size of entity in the loop.
for(i = 0; i < entity->n; i++) { for(i = 0; i < entity->n; i++) {
Entity *e = &(entity->Get(i)); Entity *e = &(entity->Get(i));
if(e->group.v != opA.v) if((e->group.v != opA.v) && !(e->h == predef.origin))
continue; continue;
e->CalculateNumerical(/*forExport=*/false); e->CalculateNumerical(/*forExport=*/false);