aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp
diff options
context:
space:
mode:
authorAnton Novoselov <[email protected]>2017-08-01 12:53:38 +0300
committerAnton Novoselov <[email protected]>2017-08-01 12:53:38 +0300
commit236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch)
treee486f2fa39dba203563895541e92c60ed3e25759 /tools/ArtistTools/source/BlastPlugin/Window/SupportPanel.cpp
parentAdded screens to welcome page (diff)
downloadblast-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.cpp14
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);
}