Init native core before poi types and indexes

This commit is contained in:
Alex Sytnyk 2018-10-16 15:18:08 +03:00
parent 3714fcb65b
commit 985a008efb

View file

@ -631,16 +631,14 @@ 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();