mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 08:34:48 +08:00
Try to fill in the qClassify3DMASCDialog if names are available in the parameter file and clouds exist in the database tree with the same name (case insensitive)
Code cleaning
This commit is contained in:
+2
-1
@@ -165,7 +165,8 @@ struct Command3DMASCClassif : public ccCommandLineInterface::Command
|
||||
QList<QString> cloudLabels;
|
||||
QString corePointsLabel;
|
||||
bool filenamesSpecified = false;
|
||||
if (!masc::Tools::LoadClassifierCloudLabels(classifierFilename, cloudLabels, corePointsLabel, filenamesSpecified))
|
||||
QMap<QString, QString> labelsAndNames;
|
||||
if (!masc::Tools::LoadClassifierCloudLabels(classifierFilename, cloudLabels, corePointsLabel, filenamesSpecified, labelsAndNames))
|
||||
{
|
||||
return cmd.error("Failed to read classifier file");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user