summaryrefslogtreecommitdiff
path: root/src/solve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/solve.c')
-rw-r--r--src/solve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/solve.c b/src/solve.c
index 17a73d4..491cb6f 100644
--- a/src/solve.c
+++ b/src/solve.c
@@ -639,6 +639,7 @@ static void draw_for_subassembly(struct constraint *constraints, size_t fix, str
.op = CMD_LINE_POINT_LINE_ANGLE,
.hidden = !oppo_j->show_when_placed,
.result.type = ETYPE_LINE,
+ .root = 1,
.arg1 = p,
.arg2 = local_j->e,
.arg3 = theta,
@@ -651,7 +652,7 @@ static void draw_for_subassembly(struct constraint *constraints, size_t fix, str
.arg2 = l,
.d = step->assembly,
.attachp = oppo_i->e,
- .attachl = oppo_k->e,
+ .attachl = oppo_j->e,
});
}