| 165 | } |
| 166 | |
| 167 | std::unique_ptr<Object> LoadTempObject(std::string_view id, bool loadImages) override |
| 168 | { |
| 169 | const ObjectRepositoryItem* ori = _objectRepository.FindObject(id); |
| 170 | if (ori == nullptr) |
| 171 | { |
| 172 | LOG_ERROR("Object '%s' not found in repository.", std::string{ id }.c_str()); |
| 173 | return nullptr; |
| 174 | } |
| 175 | |
| 176 | auto object = _objectRepository.LoadObject(ori, loadImages); |
| 177 | return object; |
| 178 | } |
| 179 | |
| 180 | Object* LoadObject(std::string_view identifier) override |
| 181 | { |
no test coverage detected