mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
Add Clipboard.exportEntities that takes a list of entity IDs
This commit is contained in:
parent
2c68d56059
commit
a922619ebc
2 changed files with 5 additions and 0 deletions
|
@ -324,6 +324,7 @@ public slots:
|
|||
void packetSent(quint64 length);
|
||||
|
||||
void pasteEntities(float x, float y, float z);
|
||||
bool exportEntities(const QString& filename, const QStringList& entityIDs);
|
||||
bool exportEntities(const QString& filename, float x, float y, float z, float scale);
|
||||
bool importEntities(const QString& filename);
|
||||
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
ClipboardScriptingInterface::ClipboardScriptingInterface() {
|
||||
}
|
||||
|
||||
bool ClipboardScriptingInterface::exportEntities(const QString& filename, QStringList entityIDs) {
|
||||
return Application::getInstance()->exportEntities(filename, entityIDs);
|
||||
}
|
||||
|
||||
bool ClipboardScriptingInterface::exportEntities(const QString& filename, float x, float y, float z, float s) {
|
||||
return Application::getInstance()->exportEntities(filename, x, y, z, s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue