3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 13:35:28 +02:00

Add FIXME for Clipboard.importEntities()

This commit is contained in:
David Rowe 2020-02-07 11:12:54 +13:00
parent 166c7809a9
commit 7c87f89712

View file

@ -5517,6 +5517,8 @@ bool Application::importEntities(const QString& urlOrFilename, const bool isObse
_entityClipboard->withWriteLock([&] {
_entityClipboard->eraseAllOctreeElements();
// FIXME: readFromURL() can take over the main event loop which may cause problems, especially if downloading the JSON
// from the Web.
success = _entityClipboard->readFromURL(urlOrFilename, isObservable, callerId);
if (success) {
_entityClipboard->reaverageOctreeElements();