     else
       console.log "! lnk1 miss"
 
+  #onmouseuphandlers
+  placingUp: (event) ->
+    console.log "plop"
+    @ve.container.onmousemove = null
+    @ve.container.onmousedown = (eve) => @baseDown(eve)
+    @ve.container.onmouseup = null
+
+
   #onmousemove handlers
   placingMove: (event) ->
     @updateMouse(event)

          console.log "! placing objects"
          @makePlacingObject(e)
          @ve.container.onmousemove = (eve) => @placingMove(eve)
          @ve.container.onmousedown = (eve) => @placingDown(eve)

    if ixs.length > 1 and
      ixs[1].object.userData instanceof Surface and

        console.log "! surface select -- " + e.constructor.name
        console.log e
        @placingObject = e
        @ve.container.onmouseup = (eve) => @placingUp(eve)
        @ve.container.onmousemove = (eve) => @placingMove(eve)


  linkingDown0: (event) ->
    @ve.raycaster.setFromCamera(@pos, @ve.camera)
