Ignore:
Timestamp:
10/30/15 16:33:49 (6 years ago)
Author:
rlacroix
Message:

Axis/Domain?: Use the new infrastructure to get the output name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/axis.cpp

    r771 r772  
    891891      for (size_t i = 0; i < refAxis.size(); ++i) 
    892892        refAxis[i]->setTransformations(axis->getAllTransformations()); 
    893  
    894     // Try to inherit the id of the referenced object as the axis name 
    895     // when no name was been defined and a defaut id is used. 
    896     if (name.isEmpty()) 
    897     { 
    898       static const std::string defId("__axis_undef_id_"); 
    899       const std::string& id = getId(); 
    900       if (id.size() > defId.size() && id.compare(0, defId.size(), defId) == 0) 
    901         name = axis->getId(); 
    902     } 
    903893  } 
    904894 
Note: See TracChangeset for help on using the changeset viewer.