mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-06 08:25:19 +01:00
fix bezier curve deserialization
This commit is contained in:
parent
5720a980f4
commit
5c915a6a7f
1 changed files with 2 additions and 2 deletions
|
|
@ -16,9 +16,9 @@ export class BezierCurve extends SketchObject {
|
|||
this.addChild(s2);
|
||||
|
||||
this.a = s1.a;
|
||||
this.b = s2.b;
|
||||
this.b = s2.a;
|
||||
this.cp1 = s1.b;
|
||||
this.cp2 = s2.a;
|
||||
this.cp2 = s2.b;
|
||||
|
||||
for (const c of this.children) {
|
||||
c.role = 'objectConstruction';
|
||||
|
|
|
|||
Loading…
Reference in a new issue