[Igarden-commit] Garden/source/PlanTool PlanView.cpp, 1.47.2.16, 1.47.2.17
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-31 01:33:41
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19783/source/PlanTool Modified Files: Tag: Release_branch_v1 PlanView.cpp Log Message: Stop making SVG line widths depend upon scales Index: PlanView.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanView.cpp,v retrieving revision 1.47.2.16 retrieving revision 1.47.2.17 diff -C2 -d -r1.47.2.16 -r1.47.2.17 *** PlanView.cpp 23 May 2008 13:05:34 -0000 1.47.2.16 --- PlanView.cpp 31 May 2008 01:29:21 -0000 1.47.2.17 *************** *** 1286,1292 **** if(newDefaultScale != _defaultScale) { ! if(newDefaultScale == 10 || newDefaultScale == 12) ! _defaultScale = newDefaultScale; ! else { measureUnits_t units = (measureUnits_t)_prefs->GetInt32Pref(kUnitsPref); --- 1286,1290 ---- if(newDefaultScale != _defaultScale) { ! if(newDefaultScale == 0) { measureUnits_t units = (measureUnits_t)_prefs->GetInt32Pref(kUnitsPref); *************** *** 1298,1301 **** --- 1296,1301 ---- _prefs->SetInt32Pref(kDefaultScalePref, _defaultScale); } + else + _defaultScale = newDefaultScale; RGGLView::SetDefaultScale(newDefaultScale); |