Skip to content
Snippets Groups Projects
Commit b89dd4df authored by Francois Henrotte's avatar Francois Henrotte
Browse files

correction in Msg::ImportPhysicalsAsOnelabRegions()

parent faf88978
No related branches found
No related tags found
No related merge requests found
...@@ -796,7 +796,10 @@ void Msg::ImportPhysicalsAsOnelabRegions() ...@@ -796,7 +796,10 @@ void Msg::ImportPhysicalsAsOnelabRegions()
if(_onelabClient){ if(_onelabClient){
std::map<int, std::vector<GEntity*> > groups[4]; std::map<int, std::vector<GEntity*> > groups[4];
GModel::current()->getPhysicalGroups(groups); GModel::current()->getPhysicalGroups(groups);
for(int dim = 0; dim < 3; dim++){ // FIXME
// for(int dim = 0; dim < 3; dim++) is clearly a mistake
// should the loop start at dim=0 or dim=1?
for(int dim = 0; dim <= 3; dim++){
for(std::map<int, std::vector<GEntity*> >::iterator it = groups[dim].begin(); for(std::map<int, std::vector<GEntity*> >::iterator it = groups[dim].begin();
it != groups[dim].end(); it++){ it != groups[dim].end(); it++){
// create "read-only" onelab region // create "read-only" onelab region
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment