fix QVector<bool> packing when number of joints isn't a multiple of 8

This commit is contained in:
Seth Alves 2016-11-02 20:02:07 -07:00
parent 4b9720dbf0
commit 64cb5d1b1a

View file

@ -451,6 +451,9 @@ bool OctreePacketData::appendValue(const QVector<bool>& value) {
bit = 0;
}
}
if (bit != 0) {
destinationBuffer++;
}
int boolsSize = destinationBuffer - start;
success = append(start, boolsSize);
if (success) {