mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 08:13:23 +02:00
use base class - replaced MyAvatar with Avatar
This commit is contained in:
parent
d36ced9b92
commit
7621d70c24
2 changed files with 3 additions and 3 deletions
interface/src/ui
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue