git-svn-id: svn://db.shs.com.ru/libs@311 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-11-09 08:20:33 +00:00
parent f03264d7fb
commit bd91c2e0b7
8 changed files with 43 additions and 6 deletions

View File

@@ -218,13 +218,13 @@ void KX_Pult::setControlsEnable(bool enable) {
void KX_Pult::setX(const KX_X_Data & data) {
if (!show_x) return;
ui->graphic->lock();
//ui->graphic->lock();
for (int i = 0; i < KX_X_PACKET_NUM; ++i) {
if (!isNormalDouble(data.x_data[i])) continue;
ui->graphic->addPoint(data.x_data[i], i, false);
values[i]->setText(QString("(%1): %2").arg(data.x_num[i]).arg(data.x_data[i]));
}
ui->graphic->unlock();
//ui->graphic->unlock();
if (!isPause) {
need_update = true;
}