use base class - replaced MyAvatar with Avatar

This commit is contained in:
stojce 2014-02-18 08:11:59 +01:00
parent d36ced9b92
commit 7621d70c24
2 changed files with 3 additions and 3 deletions
interface/src/ui

View file

@ -60,7 +60,7 @@ SnapshotMetaData* Snapshot::parseSnapshotData(QString snapshotPath) {
return data;
}
void Snapshot::saveSnapshot(QGLWidget* widget, Profile* profile, MyAvatar* avatar) {
void Snapshot::saveSnapshot(QGLWidget* widget, Profile* profile, Avatar* avatar) {
QImage shot = widget->grabFrameBuffer();
glm::vec3 location = avatar->getPosition();

View file

@ -15,7 +15,7 @@
#include <QImage>
#include <QGLWidget>
#include "avatar/MyAvatar.h"
#include "avatar/Avatar.h"
#include "avatar/Profile.h"
class SnapshotMetaData {
@ -39,7 +39,7 @@ private:
class Snapshot {
public:
static void saveSnapshot(QGLWidget* widget, Profile* profile, MyAvatar* avatar);
static void saveSnapshot(QGLWidget* widget, Profile* profile, Avatar* avatar);
static SnapshotMetaData* parseSnapshotData(QString snapshotPath);
};