Revert "Init native core before poi types and indexes"

This commit is contained in:
Alex Sytnyk 2018-10-17 16:36:31 +03:00
parent 04f079381a
commit 2362c5dc93

View file

@ -631,14 +631,16 @@ public class AppInitializer implements IProgress {
// native depends on renderers
initOpenGl();
notifyEvent(InitEvents.NATIVE_OPEN_GLINITIALIZED);
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
// init poi types before indexes and before POI
initPoiTypes();
notifyEvent(InitEvents.POI_TYPES_INITIALIZED);
app.resourceManager.reloadIndexesOnStart(this, warnings);
// native depends on renderers
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
app.favorites.loadFavorites();
notifyEvent(InitEvents.FAVORITES_INITIALIZED);
app.poiFilters.reloadAllPoiFilters();