Browse Source

set merged particle's xray fieldId as the same with the particle

GSP 3 weeks ago
parent
commit
6d67ad0eb6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      OTSCPP/OTSImagePro/OTSImageProcess.cpp

+ 1 - 0
OTSCPP/OTSImagePro/OTSImageProcess.cpp

@@ -2341,6 +2341,7 @@ namespace OTSIMGPROC
 		xray->SetElementQuantifyData(newCheList);
 		partTagId++;
 		xray->SetIndex(partTagId);
+		xray->SetScanFieldId(p->GetFieldId());
 		newPart->SetXrayInfo(xray);
 		newPart->SetConnectedParticlesSequentialString(partsStr);
 		newPart->SetSubParticles(allSubParts);