mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-23 20:47:45 +00:00
Add bone editor to full model viewer
This commit is contained in:
parent
8e9fd7fe15
commit
d9da02cdeb
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "fullmodelviewer.h"
|
||||
|
||||
#include "magic_enum.hpp"
|
||||
#include "boneeditor.h"
|
||||
#include <QVBoxLayout>
|
||||
|
||||
FullModelViewer::FullModelViewer(GameData *data) : data(data) {
|
||||
|
@ -12,7 +13,11 @@ FullModelViewer::FullModelViewer(GameData *data) : data(data) {
|
|||
setLayout(layout);
|
||||
|
||||
gearView = new GearView(data);
|
||||
layout->addWidget(gearView);
|
||||
|
||||
auto viewportLayout = new QHBoxLayout();
|
||||
viewportLayout->addWidget(gearView, 1);
|
||||
viewportLayout->addWidget(new BoneEditor(gearView));
|
||||
layout->addLayout(viewportLayout);
|
||||
|
||||
auto controlLayout = new QHBoxLayout();
|
||||
layout->addLayout(controlLayout);
|
||||
|
|
Loading…
Add table
Reference in a new issue