bug correction in progress: crash when dupplicated features are configured in the parameter file

This commit is contained in:
Paul Leroy
2023-05-23 00:06:22 +02:00
parent 21c389c43e
commit bcb5e3664d
5 changed files with 33 additions and 10 deletions
+2
View File
@@ -128,6 +128,8 @@ bool ContextBasedFeature::prepare( const CorePoints& corePoints,
sf = corePoints.cloud->getScalarField(sfIdx);
generatedScalarFields->push(corePoints.cloud, sf, SFCollector::ALWAYS_KEEP);
this->valueAlreadyComputed = true;
source.name = sf->getName();
return true;
}
}