(svn r7556) -Fix(r7153): By handling the KeyEvent sooner in the events loops, the console command "screenshot no_con" did not had time to actually repaint the screen without the console before the screenshot. Forcing a redraw before it ensure that the feature acts as required. (to be ported to 0.5.0)
(thanks glx)
This commit is contained in:
		| @@ -561,6 +561,7 @@ bool MakeScreenshot(void) | |||||||
| 	switch (current_screenshot_type) { | 	switch (current_screenshot_type) { | ||||||
| 		case SC_VIEWPORT: | 		case SC_VIEWPORT: | ||||||
| 			UndrawMouseCursor(); | 			UndrawMouseCursor(); | ||||||
|  | 			DrawDirtyBlocks(); | ||||||
| 			current_screenshot_type = SC_NONE; | 			current_screenshot_type = SC_NONE; | ||||||
| 			return MakeSmallScreenshot(); | 			return MakeSmallScreenshot(); | ||||||
| 		case SC_WORLD: | 		case SC_WORLD: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 belugas
					belugas