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 // native depends on renderers
initOpenGl(); initOpenGl();
notifyEvent(InitEvents.NATIVE_OPEN_GLINITIALIZED); notifyEvent(InitEvents.NATIVE_OPEN_GLINITIALIZED);
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
// init poi types before indexes and before POI // init poi types before indexes and before POI
initPoiTypes(); initPoiTypes();
notifyEvent(InitEvents.POI_TYPES_INITIALIZED); notifyEvent(InitEvents.POI_TYPES_INITIALIZED);
app.resourceManager.reloadIndexesOnStart(this, warnings); app.resourceManager.reloadIndexesOnStart(this, warnings);
// native depends on renderers
initNativeCore();
notifyEvent(InitEvents.NATIVE_INITIALIZED);
app.favorites.loadFavorites(); app.favorites.loadFavorites();
notifyEvent(InitEvents.FAVORITES_INITIALIZED); notifyEvent(InitEvents.FAVORITES_INITIALIZED);
app.poiFilters.reloadAllPoiFilters(); app.poiFilters.reloadAllPoiFilters();