Open Save in the project folder and offer the last name with a number counted on
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -54,4 +54,9 @@ Project projectFromJson(const std::string& text, const std::string& directory =
|
||||
void saveProject(const std::string& path, const Project& project);
|
||||
Project loadProject(const std::string& path);
|
||||
|
||||
// The name to offer for the next export after `previous`: its stem with the
|
||||
// trailing `-N` counted on (`city.png` → `city-1.png`, `city-4.png` →
|
||||
// `city-5.png`), skipping any that already exist in its folder.
|
||||
std::string nextExportPath(const std::string& previous);
|
||||
|
||||
} // namespace effector
|
||||
|
||||
Reference in New Issue
Block a user