diff options
| author | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
|---|---|---|
| committer | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
| commit | 236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch) | |
| tree | e486f2fa39dba203563895541e92c60ed3e25759 /tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp | |
| parent | Added screens to welcome page (diff) | |
| download | blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.tar.xz blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.zip | |
Blast 1.1 release (windows / linux)
see docs/release_notes.txt for details
Diffstat (limited to 'tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp')
| -rw-r--r-- | tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp b/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp index 424dbb3..556da33 100644 --- a/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp +++ b/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp @@ -7,6 +7,12 @@ SupportPanel::SupportPanel(QWidget *parent) : { ui->setupUi(this); + //ui->labelHealthMask->setEnabled(false); + //ui->comboBoxHealthMask->setEnabled(false); + //ui->btnAddHealthMask->setEnabled(false); + //ui->btnPen->setEnabled(false); + //ui->btnRemove->setEnabled(false); + _selectedBonds.clear(); } @@ -23,15 +29,15 @@ void SupportPanel::updateValues() { BPPBond* bond = _selectedBonds[0]; - ui->comboBoxHealthMask->clear(); - ui->comboBoxHealthMask->addItem(bond->name.buf); + //ui->comboBoxHealthMask->clear(); + //ui->comboBoxHealthMask->addItem(bond->name.buf); ui->spinBoxBondStrength->setValue(bond->support.bondStrength); ui->checkBoxEnableJoint->setChecked(bond->support.enableJoint); } else { - ui->comboBoxHealthMask->clear(); - ui->comboBoxHealthMask->addItem("None"); + //ui->comboBoxHealthMask->clear(); + //ui->comboBoxHealthMask->addItem("None"); ui->spinBoxBondStrength->setValue(1.0f); ui->checkBoxEnableJoint->setChecked(false); } |