diff --git a/interface/src/ClipboardScriptingInterface.cpp b/interface/src/ClipboardScriptingInterface.cpp index 5c68de5cf7..c99c55db4d 100644 --- a/interface/src/ClipboardScriptingInterface.cpp +++ b/interface/src/ClipboardScriptingInterface.cpp @@ -92,23 +92,4 @@ void ClipboardScriptingInterface::nudgeVoxel(float x, float y, float z, float s, s / (float)TREE_SCALE }; Application::getInstance()->nudgeVoxelsByVector(sourceVoxel, nudgeVecInTreeSpace); -} - -void ClipboardScriptingInterface::copyTo(float x, float y, float z, float s, - const QString source, const QString destination) { - StrongVoxelTreePointer sourceTree = LocalVoxelsList::getInstance()->getTree(source); - StrongVoxelTreePointer destinationTree = LocalVoxelsList::getInstance()->getTree(destination); - - VoxelTreeElement* destinationNode = destinationTree->getVoxelAt(x, y, z, s); - destinationTree->copyFromTreeIntoSubTree(sourceTree.data(), destinationNode); - -} - -void ClipboardScriptingInterface::pasteFrom(float x, float y, float z, float s, - const QString source, const QString destination) { - StrongVoxelTreePointer sourceTree = LocalVoxelsList::getInstance()->getTree(source); - StrongVoxelTreePointer destinationTree = LocalVoxelsList::getInstance()->getTree(destination); - - VoxelTreeElement* sourceNode = sourceTree->getVoxelAt(x, y, z, s); - destinationTree->copySubTreeIntoNewTree(sourceNode, destinationTree.data(), true); } \ No newline at end of file diff --git a/interface/src/ClipboardScriptingInterface.h b/interface/src/ClipboardScriptingInterface.h index 1e18970983..99747f56f6 100644 --- a/interface/src/ClipboardScriptingInterface.h +++ b/interface/src/ClipboardScriptingInterface.h @@ -38,9 +38,6 @@ public slots: void nudgeVoxel(const VoxelDetail& sourceVoxel, const glm::vec3& nudgeVec); void nudgeVoxel(float x, float y, float z, float s, const glm::vec3& nudgeVec); - - void copyTo(float x, float y, float z, float s, const QString source, const QString destination); - void pasteFrom(float x, float y, float z, float s, const QString source, const QString destination); }; #endif // __interface__Clipboard__