mrDarker
2025-08-06 2379434200219132ee252f12d47a1e5efd160f42
EdgeInspector_App/MainFrm.cpp
@@ -550,20 +550,18 @@
BOOL CMainFrame::IV2M_SetLiveGrabCommand(DimensionDir eDim,BOOL bStop)
{
   if (IsScanNow())
   {
   if (IsScanNow()) {
      g_pLog->DisplayMessage(_T("Doing Inspection"));
      return TRUE;
   }
   // 4/13 MiniLED
   if(eDim < DIMENSION_A || eDim > DIMENSION_D)
   if (eDim < DIMENSION_A || eDim > DIMENSION_D_RIP) {
      return FALSE;
   }
   g_pLog->DisplayMessage(_T("Live Cam %d Start : Main"),(int)eDim);   
   BOOL bRet = SetLiveGrabCommand(eDim,bStop);
   g_pLog->DisplayMessage(_T("Live Cam %d End : Main"),(int)eDim);
   return bRet;
@@ -571,16 +569,18 @@
LPBYTE CMainFrame::IV2M_GetGrabBufferByDimension(DimensionDir eDim,int iVline)
{
   //    if(IsScanNow())
   //    {
   //       g_pLog->DisplayMessage(_T("Doing Inspection"));
   //       return NULL;
   //    }
   //if (IsScanNow()) {
   //   g_pLog->DisplayMessage(_T("Doing Inspection"));
   //   return NULL;
   //}
   if(eDim < DIMENSION_A || eDim > DIMENSION_D_DN)
   if (eDim < DIMENSION_A || eDim > DIMENSION_D_RIP) {
      return NULL;
   if(iVline < 0)
   }
   if (iVline < 0) {
      return NULL;
   }
   return GetGrabBuffer(eDim,iVline);
}
@@ -612,7 +612,6 @@
#ifndef _DEBUG
      SetSlashText(GLOBAL_DEFINE::emShow, _T(""), RGB(0,0,0));
#endif
      SetSlashText(GLOBAL_DEFINE::emText, _T("Image Loading Start"), RGB(0,0,0));
      if(iSide > -1)