소스 검색

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

GSP 1 개월 전
부모
커밋
6d67ad0eb6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);