mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:52:31 +02:00
fix bug in referentials
This commit is contained in:
parent
a51cace167
commit
74585bc593
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ int Referential::packExtraData(unsigned char *destinationBuffer) const {
|
||||||
|
|
||||||
int Referential::unpackExtraData(const unsigned char* sourceBuffer, int size) {
|
int Referential::unpackExtraData(const unsigned char* sourceBuffer, int size) {
|
||||||
_extraDataBuffer.clear();
|
_extraDataBuffer.clear();
|
||||||
_extraDataBuffer.setRawData(reinterpret_cast<const char*>(sourceBuffer), size);
|
_extraDataBuffer.append(reinterpret_cast<const char*>(sourceBuffer), size);
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue