Revision aec421fd
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
493 | 493 |
int meshState = object!=null ? object.getMeshState() : MESH_NICE; |
494 | 494 |
InputStream jsonStream = object==null ? null : object.getObjectStream(this); |
495 | 495 |
InputStream meshStream = object==null ? null : object.getMeshStream(this); |
496 |
String name = object==null ? "NULL" : object.getUpperName(); |
|
496 | 497 |
|
497 |
control.changeIfDifferent(ordinal,meshState,jsonStream,meshStream); |
|
498 |
control.changeIfDifferent(ordinal,name,meshState,jsonStream,meshStream);
|
|
498 | 499 |
} |
499 | 500 |
|
500 | 501 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Downloaded Objects: subtle bugfix. We cannot use ObjectType in ObjectControl to check if two objects are the same because DownloadedObjects have ObjectType null !