[Igarden-commit] Garden/source/PlanTool PlanMoveAction.cpp, 1.9, 1.9.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 17:43:34
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17442 Modified Files: Tag: Release_branch_v1 PlanMoveAction.cpp Log Message: BUG: undo /redo resize of title fails Index: PlanMoveAction.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanMoveAction.cpp,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** PlanMoveAction.cpp 27 Oct 2005 00:33:09 -0000 1.9 --- PlanMoveAction.cpp 20 Jan 2007 17:43:31 -0000 1.9.2.1 *************** *** 112,117 **** Element *elem; planPoint_t newpos; - PathElement *pathElem; - Path *path; short n, count; pointDelta_t delta; --- 112,115 ---- *************** *** 136,142 **** elem = _elements[0]; elem->RefreshElement(_view); - pathElem = dynamic_cast<PathElement*>(elem); - MyAssert(pathElem != NULL); - path = pathElem->GetPath(); /***/ count = _pointDeltas.Length(); --- 134,137 ---- *************** *** 144,148 **** { delta = _pointDeltas[n]; ! newpos = path->GetIndexedAnchorPoint(delta.index); newpos.xOffset += delta.deltaX; newpos.yOffset += delta.deltaY; --- 139,143 ---- { delta = _pointDeltas[n]; ! newpos = elem->GetIndexedAnchorPoint(delta.index); newpos.xOffset += delta.deltaX; newpos.yOffset += delta.deltaY; |