From 84f646b88b49ea47a2ab05b690db7453a9c82f4f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 11 Oct 2010 20:06:15 +0000 Subject: [PATCH] Fix bug where changing the script resolution would not update the current visual tool Originally committed to SVN as r4803. --- aegisub/src/video_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_display.cpp b/aegisub/src/video_display.cpp index 66f110152..4fee8b1d5 100644 --- a/aegisub/src/video_display.cpp +++ b/aegisub/src/video_display.cpp @@ -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(); }