mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:53:46 +02:00
Implement pasteModels in Clipboard
This commit is contained in:
parent
7bd1628465
commit
521bf6023e
2 changed files with 4 additions and 4 deletions
|
@ -103,13 +103,13 @@ void ClipboardScriptingInterface::nudgeVoxel(float x, float y, float z, float s,
|
|||
|
||||
|
||||
void ClipboardScriptingInterface::exportModels(const QString& filename, float x, float y, float z, float s) {
|
||||
Application::getInstance()->exportModels(filename, x / TREE_SCALE, y / TREE_SCALE, z / TREE_SCALE, s / TREE_SCALE);
|
||||
Application::getInstance()->exportModels(filename, x / (float)TREE_SCALE, y / (float)TREE_SCALE, z / (float)TREE_SCALE, s / (float)TREE_SCALE);
|
||||
}
|
||||
|
||||
void ClipboardScriptingInterface::importModels(const QString& filename) {
|
||||
Application::getInstance()->importModels(filename);
|
||||
}
|
||||
|
||||
void ClipboardScriptingInterface::pasteModels() {
|
||||
// TODO
|
||||
void ClipboardScriptingInterface::pasteModels(float x, float y, float z, float s) {
|
||||
Application::getInstance()->pasteModels(x, y, z);
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ public slots:
|
|||
|
||||
void importModels(const QString& filename);
|
||||
void exportModels(const QString& filename, float x, float y, float z, float s);
|
||||
void pasteModels();
|
||||
void pasteModels(float x, float y, float z, float s);
|
||||
};
|
||||
|
||||
#endif // hifi_ClipboardScriptingInterface_h
|
||||
|
|
Loading…
Reference in a new issue