| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4362954 commit aaab8a0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -568,6 +568,10 @@ void EntityBase::PointGetExprsInWorkplane(hEntity wrkpl, Expr **u, Expr **v) con | |||
| 568 | 568 | } | |
| 569 | 569 | ||
| 570 | 570 | ExprVector EntityBase::PointGetExprsInWorkplane(hEntity wrkpl) const { | |
| 571 | + if(wrkpl.v == Entity::FREE_IN_3D.v) { | ||
| 572 | + return PointGetExprs(); | ||
| 573 | + } | ||
| 574 | + | ||
| 571 | 575 | ExprVector r; | |
| 572 | 576 | PointGetExprsInWorkplane(wrkpl, &r.x, &r.y); | |
| 573 | 577 | r.z = Expr::From(0.0); | |
@@ -824,6 +828,7 @@ void EntityBase::GenerateEquations(IdList<Equation,hEquation> *l) const { | |||
| 824 | 828 | } | |
| 825 | 829 | ||
| 826 | 830 | case Type::TTF_TEXT: { | |
| 831 | + if(SK.GetEntity(point[0])->type != Type::POINT_IN_2D) break; | ||
| 827 | 832 | EntityBase *b = SK.GetEntity(point[2]); | |
| 828 | 833 | EntityBase *c = SK.GetEntity(point[3]); | |
| 829 | 834 | ExprVector eb = b->PointGetExprsInWorkplane(workplane); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments