History

Changed name of copySubTreeIntoNewTree destinationTree argument

atlante45 committed 13 years ago

Commit bda6e031 parent 9003a7d1 file · +5 −5Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+5−5
@@ -1312,13 +1312,13 @@ void VoxelSystem::createSphere(float r,float xc, float yc, float zc, float s, bo · 1311 unmodified lines
13121312 setupNewVoxelsForDrawing();
13131313 };
13141314
1315−void VoxelSystem::copySubTreeIntoNewTree(VoxelNode* startNode, VoxelSystem* destinationTree, bool rebaseToRoot) {
1316− _tree->copySubTreeIntoNewTree(startNode, destinationTree->_tree, rebaseToRoot);
1317− destinationTree->setupNewVoxelsForDrawing();
1315+void VoxelSystem::copySubTreeIntoNewTree(VoxelNode* startNode, VoxelSystem* destination, bool rebaseToRoot) {
1316+ _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot);
1317+ destination->setupNewVoxelsForDrawing();
13181318 }
13191319
1320−void VoxelSystem::copySubTreeIntoNewTree(VoxelNode* startNode, VoxelTree* destinationTree, bool rebaseToRoot) {
1321− _tree->copySubTreeIntoNewTree(startNode, destinationTree, rebaseToRoot);
1320+void VoxelSystem::copySubTreeIntoNewTree(VoxelNode* startNode, VoxelTree* destination, bool rebaseToRoot) {
1321+ _tree->copySubTreeIntoNewTree(startNode, destination, rebaseToRoot);
13221322 }
13231323
13241324 void VoxelSystem::copyFromTreeIntoSubTree(VoxelTree* sourceTree, VoxelNode* destinationNode) {