Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/TextUI/Query/VectorsTextQuery.cpp

    r955b91 rf10b0c  
    3131
    3232
    33 TextDialog::VectorsTextQuery::VectorsTextQuery(std::string title, bool _check, std::string _description) :
    34     Dialog::VectorsQuery(title,_check,_description)
     33TextDialog::VectorsTextQuery::VectorsTextQuery(Parameter<std::vector<Vector> > &param, std::string title, bool _check, std::string _description) :
     34    Dialog::VectorsQuery(param, title,_check,_description)
    3535{}
    3636
     
    5050  // dissect by ","
    5151  double coord = 0.;
     52  std::vector<Vector> temp_vectors;
    5253  std::string::iterator olditerspace = line.begin();
    5354  std::string::iterator olditercomma = line.begin();
     
    7273      }
    7374      if (World::getInstance().getDomain().isValid(temp))
    74         tmp.push_back(temp);
     75        temp_vectors.push_back(temp);
    7576      olditerspace = vectoriter;
    7677    }
    7778  }
     79  tmp.set(temp_vectors);
    7880
    7981  return true;
Note: See TracChangeset for help on using the changeset viewer.