mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-11 21:41:24 +00:00
Finished Temporal Sync Feature
This commit is contained in:
@@ -75,6 +75,8 @@ namespace KinectServer
|
||||
IFormatter formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
|
||||
Stream stream = new FileStream("settings.bin", FileMode.Open, FileAccess.Read);
|
||||
oSettings = (KinectSettings)formatter.Deserialize(stream);
|
||||
//This always needs to be set to false on startup, as we can only activate it when all Kinects are already connected
|
||||
oSettings.bEnableSync = false;
|
||||
stream.Close();
|
||||
}
|
||||
catch(Exception)
|
||||
@@ -496,6 +498,7 @@ namespace KinectServer
|
||||
for (int i = 0; i < socketList.Count; i++)
|
||||
listBoxItems.Add(socketList[i].sSocketState);
|
||||
|
||||
|
||||
lClientListBox.DataSource = listBoxItems;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user