Commit 4fc53ed9 authored by Matthias Betz's avatar Matthias Betz
Browse files

fix feature export

parent cc4fe260
Pipeline #12500 passed with stage
in 2 minutes and 24 seconds
...@@ -1196,7 +1196,9 @@ public class CityDoctorController { ...@@ -1196,7 +1196,9 @@ public class CityDoctorController {
if (model == null) { if (model == null) {
return; return;
} }
CityDoctorModel newModel = new CityDoctorModel(model.getParserConfig(), model.getFile(), new UnconnectedCache()); UnconnectedCache cache = new UnconnectedCache();
CityDoctorModel newModel = new CityDoctorModel(model.getParserConfig(), model.getFile(), cache);
cache.put(co);
newModel.setCityModel(new CityModel()); newModel.setCityModel(new CityModel());
newModel.addCityObject(co); newModel.addCityObject(co);
newModel.setParsedCityGMLVersion(model.getCityGMLVersion()); newModel.setParsedCityGMLVersion(model.getCityGMLVersion());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment