diff --git a/Disposition.h b/Disposition.h index 3a606e6..9d374a2 100644 --- a/Disposition.h +++ b/Disposition.h @@ -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 ; } diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 430b5ea..3abe86c 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ