--- a/src/document.h Thu Dec 19 00:59:49 2013 +0200 +++ b/src/document.h Thu Dec 19 01:06:34 2013 +0200 @@ -80,6 +80,7 @@ int getObjectCount() const; LDObject* getObject (int pos) const; bool save (str path = ""); // Saves this file to disk. + void swapObjects (LDObject* one, LDObject* other); bool isSafeToClose(); // Perform safety checks. Do this before closing any files! void setObject (int idx, LDObject* obj);