Parcourir la source

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

GSP il y a 4 semaines
Parent
commit
6d67ad0eb6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);