EgtMachKernel 2.7g3 :

- corretto IsEmpty per Disposition con ClPath vuoto per contenere solo comandi ausiliari.
This commit is contained in:
Dario Sassi
2025-07-23 18:18:37 +02:00
parent 56e949015f
commit 1be259cf25
2 changed files with 7 additions and 1 deletions
+7 -1
View File
@@ -74,7 +74,13 @@ class Disposition : public Operation
int GetType( void) const override
{ return OPER_DISP ; }
bool IsEmpty( int nEmptyType = NEED_GEOM) const override
{ return ( m_nShifts == 0) ; }
{ if ( m_nShifts == 0)
return true ;
if ( nEmptyType == NEED_ONE_TP_OK)
return ( ! IsAtLeastOnePathOk()) ;
if ( nEmptyType == NEED_ALL_TP_OK)
return ( ! AreAllPathsOk()) ;
return false ; }
bool UpdateStatus( int nModif) override
{ m_nStatus |= nModif ; return true ; }
BIN
View File
Binary file not shown.