projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd17ae
)
Remember to turn off has_metacube_header once we have consumed a block.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 7 Apr 2013 00:22:49 +0000
(
02:22
+0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 7 Apr 2013 00:22:49 +0000
(
02:22
+0200)
input.cpp
patch
|
blob
|
history
diff --git
a/input.cpp
b/input.cpp
index
a1b71d6
..
4846566
100644
(file)
--- a/
input.cpp
+++ b/
input.cpp
@@
-136,6
+136,7
@@
void Input::curl_callback(char *ptr, size_t bytes)
// should we have many blocks, but these routines don't need to be too efficient
// anyway.
pending_data.erase(pending_data.begin(), pending_data.begin() + sizeof(metacube_block_header) + size);
+ has_metacube_header = false;
}
}