Will need to test end-to-end shortly, etc...
Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -5082,6 +5082,11 @@ void Application::takeSnapshot(bool notify) { · 5081 unmodified lines | ||
| 5082 | 5082 | emit DependencyManager::get<WindowScriptingInterface>()->snapshotTaken(path, notify); |
| 5083 | 5083 | } |
| 5084 | 5084 | |
| 5085 | +void Application::shareSnapshot(const QString& path) { | |
| 5086 | + // not much to do here, everything is done in snapshot code... | |
| 5087 | + Snapshot::uploadSnapshot(path); | |
| 5088 | +} | |
| 5089 | + | |
| 5085 | 5090 | float Application::getRenderResolutionScale() const { |
| 5086 | 5091 | if (Menu::getInstance()->isOptionChecked(MenuOption::RenderResolutionOne)) { |
| 5087 | 5092 | return 1.0f; |