TestEGr :
- ricompilazione.
This commit is contained in:
+1
-1
@@ -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
Binary file not shown.
+4
-4
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user