History

removed more VoxelSystem wrappers, call VoxelTree directly

ZappoMan committed 12 years ago

Commit 5f6a60e1 parent f0e73d23 files · +3 −25Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+0−17
@@ -2256,23 +2256,6 @@ bool VoxelSystem::hideOutOfViewOperation(OctreeElement* element, void* extraData · 2255 unmodified lines
2256}2256}
2257 2257
2258 2258
2259void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) {
2260 _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot);
2261 destination->setupNewVoxelsForDrawing();
2262}
2263
2264void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelTree* destination, bool rebaseToRoot) {
2265 _tree->copySubTreeIntoNewTree(startNode, destination, rebaseToRoot);
2266}
2267
2268void VoxelSystem::copyFromTreeIntoSubTree(VoxelTree* sourceTree, VoxelTreeElement* destinationNode) {
2269 _tree->copyFromTreeIntoSubTree(sourceTree, destinationNode);
2270}
2271
2272void VoxelSystem::recurseTreeWithOperation(RecurseOctreeOperation operation, void* extraData) {
2273 _tree->recurseTreeWithOperation(operation, extraData);
2274}
2275
2276void VoxelSystem::nodeAdded(SharedNodePointer node) {2259void 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());

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t