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:
Adam
2022-05-19 13:23:35 -04:00
parent ebd8483a37
commit b9da0435d2

View File

@@ -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;