Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 44 files). Show all
Unified · Split
| @@ -107,14 +107,14 @@ void MetavoxelSystem::render() { · 106 unmodified lines | |||
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | void MetavoxelSystem::nodeAdded(SharedNodePointer node) { | 109 | void MetavoxelSystem::nodeAdded(SharedNodePointer node) { |
| 110 | if (node->getType() == NODE_TYPE_METAVOXEL_SERVER) { | 110 | if (node->getType() == NodeType::MetavoxelServer) { |
| 111 | QMetaObject::invokeMethod(this, "addClient", Q_ARG(const QUuid&, node->getUUID()), | 111 | QMetaObject::invokeMethod(this, "addClient", Q_ARG(const QUuid&, node->getUUID()), |
| 112 | Q_ARG(const HifiSockAddr&, node->getLocalSocket())); | 112 | Q_ARG(const HifiSockAddr&, node->getLocalSocket())); |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | void MetavoxelSystem::nodeKilled(SharedNodePointer node) { | 116 | void MetavoxelSystem::nodeKilled(SharedNodePointer node) { |
| 117 | if (node->getType() == NODE_TYPE_METAVOXEL_SERVER) { | 117 | if (node->getType() == NodeType::MetavoxelServer) { |
| 118 | QMetaObject::invokeMethod(this, "removeClient", Q_ARG(const QUuid&, node->getUUID())); | 118 | QMetaObject::invokeMethod(this, "removeClient", Q_ARG(const QUuid&, node->getUUID())); |
| 119 | } | 119 | } |
| 120 | } | 120 | } |