Revision aec421fd
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/tutorials/TutorialActivity.java | ||
---|---|---|
234 | 234 |
int meshState = object!=null ? object.getMeshState() : MESH_NICE; |
235 | 235 |
InputStream jsonStream = object==null ? null : object.getObjectStream(this); |
236 | 236 |
InputStream meshStream = object==null ? null : object.getMeshStream(this); |
237 |
String name = object==null ? "NULL" : object.getUpperName(); |
|
237 | 238 |
|
238 |
control.changeIfDifferent(ordinal,meshState,jsonStream,meshStream); |
|
239 |
control.changeIfDifferent(ordinal,name,meshState,jsonStream,meshStream);
|
|
239 | 240 |
} |
240 | 241 |
|
241 | 242 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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 !