TestEGr :

- ricompilazione.
This commit is contained in:
Dario Sassi
2014-08-19 20:24:40 +00:00
parent b69602a462
commit e6097e81de
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ CTestEGrDlg::InsertGroupInTree( int nId, HTREEITEM hParent)
// creo un iteratore
PtrOwner<IGdbIterator> pIter( CreateGdbIterator()) ;
if ( ! ::IsValid( pIter))
if ( IsNull( pIter))
return false ;
// scandisco il gruppo
pIter->SetGDB( m_pGeomDB) ;
BIN
View File
Binary file not shown.
+4 -4
View File
@@ -1232,7 +1232,7 @@ CTestEGrDlg::FileImport( const string& sFilePath)
int nPartId = m_pGeomDB->AddGroup( GDB_ID_NULL, GDB_ID_ROOT, Frame3d()) ;
// preparo l'importatore
PtrOwner<IImportDxf> pImpDxf( CreateImportDxf()) ;
if ( ! IsValid( pImpDxf)) {
if ( IsNull( pImpDxf)) {
LOG_ERROR( m_pLogGen, "Error : CreateImportDxf")
return false ;
}
@@ -1253,7 +1253,7 @@ CTestEGrDlg::FileImport( const string& sFilePath)
int nLayerId = m_pGeomDB->AddGroup( GDB_ID_NULL, nPartId, Frame3d()) ;
// preparo l'importatore
PtrOwner<IImportStl> pImpStl( CreateImportStl()) ;
if ( ! IsValid( pImpStl)) {
if ( IsNull( pImpStl)) {
LOG_ERROR( m_pLogGen, "Error : CreateImportStl")
return false ;
}
@@ -1314,7 +1314,7 @@ CTestEGrDlg::FileExport( const string& sFilePath)
if ( sFileExt == "DXF") {
// preparo l'esportatore
PtrOwner<IExportDxf> pExpDxf( CreateExportDxf()) ;
if ( ! IsValid( pExpDxf)) {
if ( IsNull( pExpDxf)) {
LOG_ERROR( m_pLogGen, "Error : CreateExportDxf")
return false ;
}
@@ -1329,7 +1329,7 @@ CTestEGrDlg::FileExport( const string& sFilePath)
else if ( sFileExt == "STL") {
// preparo l'esportatore
PtrOwner<IExportStl> pExpStl( CreateExportStl()) ;
if ( ! IsValid( pExpStl)) {
if ( IsNull( pExpStl)) {
LOG_ERROR( m_pLogGen, "Error : CreateExportStl")
return false ;
}