 
   constructor: () ->
     @puzzle_view = new PuzzleView(this)
-    @grid_model = new PuzzleGridModel
+    @grid_model = new PuzzleGridModel(this)
     @hex_grid = new HexGrid(this)
     @hex_draw = new HexDraw(this)
 


    photo = document.getElementById(@puzzle.puzzle_view.photo)
    @photo_clip_context.drawImage(photo,xx,yy,@hex_box.width,@hex_box.height,0,0,@hex_box.width,@hex_box.height)

    view_context = @puzzle.puzzle_view.context_canvas
    view_context.drawImage(@photo_clip,0,190)

    context = @piece_mask.piece_mask_context
    context.globalCompositeOperation = 'source-atop'

    @redraw.reset_size(wd_ht[0],wd_ht[1])

    @piece_mask.draw_piece_pattern()
    @cut_piece_from_photo()
    @draw_piece_ab(-7,5)


  cut_piece_from_photo: () ->
