EgtGeomKernel 2.2j5 :

- in CAvToolSurfTm corretto controllo interruzione da utente (0=continua, 1=interrompi).
This commit is contained in:
Dario Sassi
2020-10-30 15:48:24 +00:00
parent 77e8ced470
commit 815911fbe1
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ CAvToolSurfTm::TestPath( PNTULIST& lPntM, const Vector3d& vtDir, const Vector3d&
if ( m_nCurrPnt > nNextPE) {
int nRes = ProcessEvents( int( m_nCurrPnt * 100. / m_nTotPnt), 10) ;
nNextPE += STEP_PE ;
if ( nRes == 0)
if ( nRes == 1)
m_bBreak = true ;
}
}
@@ -223,7 +223,7 @@ CAvToolSurfTm::TestSubPath( int nId, PNTULIST& lPntM, const Vector3d& vtDir, dou
// gestione eventi (ogni STEP_PE punti)
if (( m_nCurrPnt % STEP_PE) == 0) {
int nRes = ProcessEvents( int( m_nCurrPnt * 100. / m_nTotPnt), 0) ;
if ( nRes == 0)
if ( nRes == 1)
return false ;
}
}
BIN
View File
Binary file not shown.