mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 20:23:06 +02:00
fix QVector<bool> packing when number of joints isn't a multiple of 8
This commit is contained in:
parent
4b9720dbf0
commit
64cb5d1b1a
1 changed files with 3 additions and 0 deletions
|
@ -451,6 +451,9 @@ bool OctreePacketData::appendValue(const QVector<bool>& value) {
|
||||||
bit = 0;
|
bit = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (bit != 0) {
|
||||||
|
destinationBuffer++;
|
||||||
|
}
|
||||||
int boolsSize = destinationBuffer - start;
|
int boolsSize = destinationBuffer - start;
|
||||||
success = append(start, boolsSize);
|
success = append(start, boolsSize);
|
||||||
if (success) {
|
if (success) {
|
||||||
|
|
Loading…
Reference in a new issue