From ff8f448bd7b00fee32725d8391e2525b39157fa7 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Mon, 23 May 2016 22:33:50 -0700 Subject: [PATCH] fix bug when arc is aux --- web/app/sketcher/shapes/arc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/sketcher/shapes/arc.js b/web/app/sketcher/shapes/arc.js index d1ca0410..86874b0d 100644 --- a/web/app/sketcher/shapes/arc.js +++ b/web/app/sketcher/shapes/arc.js @@ -9,6 +9,8 @@ TCAD.TWO.Arc = function(a, b, c) { c.parent = this; this.children.push(a, b, c); this.r = new TCAD.TWO.Ref(0); + this.r.value = this.distanceA(); + this.r.obj = this; }; TCAD.TWO.utils.extend(TCAD.TWO.Arc, TCAD.TWO.SketchObject);