Commit 80a98764 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Fixing build error with new snapshot slot.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15936 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8934e670
...@@ -2070,12 +2070,12 @@ void glViewer::snapshot(QImage& _image, int _width, int _height, bool _alpha, bo ...@@ -2070,12 +2070,12 @@ void glViewer::snapshot(QImage& _image, int _width, int _height, bool _alpha, bo
} }
void glViewer::snapshot( int _width, int _height, bool _alpha, bool _hideCoordsys) void glViewer::snapshot( int _width, int _height, bool _alpha, bool _hideCoordsys, int samples)
{ {
QImage image; QImage image;
// Capture image // Capture image
snapshot(image, _width, _height, _alpha, _hideCoordsys); snapshot(image, _width, _height, _alpha, _hideCoordsys, samples);
QFileInfo fi(properties_.snapshotName()); QFileInfo fi(properties_.snapshotName());
......
...@@ -780,7 +780,7 @@ private: ...@@ -780,7 +780,7 @@ private:
Save snapshot to file determined by snapshotBaseFileName() and Save snapshot to file determined by snapshotBaseFileName() and
the current snapshot counter. The \a back buffer will be saved. the current snapshot counter. The \a back buffer will be saved.
*/ */
virtual void snapshot(int _width = 0, int _height = 0, bool _alpha = false, bool _hideCoordsys = false); virtual void snapshot(int _width = 0, int _height = 0, bool _alpha = false, bool _hideCoordsys = false, int samples = 1);
/// Take a snapshot and store it in the given image /// Take a snapshot and store it in the given image
virtual void snapshot(QImage& _image, int _width = 0, int _height = 0, bool _alpha = false, bool _hideCoordsys = false, int samples = 1); virtual void snapshot(QImage& _image, int _width = 0, int _height = 0, bool _alpha = false, bool _hideCoordsys = false, int samples = 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment