Fix up build.
This commit is contained in:
parent
f26ee2ebc4
commit
b5f21900eb
16 changed files with 16 additions and 30 deletions
|
@ -23,7 +23,6 @@ MeshViewerView::~MeshViewerView()
|
|||
MeshViewerView::MeshViewerView()
|
||||
{
|
||||
mName = "MeshViewerView";
|
||||
mBackground = ThemeToken::SystemToken::Background;
|
||||
}
|
||||
|
||||
void MeshViewerView::doPaint(const PaintEvent* event)
|
||||
|
@ -35,7 +34,7 @@ void MeshViewerView::doPaint(const PaintEvent* event)
|
|||
|
||||
if (!mMeshNode)
|
||||
{
|
||||
mMeshNode = std::make_unique<MeshNode>(mLocation);
|
||||
mMeshNode = std::make_unique<MeshNode>(Transform(mLocation));
|
||||
mMeshNode->setName(mName + "_MeshNode");
|
||||
|
||||
mMeshNode->setWidth(mSize.mWidth);
|
||||
|
@ -48,7 +47,6 @@ void MeshViewerView::doPaint(const PaintEvent* event)
|
|||
|
||||
if (mTransformDirty)
|
||||
{
|
||||
mMeshNode->setLocation(mLocation);
|
||||
mMeshNode->setWidth(mSize.mWidth);
|
||||
mMeshNode->setHeight(mSize.mHeight);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue