Revision f12e4de9
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
254 | 254 |
RubikScores scores = RubikScores.getInstance(); |
255 | 255 |
scores.incrementNumRuns(); |
256 | 256 |
scores.setCountry(this); |
257 |
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this); |
|
258 |
RubikObjectList.restoreMeshState(preferences); |
|
257 | 259 |
} |
258 | 260 |
|
259 | 261 |
int object = RubikObjectList.getCurrObject(); |
... | ... | |
307 | 309 |
} |
308 | 310 |
|
309 | 311 |
RubikObjectList.savePreferences(editor); |
312 |
RubikObjectList.saveMeshState(editor); |
|
310 | 313 |
ScreenList.savePreferences(editor); |
311 | 314 |
RubikSurfaceView view = findViewById(R.id.rubikSurfaceView); |
312 | 315 |
view.getObjectControl().savePreferences(editor); |
Also available in: Unified diff
Progress with Config UI.