| 100 | } |
| 101 | |
| 102 | int Models::CopyModel(int model_id) { |
| 103 | int id = AddModel(); |
| 104 | GetModel(id) = GetModel(model_id); |
| 105 | return id; |
| 106 | } |
| 107 | |
| 108 | // Load a model and return its ID |
| 109 | int Models::loadModel(const std::string& rel_path, char flags, const std::string& store_name) { |