EgtGeomKernel :

- piccole mdofiche poco più che estetiche.
This commit is contained in:
Dario Sassi
2025-01-20 08:30:39 +01:00
parent b5a2490fd4
commit b709776f5f
31 changed files with 131 additions and 130 deletions
+5 -5
View File
@@ -2267,7 +2267,7 @@ bool
GdbExecutor::SurfTriMeshEnd( const STRVECTOR& vsParams)
{
// nessun parametro
if ( vsParams.size() != 0)
if ( ! vsParams.empty())
return false ;
// recupero la superficie
ISurfTriMesh* pSTM = GetSurfTriMesh( m_pGeoObj) ;
@@ -6632,7 +6632,7 @@ GdbExecutor::ExecuteDeselect( const string& sCmd2, const STRVECTOR& vsParams)
// deselezione di tutto
else if ( sCmd2 == "ALL") {
// nessun parametro
if ( vsParams.size() != 0)
if ( ! vsParams.empty())
return false ;
// cancello selezione oggetti
if ( ! m_pGDB->ClearSelection())
@@ -7773,7 +7773,7 @@ bool
GdbExecutor::ExecuteNew( const string& sCmd2, const STRVECTOR& vsParams)
{
// nessun parametro
if ( vsParams.size() != 0)
if ( ! vsParams.empty())
return false ;
// pulizia e reinizializzazione del DB geometrico
m_pGDB->Clear() ;
@@ -7946,7 +7946,7 @@ GdbExecutor::ExecuteOutTsc( const string& sCmd2, const STRVECTOR& vsParams)
// chiudo il file di uscita Tsc
else if ( sCmd2 == "CLOSE") {
// nessun parametro
if ( vsParams.size() != 0)
if ( ! vsParams.empty())
return false ;
// scrivo terminazioni e chiudo il file
return m_OutTsc.Close() ;
@@ -7969,7 +7969,7 @@ GdbExecutor::ExecuteOutTsc( const string& sCmd2, const STRVECTOR& vsParams)
else if ( sCmd2 == "SETGR") {
Frame3d frF ;
// nessun parametro
if ( vsParams.size() == 0)
if ( vsParams.empty())
frF.Reset() ;
// un parametro ( Id del gruppo)
else if ( vsParams.size() == 1) {