Bug fix: the classification SF was not saved in some cases!

This commit is contained in:
Daniel Girardeau-Montaut
2019-05-03 21:38:02 +02:00
parent 277fb3e116
commit 48b193e194
+1
View File
@@ -151,6 +151,7 @@ bool Classifier::classify( const Feature::Source::Set& featureSources,
errorMessage = QObject::tr("Not enough memory");
return false;
}
cloud->addScalarField(_classificationSF);
classificationSF = _classificationSF;
}
assert(classificationSF);