Update StarClientCommandProcessor.cpp
[skip ci]
This commit is contained in:
parent
5159b073bd
commit
2ccc2ac487
@ -587,7 +587,7 @@ String ClientCommandProcessor::render(String const& path) {
|
|||||||
if (!File::isDirectory(outputDirectory))
|
if (!File::isDirectory(outputDirectory))
|
||||||
File::makeDirectory(outputDirectory);
|
File::makeDirectory(outputDirectory);
|
||||||
image->writePng(File::open(outputPath, IOMode::Write | IOMode::Truncate));
|
image->writePng(File::open(outputPath, IOMode::Write | IOMode::Truncate));
|
||||||
return strf("Saved {}x{} image to render.png", image->width(), image->height());
|
return strf("Saved {}x{} image to {}.png", image->width(), image->height(), outputName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user