Don't consider workplane origin point for bounding box calculation.

This commit is contained in:
EvilSpirit 2016-10-31 21:22:33 +07:00 committed by whitequark
parent 600c39db91
commit 505f503cc3
74 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,7 @@ void SolveSpaceUI::ForceReferences() {
// The origin for our coordinate system, always zero
Entity *origin = SK.GetEntity(wrkpl->point[0]);
origin->PointForceTo(Vector::From(0, 0, 0));
origin->construction = true;
SK.GetParam(origin->param[0])->known = true;
SK.GetParam(origin->param[1])->known = true;
SK.GetParam(origin->param[2])->known = true;

View File

@ -375,6 +375,7 @@ void Group::Generate(IdList<Entity,hEntity> *entity,
Entity point = {};
point.type = Entity::Type::POINT_N_COPY;
point.numPoint = SK.GetEntity(predef.origin)->PointGetNum();
point.construction = true;
point.group = h;
point.h = h.entity(2);
entity->Add(&point);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.