diff -r 7ea31701156e -r 7f43b93242aa linkablemapobj.cpp --- a/linkablemapobj.cpp Tue Aug 05 07:36:53 2008 +0000 +++ b/linkablemapobj.cpp Mon Oct 06 11:10:20 2008 +0000 @@ -99,6 +99,9 @@ // Reset ID objID=""; + + // Crossreference to treemodel + treeItem=NULL; } void LinkableMapObj::copy (LinkableMapObj* other) @@ -111,6 +114,17 @@ relPos=other->relPos; useOrientation=other->useOrientation; objID=other->objID; + treeItem=other->treeItem; +} + +void LinkableMapObj::setTreeItem (TreeItem *ti) +{ + treeItem=ti; +} + +TreeItem* LinkableMapObj::getTreeItem () +{ + return treeItem; } void LinkableMapObj::setModel (VymModel *vm)