fix bug in referentials

This commit is contained in:
ZappoMan 2014-08-26 10:14:28 -07:00
parent a51cace167
commit 74585bc593

View file

@ -107,7 +107,7 @@ int Referential::packExtraData(unsigned char *destinationBuffer) const {
int Referential::unpackExtraData(const unsigned char* sourceBuffer, int size) {
_extraDataBuffer.clear();
_extraDataBuffer.setRawData(reinterpret_cast<const char*>(sourceBuffer), size);
_extraDataBuffer.append(reinterpret_cast<const char*>(sourceBuffer), size);
return size;
}