![](/media/cache/profiles/68a15b5278e4f7c4c056df9d5f1d3b1f.jpg.50x50_q85.jpg)
save loops
Diff: main.cpp
- Revision:
- 1:3be7b7d050f4
- Parent:
- 0:df6fdd9b99f0
--- a/main.cpp Tue Dec 02 04:39:15 2014 +0000 +++ b/main.cpp Tue Dec 02 08:29:59 2014 +0000 @@ -796,6 +796,15 @@ } } + else if (!strcmp( address[0], "sendAnchorPos" ) ) { + int value=data[0]; + if (value!=-1) { // otherwise do nothing, this is a reception error (there was no data) + for (int i=0; i< blobconf.numBlobs; i++) { + blobconf.blobArray[i]->sendingAnchorPosition=(value>0); + } + } + } + else if (!strcmp( address[0], "sendRegions" ) ) { int value=data[0]; if (value!=-1) { // otherwise do nothing, this is a reception error (there was no data)