1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

Remove unused animation from rwviewer

This commit is contained in:
Daniel Evans 2014-12-11 18:09:41 +00:00
parent 9c0f3f3042
commit 29570e794f
2 changed files with 0 additions and 14 deletions

View File

@ -158,18 +158,6 @@ void ViewerWidget::showItem(qint16 item)
}
}
void ViewerWidget::showAnimation(Animation *anim)
{
canimation = anim;
if(dummyObject) {
if(dummyObject->animator == nullptr) {
dummyObject->animator = new Animator;
dummyObject->animator->setModel(dummyObject->model->model);
}
dummyObject->animator->setAnimation(canimation);
}
}
void ViewerWidget::exportModel()
{
QString toSv = QFileDialog::getSaveFileName(this,

View File

@ -54,8 +54,6 @@ public slots:
void showItem(qint16 item);
void showAnimation(Animation* anim);
void exportModel();
void dataLoaded(GameWorld* world);