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
107107 }
108108
109109 void MetavoxelSystem::nodeAdded(SharedNodePointer node) {
110− if (node->getType() == NODE_TYPE_METAVOXEL_SERVER) {
110+ if (node->getType() == NodeType::MetavoxelServer) {
111111 QMetaObject::invokeMethod(this, "addClient", Q_ARG(const QUuid&, node->getUUID()),
112112 Q_ARG(const HifiSockAddr&, node->getLocalSocket()));
113113 }
114114 }
115115
116116 void MetavoxelSystem::nodeKilled(SharedNodePointer node) {
117− if (node->getType() == NODE_TYPE_METAVOXEL_SERVER) {
117+ if (node->getType() == NodeType::MetavoxelServer) {
118118 QMetaObject::invokeMethod(this, "removeClient", Q_ARG(const QUuid&, node->getUUID()));
119119 }
120120 }