From 7621d70c2453a73f4f5997b602ca16aa1ee381dd Mon Sep 17 00:00:00 2001 From: stojce Date: Tue, 18 Feb 2014 08:11:59 +0100 Subject: [PATCH] use base class - replaced MyAvatar with Avatar --- interface/src/ui/Snapshot.cpp | 2 +- interface/src/ui/Snapshot.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/ui/Snapshot.cpp b/interface/src/ui/Snapshot.cpp index 8cfc759308..e16b0c570d 100644 --- a/interface/src/ui/Snapshot.cpp +++ b/interface/src/ui/Snapshot.cpp @@ -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(); diff --git a/interface/src/ui/Snapshot.h b/interface/src/ui/Snapshot.h index 14c59552ec..13c6945349 100644 --- a/interface/src/ui/Snapshot.h +++ b/interface/src/ui/Snapshot.h @@ -15,7 +15,7 @@ #include #include -#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); };