forked from teamnwah/openmw-tes3coop
Revert "Merge pull request #1595"
This reverts commit7ef7b1a7b1
, reversing changes made to9e7e4de0ab
.
This commit is contained in:
parent
7ef7b1a7b1
commit
f6ca7295a6
2 changed files with 2 additions and 4 deletions
|
@ -619,10 +619,6 @@ public:
|
||||||
{
|
{
|
||||||
std::cerr << "Error: Can't write screenshot: " << result.message() << " code " << result.status() << std::endl;
|
std::cerr << "Error: Can't write screenshot: " << result.message() << " code " << result.status() << std::endl;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -1021,6 +1021,8 @@ namespace MWInput
|
||||||
{
|
{
|
||||||
mScreenCaptureHandler->setFramesToCapture(1);
|
mScreenCaptureHandler->setFramesToCapture(1);
|
||||||
mScreenCaptureHandler->captureNextFrame(*mViewer);
|
mScreenCaptureHandler->captureNextFrame(*mViewer);
|
||||||
|
|
||||||
|
MWBase::Environment::get().getWindowManager()->messageBox ("Screenshot saved");
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputManager::toggleInventory()
|
void InputManager::toggleInventory()
|
||||||
|
|
Loading…
Reference in a new issue