Showing the changes to interface/src/scripting/ClipboardScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -100,3 +100,16 @@ void ClipboardScriptingInterface::nudgeVoxel(float x, float y, float z, float s, · 99 unmodified lines | |||
| 100 | 100 | ||
| 101 | Application::getInstance()->nudgeVoxelsByVector(sourceVoxel, nudgeVecInTreeSpace); | 101 | Application::getInstance()->nudgeVoxelsByVector(sourceVoxel, nudgeVecInTreeSpace); |
| 102 | } | 102 | } |
| 103 | |||
| 104 | |||
| 105 | void ClipboardScriptingInterface::exportModels(const QString& filename, float x, float y, float z, float s) { | ||
| 106 | Application::getInstance()->exportModels(filename, x / TREE_SCALE, y / TREE_SCALE, z / TREE_SCALE, s / TREE_SCALE); | ||
| 107 | } | ||
| 108 | |||
| 109 | void ClipboardScriptingInterface::importModels(const QString& filename) { | ||
| 110 | Application::getInstance()->importModels(filename); | ||
| 111 | } | ||
| 112 | |||
| 113 | void ClipboardScriptingInterface::pasteModels() { | ||
| 114 | // TODO | ||
| 115 | } | ||