Showing the changes to interface/src/ClipboardScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -70,8 +70,8 @@ void ClipboardScriptingInterface::exportVoxel(float x, float y, float z, float s · 69 unmodified lines | |||
| 70 | z / (float)TREE_SCALE, | 70 | z / (float)TREE_SCALE, |
| 71 | s / (float)TREE_SCALE }; | 71 | s / (float)TREE_SCALE }; |
| 72 | 72 | ||
| 73 | // TODO: should we be calling invokeMethod() in all these cases? | 73 | QMetaObject::invokeMethod(Application::getInstance(), "exportVoxels", |
| 74 | Application::getInstance()->exportVoxels(sourceVoxel); | 74 | Q_ARG(const VoxelDetail&, sourceVoxel)); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | void ClipboardScriptingInterface::importVoxels() { | 77 | void ClipboardScriptingInterface::importVoxels() { |