diff -r 12958f987bcf -r 462d39502273 vymmodel.cpp --- a/vymmodel.cpp Wed Jul 16 10:46:14 2008 +0000 +++ b/vymmodel.cpp Wed Jul 16 11:56:44 2008 +0000 @@ -1421,10 +1421,6 @@ return NULL; } -void VymModel::removeSelection() -{ -} - QString VymModel::saveToDir (const QString &tmpdir,const QString &prefix, int verbose, const QPointF &offset) { QString s; @@ -2134,6 +2130,11 @@ } if (bo && selection.type()==Selection::Branch) { + //FIXME need to check if any animObj is part of Branch, remove from animated obj list then + + // missing!!!! + + BranchObj* par=(BranchObj*)bo->getParObj(); selection.unselect(); saveStateRemovingPart (bo, QString ("Delete %1").arg(getObjectName(bo))); @@ -4063,6 +4064,13 @@ } } +void VymModel::stopAnimation (MapObj *mo) +{ + int i=animObjList.indexOf(mo); + if (i>=0) + animObjList.removeAt (i); +} + void VymModel::sendSelection() { if (netstate!=Server) return;