     @redraw.reset_size(@width,@height)
     @piece_mask.draw_piece_pattern()
     @cut_piece_from_photo()
+    console.log("piece ID: "+@sym)
     @draw_piece_ab(-7,5)
 
 

      y = py-dy

      mouse_hex = @puzzle.grid_model.get_hex(x,y)
      m_hx_a = mouse_hex[0]
      m_hx_b = mouse_hex[1]
      if m_hx_a != 99
        if ( m_hx_a != @ui_status.active_hex[0] || m_hx_b != @ui_status.active_hex[1] )
          @ui_status.set_active_hex(m_hx_a,m_hx_b)
          @puzzle.piece.draw_piece_ab(m_hx_a,m_hx_b)

#      @puzzle.pixel_test.big_dot(x,y)




    @redraw = new PieceRedrawBuffer(this)
    @hexes = []
    @bounding_box = [0,0,0,0,]
    @log_hexes = false


  construct_piece: (sym) ->
