Fix entity data not being stored when Id and DataVersion are null

This commit is contained in:
Ryan Huffman 2018-02-27 08:33:20 -08:00
parent 8a8830bbd4
commit 88931d9c95

View file

@ -1187,7 +1187,7 @@ void OctreeServer::handleOctreeDataFileReply(QSharedPointer<ReceivedMessage> mes
} else {
qDebug() << "Got reply to octree data file request, current entity data is sufficient";
OctreeUtils::RawOctreeData data;
OctreeUtils::RawEntityData data;
qCDebug(octree_server) << "Reading octree data from" << _persistAbsoluteFilePath;
if (data.readOctreeDataInfoFromFile(_persistAbsoluteFilePath)) {
if (data.id.isNull()) {