mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Add option to draw bounding boxes to command line screenshot command (#24949)
This commit is contained in:
@@ -422,6 +422,11 @@ static void ApplyOptions(const ScreenshotOptions* options, Viewport& viewport)
|
||||
{
|
||||
viewport.flags |= VIEWPORT_FLAG_TRANSPARENT_BACKGROUND;
|
||||
}
|
||||
|
||||
if (options->draw_bounding_boxes)
|
||||
{
|
||||
gPaintBoundingBoxes = true;
|
||||
}
|
||||
}
|
||||
|
||||
int32_t CommandLineForScreenshot(const char** argv, int32_t argc, ScreenshotOptions* options)
|
||||
|
||||
Reference in New Issue
Block a user