gpu: initialize scene uploader scene id with nanotime
Multiple gpu plugins initializing the scene id to the current time can cause conflicts. This makes that less likely.
This commit is contained in:
@@ -50,7 +50,7 @@ class SceneUploader
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
int sceneId = (int) (System.currentTimeMillis() / 1000L);
|
||||
int sceneId = (int) System.nanoTime();
|
||||
private int offset;
|
||||
private int uvoffset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user