implement export cube faces

This commit is contained in:
2019-08-16 12:23:34 +02:00
parent fa94aa632f
commit a8e9e92d96
8 changed files with 83 additions and 83 deletions

View File

@@ -508,12 +508,20 @@ void App::dialog_resize()
};
}
void App::dialog_export_cubes()
void App::dialog_export_cube_faces()
{
if (canvas)
{
canvas->m_canvas->export_cubes();
}
canvas->m_canvas->export_cube_faces(doc_name, [this] {
#if defined(__IOS__)
message_box("Export Cube Faces", "Image and depth exported to Files/PanoPainter");
#elif defined(__OSX__)
message_box("Export Cube Faces", "Image and depth exported to Pictures/PanoPainter folder");
#elif defined(_WIN32)
message_box("Export Cube Faces", "Image and depth exported to " + work_path);
#endif
});
}
}
void App::dialog_layer_rename()