|
@@ -748,7 +748,7 @@ namespace OTSModelSharp
|
|
|
Thread.Sleep(100);
|
|
|
}
|
|
|
//merging particles
|
|
|
- log.Info("Merging big particles on the field edge!");
|
|
|
+ log.Info("Merging big particles which are crossing the field edge!");
|
|
|
CImageHandler imgpro = new CImageHandler();
|
|
|
int scanfldsize = m_Sample.GetSEMDataMsr().GetScanFieldSize();
|
|
|
List<COTSParticleClr> mergedParticles = new List<COTSParticleClr>();
|
|
@@ -1061,7 +1061,7 @@ namespace OTSModelSharp
|
|
|
|
|
|
foreach (COTSParticleClr part in mergedParts)
|
|
|
{
|
|
|
- mergedpartdb.SaveAParticle(part, part.GetXray(), new System.Drawing.Point(0, 0));
|
|
|
+ mergedpartdb.SaveAParticle(part, part.GetXray(), (Point)part.GetAbsolutPos());
|
|
|
}
|
|
|
CPosXrayDBMgr pXrayDBMgr = pDBFileMgr.GetPosXrayDBMgr();
|
|
|
CElementChemistryDB xraydb = pXrayDBMgr.GetElementChemistryDB();
|