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:
parent
9c0f3f3042
commit
29570e794f
@ -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,
|
||||
|
@ -54,8 +54,6 @@ public slots:
|
||||
|
||||
void showItem(qint16 item);
|
||||
|
||||
void showAnimation(Animation* anim);
|
||||
|
||||
void exportModel();
|
||||
|
||||
void dataLoaded(GameWorld* world);
|
||||
|
Loading…
Reference in New Issue
Block a user