void MetavoxelClient::applyEdit(const MetavoxelEditMessage& edit) { // apply immediately to local tree edit.apply(_data, _sequencer.getWeakSharedObjectHash()); // start sending it out _sequencer.sendHighPriorityMessage(QVariant::fromValue(edit)); }
void MetavoxelServer::applyEdit(const MetavoxelEditMessage& edit) { edit.apply(_data, SharedObject::getWeakHash()); }
void MetavoxelServer::applyEdit(const MetavoxelEditMessage& edit) { MetavoxelData data = _data; edit.apply(data, SharedObject::getWeakHash()); setData(data); }