History

cleanup Node types, closes #1726

Stephen Birarda committed 12 years ago

Commit 4de270b1 parent fe410ae44 files · +176 −184Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 44 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+2−2
@@ -107,14 +107,14 @@ void MetavoxelSystem::render() { · 106 unmodified lines
107}107}
108 108
109void MetavoxelSystem::nodeAdded(SharedNodePointer node) {109void 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
116void MetavoxelSystem::nodeKilled(SharedNodePointer node) {116void 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}