Explorar o código

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

GSP hai 3 semanas
pai
achega
6d67ad0eb6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);