Fix bug where changing the script resolution would not update the current visual tool

Originally committed to SVN as r4803.
This commit is contained in:
Thomas Goyne 2010-10-11 20:06:15 +00:00
parent 2324a1f197
commit 84f646b88b
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,6 @@ void VideoDisplay::SetFrame(int frameNumber) {
// Render the new frame
if (context->IsLoaded()) {
context->GetScriptSize(scriptW, scriptH);
tool->SetFrame(frameNumber);
context->GetFrameAsync(currentFrame);
}
@ -300,6 +299,7 @@ void VideoDisplay::Render() try {
}
if (video.x > INT_MIN || video.y > INT_MIN || alwaysShowTools->GetBool()) {
context->GetScriptSize(scriptW, scriptH);
tool->Draw();
}