diff --git a/rwviewer/ViewerWidget.cpp b/rwviewer/ViewerWidget.cpp index 462cd4c2..99109a70 100644 --- a/rwviewer/ViewerWidget.cpp +++ b/rwviewer/ViewerWidget.cpp @@ -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, diff --git a/rwviewer/ViewerWidget.hpp b/rwviewer/ViewerWidget.hpp index 11a318cb..043c65d3 100644 --- a/rwviewer/ViewerWidget.hpp +++ b/rwviewer/ViewerWidget.hpp @@ -54,8 +54,6 @@ public slots: void showItem(qint16 item); - void showAnimation(Animation* anim); - void exportModel(); void dataLoaded(GameWorld* world);