mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-17 22:08:27 +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;
|
||||
}
|
||||
}
|
||||
if (bit != 0) {
|
||||
destinationBuffer++;
|
||||
}
|
||||
int boolsSize = destinationBuffer - start;
|
||||
success = append(start, boolsSize);
|
||||
if (success) {
|
||||
|
|
Loading…
Reference in a new issue