       console.log "! lnk1 " + e.constructor.name
       @placingLink.ln.geom.vertices[1] = ixs[0].object.linep
       ixs[0].object.lines.push(@placingLink.ln)
+
+      @ve.surface.updateLink(@placingLink.ln)
+      
 
       @ve.container.onmousemove = null
       @ve.container.onmousedown = (eve) => @baseDown(eve)


  Link: class Link
    constructor: (@parent, from, to, x, y, z, isIcon = false) ->
      @ln = new Shapes.Line(0xababab, from, to, z)
      @ln.obj3d.userData = this
      @props = {

      o.userData.glowBubble.position.x = p.x
      o.userData.glowBubble.position.y = p.y

    @updateLink(ln) for ln in o.lines
    true

  moveSelection: -> #TODO
