Update color for example screwdriver model
parent
29355a0f74
commit
66c10ec5c3
Binary file not shown.
|
@ -36,6 +36,7 @@ RigWidget::RigWidget(const Document *document, QWidget *parent) :
|
||||||
m_rigWeightRenderWidget->setXRotation(0);
|
m_rigWeightRenderWidget->setXRotation(0);
|
||||||
m_rigWeightRenderWidget->setYRotation(0);
|
m_rigWeightRenderWidget->setYRotation(0);
|
||||||
m_rigWeightRenderWidget->setZRotation(0);
|
m_rigWeightRenderWidget->setZRotation(0);
|
||||||
|
m_rigWeightRenderWidget->setEyePosition(QVector3D(0.0, 0.0, -2.0));
|
||||||
m_rigWeightRenderWidget->toggleWireframe();
|
m_rigWeightRenderWidget->toggleWireframe();
|
||||||
|
|
||||||
m_infoLabel = new InfoLabel;
|
m_infoLabel = new InfoLabel;
|
||||||
|
@ -43,6 +44,7 @@ RigWidget::RigWidget(const Document *document, QWidget *parent) :
|
||||||
|
|
||||||
QVBoxLayout *layout = new QVBoxLayout;
|
QVBoxLayout *layout = new QVBoxLayout;
|
||||||
layout->addLayout(formLayout);
|
layout->addLayout(formLayout);
|
||||||
|
layout->addSpacing(10);
|
||||||
layout->addWidget(m_rigWeightRenderWidget);
|
layout->addWidget(m_rigWeightRenderWidget);
|
||||||
layout->addWidget(m_infoLabel);
|
layout->addWidget(m_infoLabel);
|
||||||
layout->addStretch();
|
layout->addStretch();
|
||||||
|
|
Loading…
Reference in New Issue