[Igarden-commit] Garden/source/PlanTool PlanView.cpp, 1.47, 1.47.2.1 PlanPaletteView.cpp, 1.5, 1.5.
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2006-11-02 23:41:21
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26572 Modified Files: Tag: Release_branch_v1 PlanView.cpp PlanPaletteView.cpp PlanRuler.cpp Log Message: Add z-axis Index: PlanView.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanView.cpp,v retrieving revision 1.47 retrieving revision 1.47.2.1 diff -C2 -d -r1.47 -r1.47.2.1 *** PlanView.cpp 15 Apr 2006 23:23:55 -0000 1.47 --- PlanView.cpp 2 Nov 2006 23:41:19 -0000 1.47.2.1 *************** *** 1267,1270 **** --- 1267,1271 ---- origin.xOffset = 0; origin.yOffset = 0; + origin.zOffset = 0; SetOrigin(origin); _layout->GetBoundingRect(planRect); Index: PlanPaletteView.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanPaletteView.cpp,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** PlanPaletteView.cpp 13 Jan 2006 23:22:55 -0000 1.5 --- PlanPaletteView.cpp 2 Nov 2006 23:41:19 -0000 1.5.2.1 *************** *** 79,83 **** if(_drawLayout == NULL) { ! planPoint_t center = { 50*18, 50*18 }; Layer* layer; GardenPlot *plot; --- 79,83 ---- if(_drawLayout == NULL) { ! planPoint_t center(50*18, 50*18, 0.0); Layer* layer; GardenPlot *plot; *************** *** 130,133 **** --- 130,134 ---- center.xOffset = (viewSize.h/2.0)*scale; center.yOffset = (viewSize.v/2.0)*scale; + center.zOffset = 0.0; path->ChangeIndexedAnchorPoint(0, center); Index: PlanRuler.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanRuler.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** PlanRuler.cpp 2 Feb 2006 01:21:03 -0000 1.6 --- PlanRuler.cpp 2 Nov 2006 23:41:19 -0000 1.6.2.1 *************** *** 508,511 **** --- 508,512 ---- newOrigin.xOffset = _origin.xOffset - (x); newOrigin.yOffset = _origin.yOffset - (y); + newOrigin.zOffset = 0.0; SetOrigin(newOrigin); |