EgtMachKernel :

- piccola miglioria per calcoli nuovo nome.
This commit is contained in:
Dario Sassi
2015-10-31 16:33:17 +00:00
parent 2324a8b3f4
commit 8482af09c6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ ToolsMgr::GetToolNewName( string& sName) const
if ( sName.empty())
sName = "Tool" ;
// verifico che il nome sia unico
int nCount = 1 ;
int nCount = 0 ;
string sOrigName = sName ;
while ( GetTool( sName) != nullptr) {
++ nCount ;