make Octree::readBitstreamToTree() virtual

This commit is contained in:
Andrew Meadows 2017-08-16 11:45:18 -07:00
parent 171151b92a
commit 82ed19386f
3 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ void EntityTree::eraseAllOctreeElements(bool createNewRoot) {
}
void EntityTree::readBitstreamToTree(const unsigned char* bitstream,
unsigned long int bufferSizeBytes, ReadBitstreamToTreeParams& args) {
uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args) {
Octree::readBitstreamToTree(bitstream, bufferSizeBytes, args);
// add entities

View file

@ -82,7 +82,7 @@ public:
virtual void eraseAllOctreeElements(bool createNewRoot = true) override;
virtual void readBitstreamToTree(const unsigned char* bitstream,
unsigned long int bufferSizeBytes, ReadBitstreamToTreeParams& args) override;
uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args) override;
int readEntityDataFromBuffer(const unsigned char* data, int bytesLeftToRead, ReadBitstreamToTreeParams& args);
// These methods will allow the OctreeServer to send your tree inbound edit packets of your

View file

@ -232,7 +232,7 @@ public:
virtual void eraseAllOctreeElements(bool createNewRoot = true);
void readBitstreamToTree(const unsigned char* bitstream, uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args);
virtual void readBitstreamToTree(const unsigned char* bitstream, uint64_t bufferSizeBytes, ReadBitstreamToTreeParams& args);
void deleteOctalCodeFromTree(const unsigned char* codeBuffer, bool collapseEmptyTrees = DONT_COLLAPSE);
void reaverageOctreeElements(OctreeElementPointer startElement = OctreeElementPointer());