Showing the changes to interface/src/scripting/ClipboardScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -46,6 +46,15 @@ bool ClipboardScriptingInterface::exportEntities(const QString& filename, float · 45 unmodified lines | |||
| 46 | return retVal; | 46 | return retVal; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | bool ClipboardScriptingInterface::exportWorldEntities(const QString& filename, const QVector<QString>& propertiesToPrune) { | ||
| 50 | bool retVal; | ||
| 51 | BLOCKING_INVOKE_METHOD(qApp, "exportWorldEntities", | ||
| 52 | Q_RETURN_ARG(bool, retVal), | ||
| 53 | Q_ARG(const QString&, filename), | ||
| 54 | Q_ARG(const QVector<QString>&, propertiesToPrune)); | ||
| 55 | return retVal; | ||
| 56 | } | ||
| 57 | |||
| 49 | bool ClipboardScriptingInterface::importEntities( | 58 | bool ClipboardScriptingInterface::importEntities( |
| 50 | const QString& filename, | 59 | const QString& filename, |
| 51 | const bool isObservable, | 60 | const bool isObservable, |