From 1be259cf25951d15792e5d87b40135d9b63c3758 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 23 Jul 2025 18:18:37 +0200 Subject: [PATCH] EgtMachKernel 2.7g3 : - corretto IsEmpty per Disposition con ClPath vuoto per contenere solo comandi ausiliari. --- Disposition.h | 8 +++++++- EgtMachKernel.rc | Bin 11774 -> 11774 bytes 2 files changed, 7 insertions(+), 1 deletion(-) 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 430b5ead0d587c8630496ed77437fd2a2cee8f27..3abe86ca040e5a43a82c3ca85b809b68f01d5ea6 100644 GIT binary patch delta 97 zcmewt{V#gMFE&Qw&A-`fnHh~IKa|wnoW?bQ1uSxrY4Qod0+^@}R1`^_2jk{d(jGv4 NK<#LXK~l;gTmUD-Bai?9 delta 97 zcmewt{V#gMFE&P_&A-`fnHh~HKa|wnoW?bQ1uSxrY4Qod0+^@}R1`^_2jk{d(jGv4 NK<#LXK~l;gTmU8!BZvS1