«
Previous
|
Next
»
Revision 65c29dec
Added by Leszek Koltunski 3 days ago
- ID 65c29dec7860103287993ba7c93a4aec374d2aec
- Parent af1de9ff
src/main/java/org/distorted/bandaged/BandagedActivity.java | ||
---|---|---|
252 | 252 |
{ |
253 | 253 |
SharedPreferences.Editor editor = mPreferences.edit(); |
254 | 254 |
OSInterface os = new OSInterface(this,null); |
255 |
os.setEditor(editor); |
|
255 |
// os.setEditor(editor);
|
|
256 | 256 |
object.removePreferences(os); |
257 | 257 |
editor.apply(); |
258 | 258 |
} |
src/main/java/org/distorted/config/ConfigActivity.java | ||
---|---|---|
94 | 94 |
} |
95 | 95 |
|
96 | 96 |
OSInterface os = view.getInterface(); |
97 |
os.setPreferences(mPreferences); |
|
97 |
// os.setPreferences(mPreferences);
|
|
98 | 98 |
restorePreferences(); |
99 | 99 |
|
100 | 100 |
if( mScreen==null ) mScreen = new ConfigScreen(); |
... | ... | |
157 | 157 |
|
158 | 158 |
ConfigSurfaceView view = findViewById(R.id.configSurfaceView); |
159 | 159 |
OSInterface os = view.getInterface(); |
160 |
os.setEditor(editor); |
|
160 |
// os.setEditor(editor);
|
|
161 | 161 |
view.getObjectControl().savePreferences(); |
162 | 162 |
|
163 | 163 |
editor.putBoolean("configDisplayDialog", mDisplayMessageDialog ); |
src/main/java/org/distorted/play/PlayActivity.java | ||
---|---|---|
196 | 196 |
|
197 | 197 |
PlayView view = findViewById(R.id.playView); |
198 | 198 |
OSInterface os = view.getInterface(); |
199 |
os.setEditor(editor); |
|
199 |
// os.setEditor(editor);
|
|
200 | 200 |
view.getObjectControl().savePreferences(); |
201 | 201 |
|
202 | 202 |
RubikScores scores = RubikScores.getInstance(); |
... | ... | |
218 | 218 |
|
219 | 219 |
PlayView view = findViewById(R.id.playView); |
220 | 220 |
OSInterface os = view.getInterface(); |
221 |
os.setPreferences(mPreferences); |
|
221 |
// os.setPreferences(mPreferences);
|
|
222 | 222 |
view.getObjectControl().restorePreferences(); |
223 | 223 |
} |
224 | 224 |
|
Also available in: Unified diff
fix for the issue that VertexEffects couldn't be pre-applied to meshes.