     else
       console.log "! lnk0 miss"
 
-
   linkingDown1: (event) ->
     @ve.raycaster.setFromCamera(@pos, @ve.camera)
     ixs = @ve.raycaster.intersectObjects(@ve.surface.baseRect.obj3d.children)

      console.log "! lnk1 " + e.constructor.name
      @placingLink.ln.geom.vertices[1] = ixs[0].object.linep
      ixs[0].object.lines.push(@placingLink.ln)

      @ve.container.onmousemove = null
      @ve.container.onmousedown = (eve) => @baseDown(eve)

    e.props.name = @ve.namemanager.getName(e.constructor.name.toLowerCase())
    @ve.render()
    e
  
  updateLink: (ln) ->
    ln.geom.verticesNeedUpdate = true
    ln.geom.lineDistancesNeedUpdate = true
    ln.geom.elementsNeedUpdate = true
    ln.geom.normalsNeedUpdate = true
    ln.geom.computeFaceNormals()
    ln.geom.computeVertexNormals()
    ln.geom.computeBoundingSphere()
    ln.geom.computeBoundingBox()

  moveObject: (o, p) ->
    o.position.x = p.x
