EgtExecutor :

- migliorie e correzioni a dialoghi lua con selezione oggetti.
This commit is contained in:
Dario Sassi
2026-07-27 09:24:56 +02:00
parent 79c96d24e2
commit c5ea2260b7
3 changed files with 53 additions and 51 deletions
+5 -5
View File
@@ -75,7 +75,7 @@ ExeSelectObj( int nId)
if ( bOk)
UpdateDialogIds() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
if ( IsCmdLog() && ! IsSelectionFromDialog()) {
string sLua = "EgtSelectObj(" + ToString( nId) + ")" +
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
@@ -102,7 +102,7 @@ ExeDeselectObj( int nId)
if ( bOk)
UpdateDialogIds() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
if ( IsCmdLog() && ! IsSelectionFromDialog()) {
string sLua = "EgtDeselectObj(" + ToString( nId) + ")" +
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
@@ -165,7 +165,7 @@ ExeDeselectAll( void)
if ( bOk)
UpdateDialogIds() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
if ( IsCmdLog() && ! IsSelectionFromDialog()) {
string sLua = "EgtDeselectAll()"
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
@@ -194,7 +194,7 @@ ExeSelectGroupObjs( int nGroupId)
if ( bOk)
UpdateDialogIds() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
if ( IsCmdLog() && ! IsSelectionFromDialog()) {
string sLua = "EgtSelectGroupObjs(" + ToString( nGroupId) + ")" +
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
@@ -220,7 +220,7 @@ ExeDeselectGroupObjs( int nGroupId)
if ( bOk)
UpdateDialogIds() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
if ( IsCmdLog() && ! IsSelectionFromDialog()) {
string sLua = "EgtDeselectGroupObjs(" + ToString( nGroupId) + ")" +
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;