EgtExecutor :
- migliorie e correzioni a dialoghi lua con selezione oggetti.
This commit is contained in:
@@ -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()) ;
|
||||
|
||||
Reference in New Issue
Block a user