Changeset 3349

Show
Ignore:
Timestamp:
11/16/09 08:28:20 (4 months ago)
Author:
kraftche
Message:

patch from Jed Brown: convert ITAPS format option string to MOAB format for write_file call

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp

    r3343 r3349  
    355355    eatwhitespace(tmp_filename); 
    356356    eatwhitespace(tmp_options); 
    357    
     357    std::string opts = ";"; opts += tmp_options; 
     358 
    358359    MBEntityHandle set = ENTITY_HANDLE(handle); 
    359     MBErrorCode result = MBI->write_file(tmp_filename.c_str(), NULL, tmp_options.c_str(), 
     360    MBErrorCode result = MBI->write_file(tmp_filename.c_str(), NULL, opts.c_str(), 
    360361                                         &set, 1); 
    361362