Showing the changes to interface/src/VoxelSystem.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2256,23 +2256,6 @@ bool VoxelSystem::hideOutOfViewOperation(OctreeElement* element, void* extraData · 2255 unmodified lines | |||
| 2256 | } | 2256 | } |
| 2257 | 2257 | ||
| 2258 | 2258 | ||
| 2259 | void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) { | ||
| 2260 | _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot); | ||
| 2261 | destination->setupNewVoxelsForDrawing(); | ||
| 2262 | } | ||
| 2263 | |||
| 2264 | void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelTree* destination, bool rebaseToRoot) { | ||
| 2265 | _tree->copySubTreeIntoNewTree(startNode, destination, rebaseToRoot); | ||
| 2266 | } | ||
| 2267 | |||
| 2268 | void VoxelSystem::copyFromTreeIntoSubTree(VoxelTree* sourceTree, VoxelTreeElement* destinationNode) { | ||
| 2269 | _tree->copyFromTreeIntoSubTree(sourceTree, destinationNode); | ||
| 2270 | } | ||
| 2271 | |||
| 2272 | void VoxelSystem::recurseTreeWithOperation(RecurseOctreeOperation operation, void* extraData) { | ||
| 2273 | _tree->recurseTreeWithOperation(operation, extraData); | ||
| 2274 | } | ||
| 2275 | |||
| 2276 | void VoxelSystem::nodeAdded(SharedNodePointer node) { | 2259 | void VoxelSystem::nodeAdded(SharedNodePointer node) { |
| 2277 | if (node->getType() == NodeType::VoxelServer) { | 2260 | if (node->getType() == NodeType::VoxelServer) { |
| 2278 | qDebug("VoxelSystem... voxel server %s added...", node->getUUID().toString().toLocal8Bit().constData()); | 2261 | qDebug("VoxelSystem... voxel server %s added...", node->getUUID().toString().toLocal8Bit().constData()); |