Bugfix #4351
authorTon Roosendaal <ton@blender.org>
Sun, 18 Jun 2006 11:38:34 +0000 (11:38 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 18 Jun 2006 11:38:34 +0000 (11:38 +0000)
commit94e23fe939413bf96be2b475408a69ec408688f1
tree0f41b0855bcab56eecaf7383d7112ac4b94e999d
parent7784ea53bf3865c0cf6725611034da771b4535bf
Bugfix #4351

ESC wasn't supported for sequence-based rendering yet.
Solved it with correctly initializing the sequence render with all
render callbacks, including render updates (which it didn't do yet).

Cleanup:

- Bug in ghostwinlay code: the get_mbut() function reads from the window
  struct if a mouse is pressed. However, when you press the mouse in the
  sequencer, which causes a render, this value was hanging because then
  the active window was a render window.

- The new render display options (image window) didn't work for sequence
  render OK. There was a recursion even, because a sequence draw command
  calls a render, which in turn now calls redraws.
source/blender/include/BIF_renderwin.h
source/blender/src/drawseq.c
source/blender/src/ghostwinlay.c
source/blender/src/renderwin.c
source/blender/src/sequence.c