mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-11-21 01:40:44 +01:00
Bug in recording fixed.
This commit is contained in:
1 parent
57291f3d5b
commit
51129eaf30
4 files changed
+25
-11
No files matched your search
@@ -191,7 +191,11 @@ namespace KinectServer
|
||||
List<List<byte>> lFrameRGBAllDevices = new List<List<byte>>();
|
||||
List<List<float>> lFrameVertsAllDevices = new List<List<float>>();
|
||||
|
||||
oServer.GetStoredFrame(lFrameRGBAllDevices, lFrameVertsAllDevices);
|
||||
bool success = oServer.GetStoredFrame(lFrameRGBAllDevices, lFrameVertsAllDevices);
|
||||
|
||||
//This indicates that there are no more stored frames.
|
||||
if (!success)
|
||||
break;
|
||||
|
||||
nFrames++;
|
||||
int nVerticesTotal = 0;
|
||||
@@ -200,10 +204,6 @@ namespace KinectServer
|
||||
nVerticesTotal += lFrameVertsAllDevices[i].Count;
|
||||
}
|
||||
|
||||
//This indicates that there are no more stored frames.
|
||||
if (nVerticesTotal == 0)
|
||||
break;
|
||||
|
||||
List<byte> lFrameRGB = new List<byte>();
|
||||
List<Single> lFrameVerts = new List<Single>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user