mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-31 01:20:53 +08:00
s_keepAttributes bug correction
This commit is contained in:
+1
-1
@@ -391,7 +391,6 @@ void q3DMASCPlugin::doTrainAction()
|
||||
trainDlg.testDataRatioSpinBox->setValue(static_cast<int>(s_params.testDataRatio * 100));
|
||||
trainDlg.testDataRatioSpinBox->setEnabled(testCloud == nullptr);
|
||||
trainDlg.setInputFilePath(inputFilename);
|
||||
static bool s_keepAttributes = trainDlg.checkBox_useExistingScalarFields->isChecked();
|
||||
|
||||
//display the loaded features and let the user select the ones to use
|
||||
trainDlg.setResultText("Select features and press 'Run'");
|
||||
@@ -416,6 +415,7 @@ void q3DMASCPlugin::doTrainAction()
|
||||
}
|
||||
}
|
||||
|
||||
static bool s_keepAttributes = trainDlg.keepAttributesCheckBox->isChecked();
|
||||
if (!trainDlg.exec())
|
||||
{
|
||||
delete group;
|
||||
|
||||
Reference in New Issue
Block a user